Skip to content

Commit

Permalink
Apply Logfire brand colors (#32)
Browse files Browse the repository at this point in the history
  • Loading branch information
Kludex authored Apr 29, 2024
1 parent 5b4988a commit b8a9693
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 6 deletions.
14 changes: 12 additions & 2 deletions docs/extra/tweaks.css
Original file line number Diff line number Diff line change
@@ -1,7 +1,17 @@
/* https://squidfunk.github.io/mkdocs-material/setup/changing-the-colors/#custom-colors */
:root {
--md-primary-fg-color: #1D0214;
--md-primary-fg-color--light: #1D0214;
--md-primary-fg-color--dark: #1D0214;
}

/* Revert hue value to that of pre mkdocs-material v9.4.0 */
[data-md-color-scheme="slate"] {
--md-hue: 230;
--md-default-bg-color: hsla(230, 15%, 21%, 1);
--md-primary-fg-color: #E520E9;
--md-primary-fg-color--light: #E520E9;
--md-primary-fg-color--dark: #E520E9;
}

.custom-login-button {
Expand All @@ -14,10 +24,10 @@
}

/* make David happy - make the padding next to the login button smaller */
.md-header__source {
/* .md-header__source {
width: auto !important;
margin-left: 1rem !important;
}
} */

/* Hide all ToC entries for parameters. */
li.md-nav__item>a[href*="("] {
Expand Down
8 changes: 4 additions & 4 deletions mkdocs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,15 +18,15 @@ theme:
palette:
- media: "(prefers-color-scheme: light)"
scheme: default
primary: pink
accent: pink
primary: custom
accent: custom
toggle:
icon: material/lightbulb-outline
name: "Switch to dark mode"
- media: "(prefers-color-scheme: dark)"
scheme: slate
primary: pink
accent: pink
primary: custom
accent: custom
toggle:
icon: material/lightbulb
name: "Switch to light mode"
Expand Down

0 comments on commit b8a9693

Please sign in to comment.