Skip to content

Commit fb8b82c

Browse files
committed
more
1 parent a660959 commit fb8b82c

File tree

15 files changed

+37
-48
lines changed

15 files changed

+37
-48
lines changed

apps/svelte.dev/src/lib/components/ScreenToggle.svelte

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,6 @@
3030
height: 1em;
3131
padding: 0.3em 0.4em;
3232
border-radius: var(--sk-border-radius);
33-
line-height: 1em;
3433
box-sizing: content-box;
3534
color: var(--sk-text-3);
3635
border: 1px solid var(--sk-back-3);

apps/svelte.dev/src/routes/(authed)/apps/+page.svelte

Lines changed: 16 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -152,8 +152,7 @@
152152
}
153153
154154
h1 {
155-
font-size: 4rem;
156-
font-weight: 400;
155+
font: var(--sk-font-h1);
157156
}
158157
159158
.user {
@@ -162,16 +161,17 @@
162161
position: relative;
163162
margin: 1rem 0;
164163
color: var(--sk-text-2);
165-
}
166-
167-
.avatar {
168-
position: absolute;
169-
left: 0;
170-
top: 0.1rem;
171-
width: 2.4rem;
172-
height: 2.4rem;
173-
border: 1px solid rgba(0, 0, 0, 0.3);
174-
border-radius: 0.2rem;
164+
font: var(--sk-font-ui-medium);
165+
166+
.avatar {
167+
position: absolute;
168+
left: 0;
169+
top: 0.1rem;
170+
width: 2.4rem;
171+
height: 2.4rem;
172+
border: 1px solid rgba(0, 0, 0, 0.3);
173+
border-radius: var(--sk-border-radius);
174+
}
175175
}
176176
177177
.controls {
@@ -182,7 +182,7 @@
182182
width: 100%;
183183
height: 4rem;
184184
margin: 0 0 2rem 0;
185-
font-size: 1.6rem;
185+
font: var(--sk-font-ui-medium);
186186
z-index: 2;
187187
justify-content: space-between;
188188
outline: 1rem solid var(--sk-back-1);
@@ -204,8 +204,6 @@
204204
205205
.controls input,
206206
.controls button {
207-
font-family: inherit;
208-
font-size: inherit;
209207
}
210208
211209
.controls input[type='search'] {
@@ -218,6 +216,7 @@
218216
border: 1px solid var(--sk-back-5);
219217
border-radius: var(--sk-border-radius);
220218
z-index: 2;
219+
font: var(--sk-font-ui-large);
221220
}
222221
223222
.controls button {
@@ -247,7 +246,7 @@
247246
248247
h2 {
249248
color: var(--sk-text-2);
250-
font-weight: 400;
249+
font: var(--sk-font-ui-medium);
251250
overflow: hidden;
252251
text-overflow: ellipsis;
253252
}
@@ -263,7 +262,7 @@
263262
}
264263
265264
li span {
266-
font-size: 12px;
265+
font: var(--sk-font-ui-small);
267266
color: var(--sk-text-3);
268267
}
269268

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

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -345,7 +345,6 @@ export default app;`
345345
left: 0;
346346
width: 100%;
347347
height: 100%;
348-
font-family: var(--sk-font-family-ui);
349348
}
350349
351350
button,

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

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,7 @@
8282
8383
.description {
8484
position: relative;
85-
font-family: var(--sk-font-family-ui);
85+
font: var(--sk-font-ui-medium);
8686
display: flex;
8787
align-items: center;
8888
bottom: 0.2em;
@@ -93,10 +93,9 @@
9393
line-height: 1;
9494
margin: 0 1em;
9595
text-transform: uppercase;
96-
font: var(--sk-font-ui-small);
9796
background: var(--sk-text-2);
9897
border-radius: var(--sk-border-radius);
99-
font-family: var(--sk-font-family-ui);
98+
font: var(--sk-font-ui-small);
10099
color: var(--sk-back-2);
101100
}
102101
}

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

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -176,13 +176,12 @@
176176
}
177177
178178
video::cue {
179-
font-size: 1.25rem;
180-
line-height: 1.3;
179+
font: var(--sk-font-ui-small);
181180
}
182181
183182
@media (min-width: 600px) {
184183
video::cue {
185-
font-size: 1.75rem;
184+
font: var(--sk-font-ui-medium);
186185
}
187186
}
188187

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

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -68,9 +68,8 @@
6868
<style>
6969
.edit {
7070
position: relative;
71-
font-size: 1.4rem;
7271
margin: 6rem 0 2rem 0;
73-
font-family: var(--sk-font-family-ui);
72+
font: var(--sk-font-ui-small);
7473
7574
a {
7675
text-decoration: none;

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

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,6 @@
2929
max-width: 64rem;
3030
margin: 0 auto;
3131
padding: 8rem 1rem;
32-
font-family: var(--sk-font-family-ui);
3332
}
3433
3534
form {

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

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -71,8 +71,7 @@
7171
border: none;
7272
background-color: var(--sk-back-3);
7373
color: var(--sk-text-1);
74-
font-family: inherit;
75-
font-size: 1.6rem;
74+
font: var(--sk-font-ui-medium);
7675
}
7776
7877
a:focus-visible,

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

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -249,12 +249,11 @@
249249
grid-template-columns: 4rem 1fr;
250250
grid-gap: 1rem;
251251
padding: 1rem 0;
252-
font-size: 1.3rem;
253-
line-height: 2rem;
252+
font: var(--sk-font-mono);
254253
}
255254
256255
.fake * {
257-
font-family: var(--font-mono) !important;
256+
/* font-family: var(--font-mono) !important; */
258257
color: #ccc;
259258
}
260259

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

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -172,8 +172,6 @@
172172
173173
header {
174174
position: relative;
175-
/* z-index: 2; */
176-
font-family: var(--sk-font-family-ui);
177175
178176
display: grid;
179177
grid-template-columns: 4rem minmax(0, 1fr) 4rem;
@@ -270,9 +268,8 @@
270268
271269
.separator {
272270
position: relative;
273-
font-size: 0.8em;
271+
font: var(--sk-font-ui-small);
274272
opacity: 0.3;
275-
top: -0.1rem;
276273
display: inline-block;
277274
}
278275

0 commit comments

Comments
 (0)