Skip to content

Commit 6a80bd8

Browse files
text coloured festim
1 parent 51b6d9f commit 6a80bd8

1 file changed

Lines changed: 22 additions & 0 deletions

File tree

docs/source/_static/style.css

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -56,6 +56,28 @@ code {
5656
padding: 2.5rem 0rem 0.5rem 0rem;
5757
}
5858

59+
/* =============================================================
60+
BRAND COLOUR HEADINGS
61+
============================================================= */
62+
html .festim-section-heading,
63+
html .festim-hero-text h1 {
64+
color: var(--festim-primary);
65+
}
66+
67+
html .festim-feature-card h3 {
68+
color: var(--festim-primary);
69+
}
70+
71+
html .festim-nav-card i {
72+
color: var(--festim-primary);
73+
}
74+
75+
/* Tone it down slightly in dark mode so it stays readable */
76+
html[data-theme="dark"] .festim-section-heading,
77+
html[data-theme="dark"] .festim-hero-text h1,
78+
html[data-theme="dark"] .festim-feature-card h3 {
79+
color: color-mix(in srgb, var(--festim-primary) 85%, #fff);
80+
}
5981

6082
/*
6183
SPHINX-BOOK-THEME HOTFIX (top-right icons):

0 commit comments

Comments
 (0)