Skip to content

Commit

Permalink
fix(): note block color in dark mode
Browse files Browse the repository at this point in the history
  • Loading branch information
ranjangautam committed Aug 17, 2023
1 parent 8b9f977 commit 1a8d730
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions src/css/custom.scss
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,8 @@
--ifm-link-color:#0d6efd;
--ifm-link-hover-color:#0a58ca;
--ifm-link-hover-decoration:none;
--ifm-note-color: #e0d4f4;
--ifm-note-border-color: #8d59e9;
}

/* For readability concerns, you should choose a lighter palette in dark mode. */
Expand All @@ -48,6 +50,8 @@
--ifm-link-color:#879cf8;
--ifm-link-hover-color:#afbdfb;
--docusaurus-highlighted-code-line-bg: rgba(0, 0, 0, 0.3);
--ifm-note-color: #452c71;
--ifm-note-border-color: #8d59e9;
}


Expand Down Expand Up @@ -112,8 +116,8 @@
}
}
.admonition.admonition-note {
border-color: #8d59e9 !important;
background-color: #E0D4F4 !important;
border-color: var(--ifm-note-border-color) !important;
background-color: var(--ifm-note-color) !important;
}
}

0 comments on commit 1a8d730

Please sign in to comment.