From 5a247a60570acea0e030bb7f47e9650fdece2f59 Mon Sep 17 00:00:00 2001 From: Daniel Mohns Date: Wed, 28 Feb 2024 17:20:36 +0100 Subject: [PATCH] Custom Header colouring --- src/css/custom.css | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/src/css/custom.css b/src/css/custom.css index 8800ce0..b1dcadf 100644 --- a/src/css/custom.css +++ b/src/css/custom.css @@ -22,6 +22,14 @@ --docusaurus-highlighted-code-line-bg: rgba(0, 0, 0, 0.1); } +h2 { + --ifm-heading-color: var(--ifm-color-secondary); +} + +h3 { + --ifm-heading-color: var(--ifm-color-primary); +} + /* For readability concerns, you should choose a lighter palette in dark mode. */ [data-theme="dark"] { --ifm-color-primary: #ffffff;