Skip to content

Commit

Permalink
reverting hack
Browse files Browse the repository at this point in the history
  • Loading branch information
Egor Kloos committed Jan 5, 2024
1 parent 60560e3 commit 5639037
Showing 1 changed file with 2 additions and 8 deletions.
10 changes: 2 additions & 8 deletions system.css
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@
ButtonBorder
); /* ButtonBorder is broken in Safari */
--system-button-face: transparent; /* ButtonFace is broken in Safari */
--system-button-text: ButtonText; /* ButtonText is broken in Safari */
--system-button-text: CanvasText; /* ButtonText is broken in Safari */
--system-canvas: Canvas;
--system-canvas-text: CanvasText;
--system-field: Field;
Expand Down Expand Up @@ -134,16 +134,9 @@

/* MODIFIERS ########################################################################## */

@media (prefers-color-scheme: light) {
:root {
--system-cs-is-light: 1; /* OFF */
color-scheme: light;
}
}
@media (prefers-color-scheme: dark) {
:root {
--system-cs-is-light: 0; /* OFF */
color-scheme: dark;
}
}

Expand All @@ -157,6 +150,7 @@
html {
font-family: var(--system-font-family-body);
line-height: var(--system-line-height);
color-scheme: light dark;
}
body {
--viewport-padding: minmax(var(--system-spacing-layout), 1fr);
Expand Down

0 comments on commit 5639037

Please sign in to comment.