Skip to content

Commit

Permalink
feat: update sidebar background color for light mode
Browse files Browse the repository at this point in the history
  • Loading branch information
kevinperaza committed Dec 6, 2022
1 parent a451c00 commit 77efd3e
Showing 1 changed file with 9 additions and 3 deletions.
12 changes: 9 additions & 3 deletions src/css/custom.css
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,8 @@
--bt-heading-font-style: normal;
--bt-heading-letter-spacing: -1px;
--bt-code-font-family: "Source Code Pro";
--bt-sidebar-background-color: #f3f5fd;
--bt-sidebar-border-color: rgba(209, 215, 255, 0.4);
}

/* For readability concerns you should choose a lighter palette in dark mode. */
Expand All @@ -56,9 +58,8 @@
--ifm-color-primary-lightest: #00d5f2;
--docusaurus-highlighted-code-line-bg: rgba(0 0 0 0.3);

--ifm-font-color-base: white;

--ifm-heading-color: white;
--ifm-font-color-base: #fff;
--ifm-heading-color: #fff;
}

h1 {
Expand Down Expand Up @@ -100,3 +101,8 @@ h6 {
code {
font-family: var(--bt-code-font-family);
}

[data-theme="light"] .theme-doc-sidebar-container {
background-color: var(--bt-sidebar-background-color);
border: 1px solid var(--bt-sidebar-border-color);
}

1 comment on commit 77efd3e

@vercel
Copy link

@vercel vercel bot commented on 77efd3e Dec 6, 2022

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.