Skip to content

Commit

Permalink
update note color in dark mode
Browse files Browse the repository at this point in the history
  • Loading branch information
kalsky committed Mar 6, 2024
1 parent 8b69c32 commit 872baa3
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions src/css/custom.css
Original file line number Diff line number Diff line change
Expand Up @@ -53,10 +53,16 @@
no-repeat;
}

/* change the note admonition background color from the default white */
.theme-admonition-note {
background-color: #ffffcc;
}

[data-theme='dark'] .theme-admonition-note {
background-color: #402f02;
}

/* change the side strip color of the note admonition */
.alert--secondary {
--ifm-alert-border-color: #f0a000;
}

0 comments on commit 872baa3

Please sign in to comment.