Skip to content

Commit

Permalink
Merge pull request #124 from kubeslice/fix-note-block
Browse files Browse the repository at this point in the history
fix(): note block color in dark mode
  • Loading branch information
that-backend-guy authored Aug 23, 2023
2 parents 8b9f977 + 1a8d730 commit bc3c4bc
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 bc3c4bc

Please sign in to comment.