Skip to content

Commit 5e62873

Browse files
committed
more
1 parent 533fff9 commit 5e62873

File tree

2 files changed

+4
-6
lines changed

2 files changed

+4
-6
lines changed

packages/site-kit/src/lib/search/SearchResultList.svelte

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -189,7 +189,6 @@
189189
width: calc(100% + 1rem);
190190
left: -0.5rem;
191191
overflow: hidden;
192-
color: var(--sk-fg-1);
193192
194193
&::before,
195194
&::after {
@@ -227,7 +226,6 @@
227226
:global(mark) {
228227
--highlight-color: rgba(255, 255, 0, 0.4);
229228
background: none;
230-
color: var(--sk-fg-1);
231229
background: var(--highlight-color);
232230
outline: 2px solid var(--highlight-color);
233231
}

packages/site-kit/src/lib/styles/tokens/colours.css

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -9,10 +9,10 @@
99
color-scheme: light;
1010

1111
/* Foreground colours */
12-
--sk-fg-1: hsl(0, 0%, 5%);
13-
--sk-fg-2: hsl(0, 0%, 12%);
14-
--sk-fg-3: hsl(0, 0%, 27%);
15-
--sk-fg-4: hsl(0, 0%, 45%);
12+
--sk-fg-1: hsl(0, 0%, 5%); /* for things that behave as headings, and (very sparingly) as a highlight colour */
13+
--sk-fg-2: hsl(0, 0%, 12%); /* most text should be this colour */
14+
--sk-fg-3: hsl(0, 0%, 27%); /* secondary text (e.g. figcaptions) */
15+
--sk-fg-4: hsl(0, 0%, 45%); /* faded text (disabled buttons, comments etc) */
1616
--sk-fg-accent: hsl(12, 93%, 43%);
1717

1818
/* Background colours */

0 commit comments

Comments
 (0)