Skip to content

Commit

Permalink
chore: minor style tweaks
Browse files Browse the repository at this point in the history
* use same colors as openfeature.dev
* use switch threme toggle
* improve searchability of troubleshooting topic
  • Loading branch information
toddbaert committed Oct 5, 2023
1 parent faa24a6 commit 65e7382
Show file tree
Hide file tree
Showing 3 changed files with 17 additions and 3 deletions.
8 changes: 8 additions & 0 deletions docs/assets/extra.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
/* same trim colors as openfeature.dev */
:root {
--md-primary-fg-color: #5d5dff;
--md-primary-fg-color--light: #5d5dff;
--md-primary-fg-color--dark: #5d5dff;
--md-accent-fg-color: #8d8dff;
--md-accent-fg-color--transparent:rgba(141,141,255,0.1);
}
2 changes: 1 addition & 1 deletion docs/troubleshooting.md
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ Result:

---

## Extra/Duplicate Events in File Syncs
## Extra (Duplicate) Events in File Syncs

When using the file sync, you may notice more events than you'd expect.
This is attributable to nuances in text editors and the OS/filesystem.
Expand Down
10 changes: 8 additions & 2 deletions mkdocs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,15 +6,19 @@ theme:
# Palette toggle for light mode
- media: "(prefers-color-scheme: light)"
scheme: default
primary: custom
accent: custom
toggle:
icon: material/brightness-7
icon: material/toggle-switch-outline
name: Switch to dark mode

# Palette toggle for dark mode
- media: "(prefers-color-scheme: dark)"
scheme: slate
primary: custom
accent: custom
toggle:
icon: material/brightness-4
icon: material/toggle-switch-off
name: Switch to light mode
logo: assets/logo-white.svg
favicon: assets/logo-white.svg
Expand All @@ -27,6 +31,8 @@ theme:
- search.suggest
- search.highlight
- search.share
extra_css:
- assets/extra.css

docs_dir: docs
repo_url: https://github.com/open-feature/flagd
Expand Down

0 comments on commit 65e7382

Please sign in to comment.