Skip to content

Commit 2fe8376

Browse files
committed
more
1 parent e3fb1df commit 2fe8376

File tree

27 files changed

+50
-126
lines changed

27 files changed

+50
-126
lines changed

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

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -247,7 +247,6 @@
247247
248248
h2 {
249249
color: var(--sk-text-2);
250-
font-size: var(--sk-text-s);
251250
font-weight: 400;
252251
overflow: hidden;
253252
text-overflow: ellipsis;

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

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -145,7 +145,8 @@
145145
left: 0;
146146
width: 100%;
147147
color: var(--sk-text-3);
148-
font-size: var(--sk-text-xs);
148+
font-family: var(--sk-font-ui);
149+
font-size: var(--sk-font-size-ui-small);
149150
}
150151
151152
.globe span::before {
@@ -180,7 +181,8 @@
180181
}
181182
182183
.platforms a span {
183-
font-size: var(--sk-text-xs);
184+
font-family: var(--sk-font-ui);
185+
font-size: var(--sk-font-size-ui-small);
184186
color: var(--sk-text-3);
185187
text-align: center;
186188
}

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

Lines changed: 8 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -34,10 +34,7 @@
3434
<strong>Deploy anywhere</strong> with adapters.
3535
</p>
3636

37-
<p>
38-
SvelteKit is the framework that
39-
<strong>grows with you</strong>, whatever you end up building.
40-
</p>
37+
<p>SvelteKit is the framework that grows with you, whatever you end up building.</p>
4138
</div>
4239
</div>
4340
</Section>
@@ -67,18 +64,19 @@
6764
6865
.wall {
6966
margin: 0;
70-
font-size: var(--sk-text-xs);
67+
font-family: var(--sk-font-ui);
68+
font-size: var(--sk-font-size-ui-tiny);
69+
color: var(--sk-text-4);
70+
71+
strong {
72+
color: var(--sk-text-1);
73+
}
7174
}
7275
7376
p + p {
7477
margin-top: 1em;
7578
}
7679
77-
p,
78-
strong {
79-
color: var(--sk-text-3);
80-
}
81-
8280
@media (min-width: 600px) {
8381
h2 {
8482
margin-top: 0.5em;
@@ -109,10 +107,6 @@
109107
margin-top: 0.1em;
110108
}
111109
112-
p {
113-
font-size: var(--sk-text-s);
114-
}
115-
116110
.features {
117111
padding-top: clamp(0px, calc(23.333vw - 210px), 70px);
118112
}

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -93,7 +93,7 @@
9393
gap: 0.1rem;
9494
background: var(--sk-theme-1);
9595
padding: 0.35em 0.8em;
96-
font-size: var(--sk-text-s);
96+
font-family: var(--sk-font-ui);
9797
letter-spacing: 0.05em;
9898
font-weight: 600;
9999
white-space: nowrap;

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

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -39,8 +39,6 @@
3939
h2 {
4040
color: white;
4141
margin-bottom: 1em;
42-
text-transform: uppercase;
43-
font-size: var(--sk-text-s);
4442
text-align: center;
4543
}
4644
@@ -81,7 +79,6 @@
8179
backdrop-filter: blur(3px);
8280
opacity: 0;
8381
transition: opacity 0.2s;
84-
font-size: var(--sk-text-s);
8582
filter: drop-shadow(0 0 0.5rem rgba(0, 0, 0, 0.5));
8683
}
8784

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

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -70,10 +70,6 @@
7070
</Section>
7171

