Skip to content

Commit 571ccd6

Browse files
authored
Yantramanav + Cardo (#122)
* oswald+cardo * overpass+cardo * Yantramanav + Cardo * various * prettier * add a TODO * add web-safe fallbacks * use fontsource for fira mono, remove old font files * prettier
1 parent 2a804a4 commit 571ccd6

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

43 files changed

+94
-77
lines changed

apps/svelte.dev/src/routes/(authed)/playground/[id]/AppControls.svelte

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -288,7 +288,7 @@ export default app;`
288288
padding: 0.2em;
289289
opacity: 0.7;
290290
transition: opacity 0.3s;
291-
font-family: var(--sk-font);
291+
font-family: var(--sk-font-heading);
292292
font-size: 1.6rem;
293293
color: var(--sk-text-1);
294294
line-height: 1;
@@ -310,8 +310,8 @@ export default app;`
310310
background: transparent;
311311
border: none;
312312
color: currentColor;
313-
font-family: var(--sk-font);
314-
font-size: 1.6rem;
313+
font-family: var(--sk-font-heading);
314+
font-size: var(--sk-text-m);
315315
opacity: 0.7;
316316
outline: none;
317317
flex: 1;

apps/svelte.dev/src/routes/(authed)/playground/[id]/UserMenu.svelte

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@
6363
.name {
6464
line-height: 1;
6565
display: none;
66-
font-family: var(--sk-font);
66+
font-family: var(--sk-font-heading);
6767
font-size: 1.6rem;
6868
}
6969
@@ -99,7 +99,7 @@
9999
.menu button,
100100
.menu a {
101101
background-color: transparent;
102-
font-family: var(--sk-font);
102+
font-family: var(--sk-font-body);
103103
font-size: 1.6rem;
104104
opacity: 0.7;
105105
padding: 0.4rem 0;

apps/svelte.dev/src/routes/+error.svelte

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@
6868
background-color: var(--sk-theme-2);
6969
color: white;
7070
padding: 12px 16px;
71-
font: 600 16px/1.7 var(--sk-font);
71+
font: 600 16px/1.7 var(--sk-font-body);
7272
border-radius: 2px;
7373
}
7474
</style>

apps/svelte.dev/src/routes/_home/Hero.svelte

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@
7474
strong {
7575
font-size: var(--sk-text-l);
7676
text-align: center;
77-
font-family: var(--sk-font);
77+
font-family: var(--sk-font-heading);
7878
text-transform: lowercase;
7979
font-weight: 400;
8080
color: var(--sk-text-2);

apps/svelte.dev/src/routes/_home/HeroSvelteKit.svelte

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,7 @@
8282
font-weight: 200;
8383
line-height: 1.2;
8484
color: var(--sk-text-2);
85-
font-family: var(--sk-font);
85+
font-family: var(--sk-font-body);
8686
margin-bottom: 2rem;
8787
/* max-width: 12em; */
8888
/* margin: 0 auto; */

apps/svelte.dev/src/routes/blog/+page.svelte

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -64,6 +64,7 @@
6464
.post:where(:first-child, :nth-child(2))::before {
6565
content: 'Latest post • ' attr(data-pubdate);
6666
color: var(--sk-theme-3);
67+
font-family: var(--sk-font-heading);
6768
font-size: var(--sk-text-xs);
6869
font-weight: 400;
6970
letter-spacing: 0.05em;

apps/svelte.dev/src/routes/docs/[...path]/+page.svelte

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -68,6 +68,7 @@
6868
line-height: 1;
6969
z-index: 2;
7070
margin: 6rem 0 2rem 0;
71+
font-family: var(--sk-font-heading);
7172
7273
a {
7374
text-decoration: none;
@@ -102,9 +103,10 @@
102103
103104
.controls span {
104105
display: block;
105-
font-size: 1.2rem;
106+
font-size: var(--sk-text-s);
106107
text-transform: uppercase;
107-
font-weight: 600;
108+
font-weight: 400;
109+
font-family: var(--sk-font-heading);
108110
color: var(--sk-text-3);
109111
}
110112

apps/svelte.dev/src/routes/docs/[...path]/OnThisPage.svelte

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@
7070
}
7171
7272
label {
73-
text-transform: uppercase;
73+
font-family: var(--sk-font-heading);
7474
display: block;
7575
}
7676
@@ -138,10 +138,9 @@
138138
}
139139
140140
& label {
141-
font-size: var(--sk-text-s);
141+
font-size: var(--sk-text-m);
142142
143-
letter-spacing: 0.1em;
144-
font-weight: 600;
143+
font-weight: 500;
145144
display: block;
146145
147146
&::before {

apps/svelte.dev/src/routes/tutorial/[slug]/Chrome.svelte

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -67,6 +67,7 @@
6767
input {
6868
flex: 1;
6969
padding: 0.5rem 1rem 0.4rem 1rem;
70+
border: none;
7071
background-color: var(--sk-back-3);
7172
color: var(--sk-text-1);
7273
font-family: inherit;

apps/svelte.dev/src/routes/tutorial/[slug]/Loading.svelte

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -134,6 +134,7 @@
134134
justify-content: center;
135135
background: var(--sk-back-2);
136136
user-select: none;
137+
font-family: var(--sk-font-heading);
137138
}
138139
139140
.progress-container {

0 commit comments

Comments
 (0)