Skip to content

Commit f37237f

Browse files
committed
update css colors to better reflect spicecode theme
1 parent 610218c commit f37237f

File tree

1 file changed

+26
-24
lines changed

1 file changed

+26
-24
lines changed

docs/src/css/custom.css

Lines changed: 26 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -1,30 +1,32 @@
1-
/**
2-
* Any CSS included here will be global. The classic template
3-
* bundles Infima by default. Infima is a CSS framework designed to
4-
* work well for content-centric websites.
5-
*/
6-
7-
/* You can override the default Infima variables here. */
81
:root {
9-
--ifm-color-primary: #2e8555;
10-
--ifm-color-primary-dark: #29784c;
11-
--ifm-color-primary-darker: #277148;
12-
--ifm-color-primary-darkest: #205d3b;
13-
--ifm-color-primary-light: #33925d;
14-
--ifm-color-primary-lighter: #359962;
15-
--ifm-color-primary-lightest: #3cad6e;
2+
/* Primary brand colors - Spicy red-orange palette */
3+
--ifm-color-primary: #e65100; /* Deep spice orange */
4+
--ifm-color-primary-dark: #bf360c;
5+
--ifm-color-primary-darker: #a12900;
6+
--ifm-color-primary-darkest: #7f1f00;
7+
--ifm-color-primary-light: #ff6d00;
8+
--ifm-color-primary-lighter: #ff8f00;
9+
--ifm-color-primary-lightest: #ffb300;
10+
1611
--ifm-code-font-size: 95%;
17-
--docusaurus-highlighted-code-line-bg: rgba(0, 0, 0, 0.1);
12+
--docusaurus-highlighted-code-line-bg: rgba(230, 81, 0, 0.1); /* translucent spice */
13+
14+
/* Optional spice-themed accent */
15+
--ifm-link-color: #ff5722;
16+
--ifm-link-hover-color: #ff7043;
1817
}
1918

20-
/* For readability concerns, you should choose a lighter palette in dark mode. */
19+
/* Dark mode variant */
2120
[data-theme='dark'] {
22-
--ifm-color-primary: #25c2a0;
23-
--ifm-color-primary-dark: #21af90;
24-
--ifm-color-primary-darker: #1fa588;
25-
--ifm-color-primary-darkest: #1a8870;
26-
--ifm-color-primary-light: #29d5b0;
27-
--ifm-color-primary-lighter: #32d8b4;
28-
--ifm-color-primary-lightest: #4fddbf;
29-
--docusaurus-highlighted-code-line-bg: rgba(0, 0, 0, 0.3);
21+
--ifm-color-primary: #ff8a50;
22+
--ifm-color-primary-dark: #ff7043;
23+
--ifm-color-primary-darker: #f4511e;
24+
--ifm-color-primary-darkest: #bf360c;
25+
--ifm-color-primary-light: #ffa270;
26+
--ifm-color-primary-lighter: #ffb792;
27+
--ifm-color-primary-lightest: #ffd2b3;
28+
29+
--docusaurus-highlighted-code-line-bg: rgba(255, 138, 80, 0.2);
30+
--ifm-link-color: #ffab91;
31+
--ifm-link-hover-color: #ffccbc;
3032
}

0 commit comments

Comments
 (0)