summaryrefslogtreecommitdiff
path: root/docs/src
diff options
context:
space:
mode:
Diffstat (limited to 'docs/src')
-rw-r--r--docs/src/components/Note.astro3
-rw-r--r--docs/src/components/SiteSidebar.astro2
2 files changed, 1 insertions, 4 deletions
diff --git a/docs/src/components/Note.astro b/docs/src/components/Note.astro
index c3ae29cb4..a9c2ebf51 100644
--- a/docs/src/components/Note.astro
+++ b/docs/src/components/Note.astro
@@ -35,14 +35,11 @@ const { type = 'tip', title } = Astro.props;
.note.type-tip {
--color: var(--color-green);
- --color-rgb: var(--color-green-rgb);
}
.note.type-warning {
--color: var(--color-yellow);
- --color-rgb: var(--color-yellow-rgb);
}
.note.type-error {
--color: var(--color-red);
- --color-rgb: var(--color-red-rgb);
}
</style>
diff --git a/docs/src/components/SiteSidebar.astro b/docs/src/components/SiteSidebar.astro
index ebdf918f5..05779e882 100644
--- a/docs/src/components/SiteSidebar.astro
+++ b/docs/src/components/SiteSidebar.astro
@@ -84,7 +84,7 @@ const {currentPage} = Astro.props;
}
:global(:root.theme-dark) .nav-link a[aria-current="page"] {
- color: var(--color-white);
+ color: hsla(var(--color-base-white), 100%, 1);
}
@media (min-width: 60em) {