Using color-scheme and light-dark() to implement dark mode (#154)
* Lint fixes. * Implement light-dark(). * Lint css with biome, remove stylelint. * Biome lint fixes. * Dark mode adjustments. * Style bug fixes. * Colour adjustments. * Move header and footer styles to base. * Site header adjustments. * Removing jQuery and umbrella libs. They where great but not needed anymore. * Add colorScheme to optionally lock light/dark. * Update README. * Biome adjustments.
This commit is contained in:
parent
02f229f2c5
commit
16c47eea9d
1 changed files with 276 additions and 2130 deletions
|
|
@ -1,3 +1,5 @@
|
|||
/* biome-ignore-all format: aligned columns for readability */
|
||||
|
||||
:root {
|
||||
/* Set theme css variables.
|
||||
Override css variables in "assets/css/_custom.css" */
|
||||
|
|
@ -39,8 +41,6 @@
|
|||
monospace) hints at what type of font to use if the web browser doesn't
|
||||
find any of the fonts in the list. */
|
||||
|
||||
/* stylelint-disable value-keyword-case */
|
||||
|
||||
/* Emojis font stack. Add to end of other stacks when needed. */
|
||||
--emojis: 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol', 'Noto Color Emoji';
|
||||
|
||||
|
|
@ -69,7 +69,6 @@
|
|||
|
||||
/* Monospace font stacks. */
|
||||
--ui-monospace: ui-monospace, 'Cascadia Code', 'Source Code Pro', Menlo, Consolas, 'DejaVu Sans Mono', monospace;
|
||||
/* stylelint-enable value-keyword-case */
|
||||
|
||||
/* Font family. */
|
||||
--ff-body: var(--ui-serif);
|
||||
|
|
|
|||
Loading…
Reference in a new issue