From f0e1d26243eb685f62780a727ea2aab0a7761ec2 Mon Sep 17 00:00:00 2001 From: Nabil Freij Date: Fri, 5 Jul 2024 13:24:13 -0700 Subject: [PATCH] point to another var --- .pre-commit-config.yaml | 4 ++-- .../theme/sunpy/static/sunpy_style.css | 17 +++++++++++++++++ 2 files changed, 19 insertions(+), 2 deletions(-) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 79fbb5be..33c9bbb5 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -3,7 +3,7 @@ ci: autoupdate_schedule: "quarterly" repos: - repo: https://github.com/astral-sh/ruff-pre-commit - rev: "v0.5.0" + rev: "v0.5.1" hooks: - id: ruff args: ["--fix", "--unsafe-fixes"] @@ -42,6 +42,6 @@ repos: args: ["--fix=lf"] - id: trailing-whitespace - repo: https://github.com/crate-ci/typos - rev: v1.22.9 + rev: v1.23.1 hooks: - id: typos diff --git a/src/sunpy_sphinx_theme/theme/sunpy/static/sunpy_style.css b/src/sunpy_sphinx_theme/theme/sunpy/static/sunpy_style.css index 11643cfa..06b3c59a 100644 --- a/src/sunpy_sphinx_theme/theme/sunpy/static/sunpy_style.css +++ b/src/sunpy_sphinx_theme/theme/sunpy/static/sunpy_style.css @@ -194,6 +194,18 @@ html[data-theme="dark"] div.graphviz > object.inheritance { padding-left: 0.6rem; } +.bd-header ul.navbar-nav > li.nav-item.dropdown > .dropdown-toggle { + color: var(--sst-header-text); +} + +.bd-header ul.navbar-nav > li.nav-item.dropdown > .dropdown-toggle:hover { + color: var(--sst-accent-color-bright); +} + +.bd-header ul.navbar-nav > li.nav-item > .nav-link { + color: var(--sst-header-text); +} + .bd-header .navbar-nav li a.nav-link { color: var(--sst-header-text); } @@ -210,6 +222,11 @@ html[data-theme="dark"] div.graphviz > object.inheritance { .search-button { color: var(--sst-header-text); } + +.search-button-field .search-button__default-text { + color: var(--sst-header-text); +} + .search-button:hover { color: var(--sst-accent-color-bright); }