diff --git a/src/system-selectors.css b/src/system-selectors.css index db6ae10..956a47c 100644 --- a/src/system-selectors.css +++ b/src/system-selectors.css @@ -318,9 +318,13 @@ } td, th { + vertical-align: top; border: var(--system-stroke-thin) solid var(--system-stroke-color); text-align: start; padding: var(--system-spacing-interactive); + & code { + white-space: nowrap; + } } th { diff --git a/style-api.html b/style-api.html index 5c92153..23b4ec9 100644 --- a/style-api.html +++ b/style-api.html @@ -9,9 +9,6 @@ @@ -167,31 +164,65 @@

Browser Bugs

--system-surface-color - - + +
+color-mix(
+  in oklab,
+  /* light mode */
+  color-mix(
+    in oklab, 
+    var(--system-canvas) 95%, 
+    var(--system-canvas-text)
+  ) var(--system-cs-state), /* <-- toggle dark mode */
+  /* dark mode */
+  color-mix(
+    in oklab, 
+    var(--system-canvas) 85%, 
+    var(--system-canvas-text)
+  )
+)
+ --system-stroke-color - - + + color-mix(in oklab, var(--system-canvas) 55%, var(--system-canvas-text)) + --system-invalid-color - - + + color-mix(in oklab, var(--system-active-text) 90%, var(--system-canvas-text)) + --system-interactive-color - - + var(--system-accent-color) --system-canvas-text-inverted - - + var(--system-canvas) --system-content-color-light - - + + color-mix( in oklab, var(--system-canvas) var(--system-cs-state), + var(--system-canvas-text) ) + --system-content-color-dark - - + + color-mix( in oklab, var(--system-canvas-text) var(--system-cs-state), + var(--system-canvas) ) + @@ -220,7 +251,7 @@

Browser Bugs

--system-font-family-body - Charter, ... , serif + Charter, ... , serif --system-font-family-code @@ -228,19 +259,19 @@

Browser Bugs

--system-font-size - 112.5% => 18px + 112.5% => 18px --system-line-height - 1.5 + 1.5 --system-line-height-compact - 1.2 + 1.2 --system-line-height-display - 1.1 + 1.1 --system-font-size-xxxl @@ -276,39 +307,39 @@

Browser Bugs

--system-font-weight-thin - 100 + 100 --system-font-weight-extralight - 200 + 200 --system-font-weight-light - 300 + 300 --system-font-weight-normal - 400 + 400 --system-font-weight-medium - 500 + 500 --system-font-weight-semibold - 600 + 600 --system-font-weight-bold - 700 + 700 --system-font-weight-extrabold - 800 + 800 --system-font-weight-black - 900 + 900 @@ -459,11 +490,11 @@

Browser Bugs

--system-dimension-min-width - 320px + 320px --system-dimension-content-width - 85ch + 85ch