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
Original file line number Diff line number Diff line change
Expand Up @@ -288,7 +288,7 @@ export default app;`
padding: 0.2em;
opacity: 0.7;
transition: opacity 0.3s;
font-family: var(--sk-font-heading);
font-family: var(--sk-font-ui);
font-size: 1.6rem;
color: var(--sk-text-1);
line-height: 1;
Expand All @@ -310,7 +310,7 @@ export default app;`
background: transparent;
border: none;
color: currentColor;
font-family: var(--sk-font-heading);
font-family: var(--sk-font-ui);
font-size: var(--sk-text-m);
opacity: 0.7;
outline: none;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@
.name {
line-height: 1;
display: none;
font-family: var(--sk-font-heading);
font-family: var(--sk-font-ui);
font-size: 1.6rem;
}

Expand Down
2 changes: 1 addition & 1 deletion apps/svelte.dev/src/routes/blog/[slug]/+page.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@

h1 {
font-size: 4rem;
font-weight: 400;
font-weight: 500;
}

.standfirst {
Expand Down
4 changes: 2 additions & 2 deletions apps/svelte.dev/src/routes/docs/[...path]/+page.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@
line-height: 1;
z-index: 2;
margin: 6rem 0 2rem 0;
font-family: var(--sk-font-heading);
font-family: var(--sk-font-ui);

a {
text-decoration: none;
Expand Down Expand Up @@ -111,7 +111,7 @@
font-size: var(--sk-text-s);
text-transform: uppercase;
font-weight: 400;
font-family: var(--sk-font-heading);
font-family: var(--sk-font-ui);
color: var(--sk-text-3);
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@

<style>
.breadcrumbs {
font-family: var(--sk-font-heading);
font-family: var(--sk-font-ui);
font-size: var(--sk-text-xs);
color: var(--sk-text-4);
text-transform: uppercase;
Expand Down
2 changes: 1 addition & 1 deletion apps/svelte.dev/src/routes/tutorial/[slug]/Loading.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -134,7 +134,7 @@
justify-content: center;
background: var(--sk-back-2);
user-select: none;
font-family: var(--sk-font-heading);
font-family: var(--sk-font-ui);
}

.progress-container {
Expand Down
2 changes: 1 addition & 1 deletion apps/svelte.dev/src/routes/tutorial/[slug]/Sidebar.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -197,7 +197,7 @@

footer .edit {
color: var(--sk-text-2);
font-family: var(--sk-font-heading);
font-family: var(--sk-font-ui);
font-size: var(--sk-text-s);
padding: 0 0 0 1.4em;
background: url($lib/icons/file-edit.svg) no-repeat 0 calc(50% - 0.1em);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -119,7 +119,7 @@
background-size: 1.2rem 1.2rem;
background-position: 0 45%;
background-repeat: no-repeat;
font-family: var(--sk-font-heading);
font-family: var(--sk-font-ui);
font-size: var(--sk-text-s);
}

Expand Down
2 changes: 1 addition & 1 deletion packages/repl/src/lib/Input/ComponentSelector.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -304,7 +304,7 @@
.add-new {
position: relative;
display: inline-block;
font: 300 var(--sk-text-s) / 1.8rem var(--sk-font-heading);
font: 300 var(--sk-text-s) / 1.8rem var(--sk-font-ui);
background: var(--sk-back-1);
border: none;
border-bottom: 3px solid transparent;
Expand Down
2 changes: 1 addition & 1 deletion packages/repl/src/lib/Output/Output.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,7 @@
background: var(--sk-back-1, white);
text-align: left;
position: relative;
font: 300 var(--sk-text-s) / 1.8rem var(--sk-font-heading);
font: 300 var(--sk-text-s) / 1.8rem var(--sk-font-ui);
border: none;
border-bottom: 3px solid transparent;
padding: 12px 12px 8px 12px;
Expand Down
2 changes: 1 addition & 1 deletion packages/repl/src/lib/Output/PaneWithPanel.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@
}

.panel-heading {
font: 400 var(--sk-text-s) / 1.8rem var(--sk-font-heading);
font: 400 var(--sk-text-s) / 1.8rem var(--sk-font-ui);
text-transform: uppercase;
color: var(--sk-text-1, #333);
flex: 1;
Expand Down
2 changes: 1 addition & 1 deletion packages/repl/src/lib/Output/Viewer.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -301,7 +301,7 @@
button {
color: var(--sk-text-2, #999);
font-size: var(--sk-text-s);
font-family: var(--sk-font-heading);
font-family: var(--sk-font-ui);
text-transform: uppercase;
display: block;
}
Expand Down
2 changes: 1 addition & 1 deletion packages/site-kit/src/lib/nav/Nav.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -146,7 +146,7 @@ Top navigation bar for the application. It provides a slot for the left side, th
transition: 0.4s var(--quint-out);
transition-property: transform, background;
isolation: isolate;
font-family: var(--sk-font-heading);
font-family: var(--sk-font-ui);
}

nav::after {
Expand Down
4 changes: 2 additions & 2 deletions packages/site-kit/src/lib/styles/base.css
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ h1 {
:where(h1, h2, h3, h4, h5, h6) {
position: relative;
font-family: var(--sk-font-heading);
font-weight: 400;
font-weight: 500;
line-height: 1.35;
color: var(--sk-text-1);
}
Expand Down Expand Up @@ -147,7 +147,7 @@ blockquote :last-child {

/* buttons -------------------------------- */
button {
font-family: var(--sk-font-heading);
font-family: var(--sk-font-ui);
font-size: inherit;
background-color: transparent;
border: none;
Expand Down
1 change: 1 addition & 0 deletions packages/site-kit/src/lib/styles/index.css
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
@import '@fontsource/eb-garamond';
@import '@fontsource/eb-garamond/500.css';
@import '@fontsource/eb-garamond/400-italic.css';
@import '@fontsource/fira-mono';

Expand Down
5 changes: 3 additions & 2 deletions packages/site-kit/src/lib/styles/tokens.css
Original file line number Diff line number Diff line change
Expand Up @@ -22,9 +22,10 @@
--sk-banner-bottom-height: 0px;

/* typography */
--sk-font-heading: 'Yantramanav', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen,
Ubuntu, Cantarell, 'Fira Sans', 'Droid Sans', 'Helvetica Neue', sans-serif;
--sk-font-ui: 'Yantramanav', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu,
Cantarell, 'Fira Sans', 'Droid Sans', 'Helvetica Neue', sans-serif;
--sk-font-body: 'EB Garamond', 'Big Caslon', Palatino, 'Book Antiqua', Cambria, serif;
--sk-font-heading: var(--sk-font-body);
--sk-font-mono: 'Fira Mono', monospace;
--sk-text-xxl: 3.6rem;
--sk-text-xl: 3rem;
Expand Down
Loading