7272
<style>
73-
p {
74-
font-size: var(--sk-text-s);
75-
}
76-
7773
.definition {
7874
display: flex;
7975
align-items: baseline;
@@ -93,12 +89,11 @@
9389
9490
.adjective {
9591
position: relative;
96-
/* top: -0.15em; */
9792
padding: 0.25em 0.5em 0.1em;
9893
line-height: 1;
9994
margin: 0 1em;
10095
text-transform: uppercase;
101-
font-size: var(--sk-text-s);
96+
font-size: var(--sk-font-size-ui-small);
10297
background: var(--sk-text-2);
10398
border-radius: var(--sk-border-radius);
10499
font-family: var(--sk-font-ui);

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@
5454
content: 'Latest post • ' attr(data-pubdate);
5555
color: var(--sk-text-4);
5656
font-family: var(--sk-font-ui);
57-
font-size: var(--sk-text-xs);
57+
font-size: var(--sk-font-size-ui-tiny);
5858
font-weight: 400;
5959
text-transform: uppercase;
6060
}
@@ -84,7 +84,7 @@
8484
}
8585
8686
p {
87-
font-size: var(--sk-text-s);
87+
font-size: var(--sk-font-size-body-small);
8888
color: var(--sk-text-3);
8989
margin: 0;
9090
}

apps/svelte.dev/src/routes/blog/[slug]/+page.svelte

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@
5656
}
5757
5858
.standfirst {
59-
font-size: var(--sk-text-s);
59+
font-size: var(--sk-font-size-body-small);
6060
color: var(--sk-text-3);
6161
margin: 0 0 1em 0;
6262
}
@@ -65,7 +65,7 @@
6565
margin: 0 0 4rem 0;
6666
padding: 1rem 0 0 0;
6767
font-family: var(--sk-font-ui);
68-
font-size: var(--sk-text-xs);
68+
font-size: var(--sk-font-size-ui-tiny);
6969
text-transform: uppercase;
7070
}
7171

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

Lines changed: 2 additions & 32 deletions
Original file line numberDiff line numberDiff line change
@@ -60,15 +60,15 @@
6060
<div>
6161
<h2>Svelte</h2>
6262
<p>Svelte is a compiler-based framework for creating fast and efficient UIs.</p>
63-
<a class="cta basic" href="/docs/svelte">read the docs</a>
63+
<a href="/docs/svelte">read the docs</a>
6464
</div>
6565
<div>
6666
<h2>SvelteKit</h2>
6767
<p>
6868
SvelteKit is a framework for rapidly developing robust, performant web applications using
6969
Svelte
7070
</p>
71-
<a class="cta basic" href="/docs/kit">read the docs</a>
71+
<a href="/docs/kit">read the docs</a>
7272
</div>
7373
</div>
7474

@@ -86,34 +86,4 @@
8686
max-width: 50rem;
8787
}
8888
}
89-
90-
/* Copied from Hero.svelte - if we keep this design, deduplicate */
91-
.cta {
92-
display: flex;
93-
align-items: center;
94-
gap: 0.1rem;
95-
background: var(--sk-theme-1);
96-
padding: 0.35em 0.8em;
97-
font-size: var(--sk-text-s);
98-
letter-spacing: 0.05em;
99-
font-weight: 600;
100-
white-space: nowrap;
101-
border-radius: var(--sk-border-radius);
102-
box-shadow: 0px 6px 14px rgba(0, 0, 0, 0.08);
103-
color: #fff;
104-
transition: 0.5s var(--quint-out);
105-
transition-property: box-shadow, color;
106-
}
107-
108-
.cta:hover {
109-
text-decoration: none;
110-
box-shadow:
111-
0px 0.8px 3.8px rgba(0, 0, 0, 0.115),
112-
0px 6px 30px rgba(0, 0, 0, 0.23);
113-
}
114-
115-
.cta.basic {
116-
background-color: var(--sk-back-5);
117-
color: var(--sk-text-1);
118-
}
11989
</style>

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -108,7 +108,7 @@
108108
109109
.controls span {
110110
display: block;
111-
font-size: var(--sk-text-s);
111+
font-size: var(--sk-font-size-ui);
112112
text-transform: uppercase;
113113
font-weight: 400;
114114
font-family: var(--sk-font-ui);

0 commit comments

Comments
 (0)