Skip to content

Commit c7b48aa

Browse files
committed
feat(docs): updates custom css style closer to platform
1 parent 834c6b8 commit c7b48aa

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

src/css/custom.css

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66

77
/* You can override the default Infima variables here. */
88
:root {
9-
--ifm-color-primary: #be906e;
9+
--ifm-color-primary: #f97316;
1010
--ifm-color-primary-dark: #b58059;
1111
--ifm-color-primary-darker: #b0784f;
1212
--ifm-color-primary-darkest: #916341;
@@ -27,13 +27,15 @@
2727
--ifm-codeblock-background: #f5e6dd;
2828
--ifm-codeblock-border: var(--ifm-color-primary-lightest);
2929
--ifm-prompt-background: #f6eee9;
30+
--ifm-menu-color: #4d4d4d;
3031
--ifm-menu-color-active: #000;
3132
--ifm-menu-color-active-dark: #e3986a;
3233
--ifm-navbar-height: 72px;
3334
--docusaurus-highlighted-code-line-bg: rgba(0, 0, 0, 0.1);
3435
--ifm-font-weight-semibold: 600;
3536
--ifm-navbar-shadow: none;
3637
--ifm-table-border-width: 0;
38+
--ifm-menu-link-sublist-icon: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="16px" height="16px" viewBox="0 0 24 24"><path fill="rgba(0,0,0,0.5)" d="M14.4 13.59H16v-1.536h-1.6v1.536Zm-1.6-1.536h1.6v-1.536h-1.6v1.536Zm-1.6-1.536h1.6V8.982h-1.6v1.536Zm-1.6 1.536h1.6v-1.536H9.6v1.536ZM8 13.59h1.6v-1.536H8v1.536Z"></path></svg>');
3739
}
3840

3941
/* For readability concerns, you should choose a lighter palette in dark mode. */
@@ -88,7 +90,7 @@
8890
}
8991

9092
aside.theme-doc-sidebar-container li.menu-label {
91-
color: hsl(0, 0%, 48%);
93+
color: var(--ifm-menu-color);
9294
font-size: 0.75em;
9395
letter-spacing: 0.1em;
9496
text-transform: uppercase;

0 commit comments

Comments
 (0)