From f4f72a0308242f2be0b9ab5cd0c6b5dabdbfc97e Mon Sep 17 00:00:00 2001 From: Daisuke Sato Date: Tue, 14 Feb 2023 16:38:50 +0900 Subject: [PATCH] Fix color overrides (https://github.com/squidfunk/mkdocs-material/issues/4755) --- docs/css/colors.css | 4 ++-- mkdocs.yml | 2 -- 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/docs/css/colors.css b/docs/css/colors.css index b2d3cbc..7a3d540 100644 --- a/docs/css/colors.css +++ b/docs/css/colors.css @@ -1,8 +1,8 @@ -[data-md-color-scheme="rt-red"] { +:root, [data-md-color-scheme=default] { --md-primary-fg-color: #e50012; --md-primary-fg-color--light: #ECB7B7; --md-primary-fg-color--dark: #90030C; --md-accent-fg-color: #e500129a; --md-footer-bg-color: hsla(0, 0%, 0%, 0.32); --md-footer-bg-color--dark: hsla(0, 0%, 0%, 0.87); -} \ No newline at end of file +} diff --git a/mkdocs.yml b/mkdocs.yml index 0c00f3c..345de07 100644 --- a/mkdocs.yml +++ b/mkdocs.yml @@ -5,8 +5,6 @@ theme: logo: img/rt-logo-32x32.png favicon: https://rt-net.github.io/tutorials/img/rt-logo-32x32.png font: Incosolata - palette: - scheme: rt-red features: - navigation.expand - navigation.tabs