diff --git a/docs/source/_static/luadoc.css b/docs/source/_static/luadoc.css index a8e1dffc75..b2efec85b4 100644 --- a/docs/source/_static/luadoc.css +++ b/docs/source/_static/luadoc.css @@ -62,8 +62,8 @@ } #content #luadoc dl.function dt:not(.sig):first-child { - border-bottom: 2px solid hsl(163.24deg 81.3% 74.1% / 30%); - background-color: hsl(155.69deg 27.84% 54.99% / 12%); + border-bottom: 2px solid hsl(var(--muted) / 50%); + background-color: hsl(var(--muted)); padding: 6px; } @@ -73,8 +73,8 @@ @media (prefers-color-scheme: dark) { #content #luadoc dl.function dt:not(.sig):first-child { - border-bottom: 2px solid hsl(163.24deg 81.3% 74.1% / 20%); - background-color: hsl(155.69deg 27.84% 54.99% / 8%); + border-bottom: 2px solid hsl(var(--accent) / 50%); + background-color: hsl(var(--accent)); } } diff --git a/docs/source/_static/theme-override.css b/docs/source/_static/theme-override.css index 6cfa96c0d0..9a1f103240 100644 --- a/docs/source/_static/theme-override.css +++ b/docs/source/_static/theme-override.css @@ -29,7 +29,13 @@ /* Less aggressive dark background */ @media (prefers-color-scheme: dark) { :root { - --background: 220 20% 7% !important; + /* These were not overriding without important when deploying to RTD */ + --background: 220 14% 9% !important; + --border: 216 14% 17% !important; + --accent: 216 14% 17% !important; + --input: 216 14% 17% !important; + --muted: 223 27% 14% !important; + --link: #ffffff; --link-hover: #ffffff; }