From 59f71f5ef34ff2422c262074cb8feeda289b996c Mon Sep 17 00:00:00 2001 From: Carlos Company Date: Sun, 24 Aug 2025 10:35:21 +0200 Subject: [PATCH] fix: improving contrast TOC light theme (#500) --- src/styles/variables.styl | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/styles/variables.styl b/src/styles/variables.styl index fe4b530f..888cac0f 100644 --- a/src/styles/variables.styl +++ b/src/styles/variables.styl @@ -90,8 +90,8 @@ define({ --admonitions-color-warning: oklch(0.7 0.14 60) oklch(0.75 0.14 60) --admonitions-color-caution: oklch(0.6 0.2 25) oklch(0.65 0.2 25) - --toc-badge-bg: oklch(0.9 0.045 var(--hue)) var(--btn-regular-bg) - --toc-btn-hover: oklch(0.92 0.015 var(--hue)) oklch(0.22 0.02 var(--hue)) + --toc-badge-bg: oklch(0.89 0.050 var(--hue)) var(--btn-regular-bg) + --toc-btn-hover: oklch(0.926 0.015 var(--hue)) oklch(0.22 0.02 var(--hue)) --toc-btn-active: oklch(0.90 0.015 var(--hue)) oklch(0.25 0.02 var(--hue)) --toc-width: calc((100vw - var(--page-width)) / 2 - 1rem) --toc-item-active: oklch(0.70 0.13 var(--hue)) oklch(0.35 0.07 var(--hue))