Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 0 additions & 1 deletion apps/svelte.dev/src/lib/components/ScreenToggle.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,6 @@
height: 1em;
padding: 0.3em 0.4em;
border-radius: var(--sk-border-radius);
line-height: 1em;
box-sizing: content-box;
color: var(--sk-text-3);
border: 1px solid var(--sk-back-3);
Expand Down
33 changes: 16 additions & 17 deletions apps/svelte.dev/src/routes/(authed)/apps/+page.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -152,8 +152,7 @@
}

h1 {
font-size: 4rem;
font-weight: 400;
font: var(--sk-font-h1);
}

.user {
Expand All @@ -162,16 +161,17 @@
position: relative;
margin: 1rem 0;
color: var(--sk-text-2);
}

.avatar {
position: absolute;
left: 0;
top: 0.1rem;
width: 2.4rem;
height: 2.4rem;
border: 1px solid rgba(0, 0, 0, 0.3);
border-radius: 0.2rem;
font: var(--sk-font-ui-medium);

.avatar {
position: absolute;
left: 0;
top: 0.1rem;
width: 2.4rem;
height: 2.4rem;
border: 1px solid rgba(0, 0, 0, 0.3);
border-radius: var(--sk-border-radius);
}
}

.controls {
Expand All @@ -182,7 +182,7 @@
width: 100%;
height: 4rem;
margin: 0 0 2rem 0;
font-size: 1.6rem;
font: var(--sk-font-ui-medium);
z-index: 2;
justify-content: space-between;
outline: 1rem solid var(--sk-back-1);
Expand All @@ -204,8 +204,6 @@

.controls input,
.controls button {
font-family: inherit;
font-size: inherit;
}

.controls input[type='search'] {
Expand All @@ -218,6 +216,7 @@
border: 1px solid var(--sk-back-5);
border-radius: var(--sk-border-radius);
z-index: 2;
font: var(--sk-font-ui-large);
}

.controls button {
Expand Down Expand Up @@ -247,7 +246,7 @@

h2 {
color: var(--sk-text-2);
font-weight: 400;
font: var(--sk-font-ui-medium);
overflow: hidden;
text-overflow: ellipsis;
}
Expand All @@ -263,7 +262,7 @@
}

li span {
font-size: 12px;
font: var(--sk-font-ui-small);
color: var(--sk-text-3);
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -345,7 +345,6 @@ export default app;`
left: 0;
width: 100%;
height: 100%;
font-family: var(--sk-font-ui);
}

button,
Expand All @@ -358,8 +357,6 @@ export default app;`

.icon {
position: relative;
font-family: var(--sk-font-ui);
font-size: var(--sk-font-size-ui-small);
color: var(--sk-text-3);
line-height: 1;
background-size: 1.8rem;
Expand Down Expand Up @@ -424,12 +421,11 @@ export default app;`
border: 1px solid var(--sk-back-4);
border-radius: var(--sk-border-radius);
color: currentColor;
font-family: var(--sk-font-ui);
width: 0;
flex: 1;
padding: 0.2rem 0.6rem;
height: 3.2rem;
font-size: var(--sk-font-size-ui-medium);
font: var(--sk-font-ui-medium);
}

.badge {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -36,8 +36,7 @@

.name {
display: none;
font-family: var(--sk-font-ui);
font-size: var(--sk-font-size-ui-medium);
font: var(--sk-font-ui-medium);
}

.name {
Expand Down
5 changes: 0 additions & 5 deletions apps/svelte.dev/src/routes/+error.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -61,11 +61,6 @@
}
}

h1 {
font-size: var(--sk-font-size-h1);
margin: 0 0 0.5em 0;
}

p {
margin: 1em auto;
}
Expand Down
6 changes: 2 additions & 4 deletions apps/svelte.dev/src/routes/_home/Deployment.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -145,8 +145,7 @@
left: 0;
width: 100%;
color: var(--sk-text-3);
font-family: var(--sk-font-ui);
font-size: var(--sk-font-size-ui-medium);
font: var(--sk-font-ui-medium);
}

.globe span::before {
Expand Down Expand Up @@ -181,8 +180,7 @@
}

.platforms a span {
font-family: var(--sk-font-ui);
font-size: var(--sk-font-size-ui-medium);
font: var(--sk-font-ui-medium);
color: var(--sk-text-3);
text-align: center;
}
Expand Down
3 changes: 1 addition & 2 deletions apps/svelte.dev/src/routes/_home/Features.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -64,8 +64,7 @@

.wall {
margin: 0;
font-family: var(--sk-font-ui);
font-size: var(--sk-font-size-ui-small);
font: var(--sk-font-ui-small);
color: var(--sk-text-4);

strong {
Expand Down
3 changes: 1 addition & 2 deletions apps/svelte.dev/src/routes/_home/Hero.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -95,8 +95,7 @@
}

.cta {
font-family: var(--sk-font-ui);
font-size: var(--sk-font-size-ui-medium);
font: var(--sk-font-ui-medium);
color: var(--sk-theme-1);
text-transform: uppercase;
}
Expand Down
2 changes: 1 addition & 1 deletion apps/svelte.dev/src/routes/_home/HeroSvelteKit.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@
}

.hero .tagline {
font-size: var(--sk-font-size-h2);
font: var(--sk-font-h2);
color: var(--sk-text-2);
margin-bottom: 2rem;
}
Expand Down
5 changes: 2 additions & 3 deletions apps/svelte.dev/src/routes/_home/Svelte.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@

.description {
position: relative;
font-family: var(--sk-font-ui);
font: var(--sk-font-ui-medium);
display: flex;
align-items: center;
bottom: 0.2em;
Expand All @@ -93,10 +93,9 @@
line-height: 1;
margin: 0 1em;
text-transform: uppercase;
font-size: var(--sk-font-size-ui-medium);
background: var(--sk-text-2);
border-radius: var(--sk-border-radius);
font-family: var(--sk-font-ui);
font: var(--sk-font-ui-small);
color: var(--sk-back-2);
}
}
Expand Down
7 changes: 3 additions & 4 deletions apps/svelte.dev/src/routes/_home/Video.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -176,13 +176,12 @@
}

video::cue {
font-size: 1.25rem;
line-height: 1.3;
font: var(--sk-font-ui-small);
}

@media (min-width: 600px) {
video::cue {
font-size: 1.75rem;
font: var(--sk-font-ui-medium);
}
}

Expand Down Expand Up @@ -218,7 +217,7 @@
.captions {
line-height: 1;
color: white;
font-size: var(--sk-font-size-ui-medium);
font: var(--sk-font-ui-medium);
filter: var(--control-filter);
}

Expand Down
30 changes: 14 additions & 16 deletions apps/svelte.dev/src/routes/blog/+page.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@
h2 {
display: inline-block;
color: var(--sk-text-2);
font-size: var(--sk-font-size-h3);
font: var(--sk-font-h3);
}

article {
Expand All @@ -87,7 +87,7 @@
padding: 0 0 4rem 0;

h2 {
font-size: var(--sk-font-size-h1);
font: var(--sk-font-h1);
color: var(--sk-text-2);
}
}
Expand All @@ -96,15 +96,14 @@
display: block;
text-decoration: none;
color: var(--sk-text-2);
font-size: var(--sk-font-size-body);

&:hover h2 {
text-decoration: underline;
}
}

p {
font-size: var(--sk-font-size-body-small);
font: var(--sk-font-body-small);
color: var(--sk-text-3);
margin: 0 0 0.5em 0;
}
Expand All @@ -121,15 +120,20 @@
gap: 3em;
}

.featured,
.feed {
&::before {
font: var(--sk-font-ui-medium);
text-transform: uppercase;
color: var(--sk-text-4);
}
}

.featured {
display: block;

&::before {
content: 'Featured posts';
font-family: var(--sk-font-ui);
font-size: var(--sk-font-size-ui-medium);
text-transform: uppercase;
color: var(--sk-text-4);
}

article {
Expand All @@ -138,7 +142,7 @@
}

h2 {
font-size: var(--sk-font-size-h2);
font: var(--sk-font-h2);
}
}
}
Expand All @@ -154,17 +158,11 @@
content: 'Monthly updates';
position: absolute;
top: 0;
font-family: var(--sk-font-ui);
font-size: var(--sk-font-size-ui-medium);
text-transform: uppercase;
color: var(--sk-text-4);
}

a {
display: block;
font-family: var(--sk-font-body);
font-weight: 400;
font-size: var(--sk-font-size-body);
font: var(--sk-font-body);
color: var(--sk-text-2);
}
}
Expand Down
3 changes: 1 addition & 2 deletions apps/svelte.dev/src/routes/blog/Byline.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,7 @@
.byline {
margin: 0 0 4rem 0;
padding: 1rem 0 0 0;
font-family: var(--sk-font-ui);
font-size: var(--sk-font-size-ui-small);
font: var(--sk-font-ui-small);
text-transform: uppercase;
}
</style>
20 changes: 5 additions & 15 deletions apps/svelte.dev/src/routes/blog/[slug]/+page.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -51,8 +51,7 @@

figcaption {
color: var(--sk-text-4);
text-align: left;
font-size: var(--sk-font-size-body-small);
font: var(--sk-font-body-small);
}
}

Expand All @@ -66,20 +65,11 @@
width: 16rem;
z-index: 2;
color: var(--sk-text-4);
font-size: var(--sk-font-size-body-small);
font: var(--sk-font-body-small);

p {
color: var(--sk-text-4);
font-family: var(--sk-font-body);
font-size: var(--sk-font-size-body-small);

&:first-child {
margin-top: 0;
}

&:last-child {
margin-bottom: 0;
}
font: inherit;
}
}

Expand Down Expand Up @@ -120,11 +110,11 @@
}

h1 {
font-size: var(--sk-font-size-h1);
font: var(--sk-font-h1);
}

.standfirst {
font-size: var(--sk-font-size-body-small);
font: var(--sk-font-body-small);
color: var(--sk-text-3);
margin: 0 0 1em 0;
}
Expand Down
Loading
Loading