Skip to content

Commit 41edb58

Browse files
committed
colors
1 parent 23cce9e commit 41edb58

3 files changed

Lines changed: 28 additions & 18 deletions

File tree

docs/stylesheets/extra.css

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
[data-md-color-scheme="ot"] {
2+
--md-primary-fg-color: #1f5279;
3+
--md-primary-fg-color--light: #abd0e7;
4+
--md-primary-fg-color--dark: #1f5279;
5+
}

uv.lock

Lines changed: 15 additions & 15 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

zensical.toml

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ site_description = "Standard operation procedures, architectural overviews, and
44
site_author = "Open Targets Team"
55
site_url = "https://opentargets.github.io/technical-knowledge-base/"
66
copyright = "Copyright 2014-2026 EMBL - European Bioinformatics Institute, Genentech, GSK, MSD, Pfizer, Sanofi and Wellcome Sanger Institute"
7-
repo_url = "https://github.com/opentargets/technical-knowledge-base"
7+
repo_url = "https://github.com/opentargets"
88

99
# Zensical supports both implicit navigation and explicitly defined navigation.
1010
# If you decide not to define a navigation here then Zensical will simply
@@ -26,7 +26,7 @@ repo_url = "https://github.com/opentargets/technical-knowledge-base"
2626
#
2727
# Read more: https://zensical.org/docs/customization/#additional-css
2828
#
29-
#extra_css = ["stylesheets/extra.css"]
29+
extra_css = ["stylesheets/extra.css"]
3030

3131
# With the `extra_javascript` option you can add your own JavaScript to your
3232
# project to customize the behavior according to your needs.
@@ -255,7 +255,7 @@ logo = "assets/logo.svg"
255255
# - https://zensical.org/docs/setup/colors/
256256
# ----------------------------------------------------------------------------
257257
[[project.theme.palette]]
258-
scheme = "default"
258+
scheme = "ot"
259259
toggle.icon = "lucide/sun"
260260
toggle.name = "Switch to dark mode"
261261

@@ -264,6 +264,11 @@ scheme = "slate"
264264
toggle.icon = "lucide/moon"
265265
toggle.name = "Switch to light mode"
266266

267+
[[project.theme.palette]]
268+
scheme = "ot"
269+
toggle.icon = "lucide/sun"
270+
toggle.name = "Switch to dark mode"
271+
267272
# ----------------------------------------------------------------------------
268273
# The "extra" section contains miscellaneous settings.
269274
# ----------------------------------------------------------------------------

0 commit comments

Comments
 (0)