Enforce custom colours when no theme is specified
This commit is contained in:
parent
9220ac6224
commit
c8c99373a3
|
@ -1,6 +1,6 @@
|
||||||
{
|
{
|
||||||
"name": "@fwdekker/template",
|
"name": "@fwdekker/template",
|
||||||
"version": "3.4.0",
|
"version": "3.4.1",
|
||||||
"description": "The base template for pages on fwdekker.com.",
|
"description": "The base template for pages on fwdekker.com.",
|
||||||
"author": "Florine W. Dekker",
|
"author": "Florine W. Dekker",
|
||||||
"license": "MIT",
|
"license": "MIT",
|
||||||
|
|
|
@ -1,5 +1,6 @@
|
||||||
/* pico.css overrides, based on https://picocss.com/docs/customization.html */
|
/* pico.css overrides, based on https://picocss.com/docs/customization.html */
|
||||||
.fwd-nav,
|
.fwd-nav,
|
||||||
|
:root:not([data-theme]),
|
||||||
:root[data-theme="light"] {
|
:root[data-theme="light"] {
|
||||||
--primary: rgb(0, 51, 204) !important;
|
--primary: rgb(0, 51, 204) !important;
|
||||||
--primary-hover: rgb(0, 61, 245) !important;
|
--primary-hover: rgb(0, 61, 245) !important;
|
||||||
|
|
Loading…
Reference in New Issue