Skip to content

Commit dcd85c5

Browse files
committed
fix: all references to "Slanted" to now use "Oblique"
1 parent 76e4d97 commit dcd85c5

File tree

4 files changed

+17
-17
lines changed

4 files changed

+17
-17
lines changed

README.md

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -38,12 +38,12 @@ Copy the below snippet into your CSS file:
3838
font-display: swap;
3939
}
4040

41-
/* Slanted variant - used for italic/oblique text */
41+
/* Oblique variant - used for italic/oblique text */
4242
@font-face {
4343
font-family: 'ServerMono';
44-
src: url('/fonts/ServerMono-RegularSlanted.woff2') format('woff2'),
45-
url('/fonts/ServerMono-RegularSlanted.woff') format('woff'),
46-
url('/fonts/ServerMono-RegularSlanted.otf') format('opentype');
44+
src: url('/fonts/ServerMono-RegularOblique.woff2') format('woff2'),
45+
url('/fonts/ServerMono-RegularOblique.woff') format('woff'),
46+
url('/fonts/ServerMono-RegularOblique.otf') format('opentype');
4747
font-weight: normal;
4848
font-style: oblique;
4949
font-display: swap;
@@ -75,12 +75,12 @@ Or you can copy the below snippet into your CSS file:
7575
font-display: swap;
7676
}
7777

78-
/* Slanted variant - used for italic/oblique text */
78+
/* Oblique variant - used for italic/oblique text */
7979
@font-face {
8080
font-family: 'ServerMono';
81-
src: url('https://cdn.jsdelivr.net/gh/internet-development/www-server-mono@latest/public/fonts/ServerMono-RegularSlanted.woff2') format('woff2'),
82-
url('https://cdn.jsdelivr.net/gh/internet-development/www-server-mono@latest/public/fonts/ServerMono-RegularSlanted.woff') format('woff'),
83-
url('https://cdn.jsdelivr.net/gh/internet-development/www-server-mono@latest/public/fonts/ServerMono-RegularSlanted.otf') format('opentype');
81+
src: url('https://cdn.jsdelivr.net/gh/internet-development/www-server-mono@latest/public/fonts/ServerMono-RegularOblique.woff2') format('woff2'),
82+
url('https://cdn.jsdelivr.net/gh/internet-development/www-server-mono@latest/public/fonts/ServerMono-RegularOblique.woff') format('woff'),
83+
url('https://cdn.jsdelivr.net/gh/internet-development/www-server-mono@latest/public/fonts/ServerMono-RegularOblique.otf') format('opentype');
8484
font-weight: normal;
8585
font-style: oblique;
8686
font-display: swap;
@@ -97,7 +97,7 @@ Then you can use it across your entire site like so:
9797
}
9898
```
9999

100-
To use the slanted version, set the font style to either `oblique` or `italic`:
100+
To use the oblique version, set the font style to either `oblique` or `italic`:
101101

102102
```css
103103
p {

components/MarketingServerMono.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -94,7 +94,7 @@ export default function MarketingServerMono(props) {
9494
</P>
9595
</div>
9696
<div className={styles.right}>
97-
<Title style={{}}>Regular Slanted</Title>
97+
<Title style={{}}>Regular Oblique</Title>
9898
<P style={{ marginTop: `1rem`, fontStyle: 'oblique' }}>
9999
Mi sina alta mappa ëa, lómëa coivië, lómëa lúmë, á tyelë, á auta mi i sáma lómë, liëa olassëar ar ilyë lúmët elenaië.
100100
<br />

global.scss

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,9 +9,9 @@
99

1010
@font-face {
1111
font-family: 'ServerMono';
12-
src: url('/fonts/ServerMono-RegularSlanted.woff2') format('woff2'),
13-
url('/fonts/ServerMono-RegularSlanted.woff') format('woff'),
14-
url('/fonts/ServerMono-RegularSlanted.otf') format('opentype');
12+
src: url('/fonts/ServerMono-RegularOblique.woff2') format('woff2'),
13+
url('/fonts/ServerMono-RegularOblique.woff') format('woff'),
14+
url('/fonts/ServerMono-RegularOblique.otf') format('opentype');
1515
font-weight: normal;
1616
font-style: oblique;
1717
}

server-mono.css

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -9,12 +9,12 @@
99
font-display: swap;
1010
}
1111

12-
/* Slanted variant - used for italic/oblique text */
12+
/* Oblique variant - used for italic/oblique text */
1313
@font-face {
1414
font-family: 'ServerMono';
15-
src: url('https://cdn.jsdelivr.net/gh/internet-development/www-server-mono@latest/public/fonts/ServerMono-RegularSlanted.woff2') format('woff2'),
16-
url('https://cdn.jsdelivr.net/gh/internet-development/www-server-mono@latest/public/fonts/ServerMono-RegularSlanted.woff') format('woff'),
17-
url('https://cdn.jsdelivr.net/gh/internet-development/www-server-mono@latest/public/fonts/ServerMono-RegularSlanted.otf') format('opentype');
15+
src: url('https://cdn.jsdelivr.net/gh/internet-development/www-server-mono@latest/public/fonts/ServerMono-RegularOblique.woff2') format('woff2'),
16+
url('https://cdn.jsdelivr.net/gh/internet-development/www-server-mono@latest/public/fonts/ServerMono-RegularOblique.woff') format('woff'),
17+
url('https://cdn.jsdelivr.net/gh/internet-development/www-server-mono@latest/public/fonts/ServerMono-RegularOblique.otf') format('opentype');
1818
font-weight: normal;
1919
font-style: oblique;
2020
font-display: swap;

0 commit comments

Comments
 (0)