Skip to content

Commit

Permalink
styling: adjust code background and border color in darkmode
Browse files Browse the repository at this point in the history
  • Loading branch information
pranabdas committed Nov 2, 2024
1 parent d0257a4 commit 367fe4f
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions src/css/custom.css
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@
--color-orange: #faad00;
--border-color: #d1dce5;
--ifm-code-font-size: 95%;
--ifm-code-border-color: #0000001a;
--ifm-tabs-color: var(--color-black);
--ifm-menu-color-background-hover: rgba(0, 193, 255, 0.15);
--ifm-menu-color-background-active: rgba(0, 193, 255, 0.15);
Expand Down Expand Up @@ -40,6 +41,12 @@ html[data-theme="dark"] {
--ifm-background-surface-color: #161b22;
--ifm-table-row-hover-color: rgba(255, 255, 255, 0.05);
--ifm-toc-border-color: #1e293b;
--ifm-code-background: #292524;
--ifm-code-border-color: #3f3f46;
}

code {
border: .1rem solid var(--ifm-code-border-color);
}

.docusaurus-highlight-code-line {
Expand Down

0 comments on commit 367fe4f

Please sign in to comment.