docs: Fix a couple contrast issues

This commit is contained in:
Jade Ellis 2025-11-22 20:58:18 +00:00
parent be3c6ebb58
commit c1dc336c65
No known key found for this signature in database
GPG key ID: 8705A2A3EBF77BD2
2 changed files with 9 additions and 3 deletions

View file

@ -5,7 +5,7 @@
--rp-c-brand-lighter: oklch(from var(--rp-c-brand) 0.7818 c h);
--rp-c-brand-dark: oklch(from var(--rp-c-brand) 0.5967 c h);
--rp-c-brand-darker: oklch(from var(--rp-c-brand) 0.5069 c h);
--rp-c-brand-tint: oklch(from var(--rp-c-brand) 0.4 c h);
--rp-c-brand-tint: oklch(from var(--rp-c-brand) 0.4 c h / 0.16);
--name-lightness: 0.45;
--c1: oklch(0.44 0.177 353.06);
@ -64,3 +64,8 @@
img {
display: inline-block
}
/* Override silly colours on code links */
.rp-doc :not(:where(.rp-not-doc, .rp-not-doc *)):where(a > code), .rp-doc :not(:where(.rp-not-doc, .rp-not-doc *)):where(a > code), .rp-doc :not(:where(.rp-not-doc, .rp-not-doc *)):where(a:hover > code) {
color: var(--rp-c-link);
}

View file

@ -1,3 +1,4 @@
import './index.css';
export * from '@rspress/core/theme';
console.log("s")
import './index.css';