Skip to content
Closed
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
2 changes: 2 additions & 0 deletions apps/svelte.dev/src/app.html
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,8 @@
<link rel="manifest" href="/manifest.json" />
<link rel="icon" type="image/png" href="/favicon.png" />

<link rel="stylesheet" href="https://use.typekit.net/zjn7aji.css" />

<meta name="twitter:site" content="@sveltejs" />
<meta name="twitter:creator" content="@sveltejs" />

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
line-height: 1.35;

span:not(:last-child)::after {
content: ' ';
content: ' / ';
}
}
</style>
Original file line number Diff line number Diff line change
Expand Up @@ -160,7 +160,7 @@
& label {
font-size: var(--sk-text-m);

font-weight: 500;
font-weight: 700;
display: block;

&::before {
Expand Down
2 changes: 1 addition & 1 deletion packages/site-kit/src/lib/docs/DocsContents.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@
padding-bottom: 0.8rem;
font-size: var(--sk-text-m);
font-family: var(--sk-font-heading);
font-weight: 500;
font-weight: 700;
color: var(--sk-text-1);
}

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 @@ -183,7 +183,7 @@ Top navigation bar for the application. It provides a slot for the left side, th
.menu :global(a) {
color: var(--sk-text-2);
line-height: 1;
padding: 0.1rem 0.5rem 0 0.5rem;
padding: 0rem 0.5rem 0 0.5rem;
white-space: nowrap;
height: 100%;
display: flex;
Expand Down
14 changes: 8 additions & 6 deletions packages/site-kit/src/lib/search/Search.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ Renders a search widget which when clicked (or the corresponding keyboard shortc

input {
position: relative;
padding: 0.5em 0.5em 0.4em 2em;
padding: 0.3em 0.5em 0.4em 2em;
border: none;
font-family: inherit;
font-size: 1em;
Expand All @@ -72,17 +72,17 @@ Renders a search widget which when clicked (or the corresponding keyboard shortc
no-repeat 0.6em 55% / 1.2em 1.2em url(../icons/search.svg),
var(--sk-back-4);
color: var(--sk-text-3);

&::placeholder {
text-transform: lowercase;
color: var(--sk-text-3);
}
}

input:focus + .shortcut {
display: none;
}

input::placeholder {
text-transform: lowercase;
color: var(--sk-text-3);
}

.shortcut {
color: var(--sk-text-3);
position: absolute;
Expand All @@ -97,10 +97,12 @@ Renders a search widget which when clicked (or the corresponding keyboard shortc
}

kbd {
position: relative;
display: none;
color: var(--sk-text-3);
font-size: inherit;
font-family: inherit;
top: -0.1rem;
}

@media (min-width: 800px) {
Expand Down
2 changes: 1 addition & 1 deletion 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: 500;
font-weight: 700;
line-height: 1.2;
color: var(--sk-text-1);
}
Expand Down
6 changes: 3 additions & 3 deletions packages/site-kit/src/lib/styles/tokens.css
Original file line number Diff line number Diff line change
Expand Up @@ -22,10 +22,10 @@
--sk-banner-bottom-height: 0px;

/* typography */
--sk-font-ui: 'Yantramanav', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu,
--sk-font-ui: 'freight-sans-pro', -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-body: 'freight-text-pro', 'Big Caslon', Palatino, 'Book Antiqua', Cambria, serif;
--sk-font-heading: 'freight-display-pro', var(--sk-font-body);
--sk-font-mono: 'Fira Mono', monospace;
--sk-text-xxl: 3.6rem;
--sk-text-xl: 3rem;
Expand Down
Loading