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:
Fredrik Jonsson 2026-05-28 08:18:04 +02:00 • committed by GitHub
commit 16c47eea9d
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -1,16 +1,7 @@
repos:
- repo: https://github.com/awebdeveloper/pre-commit-stylelint
rev: "0.0.2"
hooks:
- id: stylelint
files: assets/css/.*\.css$
additional_dependencies:
- "stylelint@17.4.0"
- "stylelint-config-standard@40.0.0"
- repo: https://github.com/biomejs/pre-commit
rev: "v2.4.6"
rev: "v2.4.15"
hooks:
- id: biome-check
files: assets/js/.*\.js$
additional_dependencies:
- "@biomejs/biome@2.4.6"
- "@biomejs/biome@2.4.15"