Skip to content

Commit

Permalink
docs: Implement SDS colors for dark mode
Browse files Browse the repository at this point in the history
  • Loading branch information
melissawm committed Sep 11, 2024
1 parent 721b7db commit d8df880
Showing 1 changed file with 11 additions and 3 deletions.
14 changes: 11 additions & 3 deletions docs/_static/css/custom.css
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
/* Main textual elements */

html, body {
--md-text-font-family: Inter, -apple-system, BlinkMacSystemFont, Segoe UI, Roboto, Helvetica Neue, Helvetica, Arial, sans-serif;
}
Expand All @@ -10,8 +9,17 @@ html, body {
font-family: "Inter";
}

.md-typeset a {
color: rgb(1 66 164);
[data-md-color-scheme="default"] {
--md-primary-fg-color: #1A6CEF;
--md-code-bg-color: #F6F6F6;
--md-code-fg-color: #000000;
}

[data-md-color-scheme="slate"] {
--md-default-bg-color: #101010;
--md-primary-fg-color: #A2C9FF;
--md-code-bg-color: #494949;
--md-code-fg-color: #FFFFFF;
}

/* Header */
Expand Down

0 comments on commit d8df880

Please sign in to comment.