Adam Argyle
Adam Argyle
```css @function --light-dark(--light, --dark) { result: var(--light); @container style(--theme: dark) { result: var(--dark); } @container style(--theme: system) { @media (prefers-color-scheme: dark) { result: var(--dark); } } } ``` Creating a...
`calc(-1 * var(--size-3))` is annoying to write and unintuitive to read. @felix-bohlin suggested in Discord to use `var(--size-3-)` with a trailing `-` to signify a negative value. thoughts on this...
https://developer.chrome.com/docs/css-ui/animate-to-height-auto/ also add animated details ```css @supports (interpolate-size: allow-keywords) { :root { interpolate-size: allow-keywords; } details { transition: height 0.5s ease; height: 2.5rem; &[open] { height: auto; overflow: clip; /*...
should be using `rch` instead of `ch`