Skip to content

Commit f30a0d0

Browse files
committed
Improve styling for docs
1 parent 9cea985 commit f30a0d0

File tree

2 files changed

+19
-8
lines changed

2 files changed

+19
-8
lines changed

website/docusaurus.config.js

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,6 @@ module.exports = {
2828
],
2929
},
3030
footer: {
31-
style: 'dark',
3231
links: [
3332
{
3433
title: 'Docs',

website/src/css/custom.css

Lines changed: 19 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -7,14 +7,26 @@
77

88
/* You can override the default Infima variables here. */
99
:root {
10-
--ifm-color-primary: #3578e5;
11-
--ifm-color-primary-dark: #306cce;
12-
--ifm-color-primary-darker: #2d66c3;
13-
--ifm-color-primary-darkest: #2554a0;
14-
--ifm-color-primary-light: #538ce9;
15-
--ifm-color-primary-lighter: #72a1ed;
16-
--ifm-color-primary-lightest: #9abcf2;
10+
--ifm-color-primary: #33a2e5;
11+
--ifm-color-primary-dark: #1c96e0;
12+
--ifm-color-primary-darker: #1b8ed3;
13+
--ifm-color-primary-darkest: #1675ae;
14+
--ifm-color-primary-light: #4cade8;
15+
--ifm-color-primary-lighter: #58b3ea;
16+
--ifm-color-primary-lightest: #7ec4ee;
1717
--ifm-code-font-size: 95%;
18+
19+
--ifm-footer-background-color: #f1f5f9;
20+
}
21+
22+
html[data-theme='dark'] {
23+
--ifm-background-color: #141619;
24+
--ifm-background-surface-color: #202226;
25+
26+
--ifm-footer-background-color: #202226;
27+
--ifm-footer-color: var(--ifm-footer-link-color);
28+
--ifm-footer-link-color: var(--ifm-color-secondary);
29+
--ifm-footer-title-color: var(--ifm-color-white);
1830
}
1931

2032
.docusaurus-highlight-code-line {

0 commit comments

Comments
 (0)