Skip to content

Commit 76b751b

Browse files
committed
[css-fonts-4] Add some more explanation to font-palette:light|dark
1 parent d62ae0c commit 76b751b

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

css-fonts-4/Overview.bs

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6221,6 +6221,9 @@ Animation type: discrete
62216221

62226222
</dl>
62236223

6224+
Note: The names 'light' and 'dark' describe the <i>background</i> the color palette is usable on,
6225+
not the colors in the color palette themselves.
6226+
62246227
<div class="example">When dark mode is in effect, use a dark mode palette
62256228
<pre>@media (prefers-color-scheme: dark) {
62266229
.banner {font-palette: dark;

0 commit comments

Comments
 (0)