2024-02-02 11:39:40 -05:00
|
|
|
/* We're using the "ss05" (stylistic set 5) version of the DM Mono, on the font-feature-settings rule */
|
|
|
|
/* https://developer.mozilla.org/en-US/docs/Web/CSS/font-feature-settings */
|
2024-02-08 09:44:42 -05:00
|
|
|
/* We use the ss05 specifically to remove the "squiggle" below the f letter. */
|
2024-02-02 11:39:40 -05:00
|
|
|
/* You can try removing the `font-feature-settings` rule and check what happens to the letter "f", */
|
|
|
|
/* as it's quite hard to describe it with sentences alone */
|
|
|
|
|
2023-12-04 12:53:26 -05:00
|
|
|
@font-face {
|
|
|
|
font-family: 'DM Mono';
|
2024-02-01 12:06:38 -05:00
|
|
|
font-feature-settings: 'ss05';
|
2023-12-04 12:53:26 -05:00
|
|
|
font-style: normal;
|
|
|
|
font-weight: 400;
|
2024-02-08 09:44:42 -05:00
|
|
|
font-display: fallback;
|
2024-02-07 09:13:01 -05:00
|
|
|
src: url('dm-mono/DMMono-Regular.woff2') format('woff2');
|
2023-12-04 12:53:26 -05:00
|
|
|
}
|
|
|
|
|
|
|
|
@font-face {
|
|
|
|
font-family: 'DM Mono';
|
2024-02-01 12:06:38 -05:00
|
|
|
font-feature-settings: 'ss05';
|
2023-12-04 12:53:26 -05:00
|
|
|
font-style: italic;
|
|
|
|
font-weight: 400;
|
2024-02-08 09:44:42 -05:00
|
|
|
font-display: fallback;
|
2024-02-07 09:13:01 -05:00
|
|
|
src: url('dm-mono/DMMono-Italic.woff2') format('woff2');
|
2023-12-04 12:53:26 -05:00
|
|
|
}
|
|
|
|
|
|
|
|
@font-face {
|
|
|
|
font-family: 'DM Mono';
|
2024-02-01 12:06:38 -05:00
|
|
|
font-feature-settings: 'ss05';
|
2023-12-04 12:53:26 -05:00
|
|
|
font-style: normal;
|
|
|
|
font-weight: 500;
|
2024-02-08 09:44:42 -05:00
|
|
|
font-display: fallback;
|
2024-02-07 09:13:01 -05:00
|
|
|
src: url('dm-mono/DMMono-Medium.woff2') format('woff2');
|
2023-12-04 12:53:26 -05:00
|
|
|
}
|
|
|
|
|
|
|
|
@font-face {
|
|
|
|
font-family: 'DM Mono';
|
2024-02-01 12:06:38 -05:00
|
|
|
font-feature-settings: 'ss05';
|
2023-12-04 12:53:26 -05:00
|
|
|
font-style: italic;
|
|
|
|
font-weight: 500;
|
2024-02-08 09:44:42 -05:00
|
|
|
font-display: fallback;
|
2024-02-07 09:13:01 -05:00
|
|
|
src: url('dm-mono/DMMono-MediumItalic.woff2') format('woff2');
|
2023-12-04 12:53:26 -05:00
|
|
|
}
|