fix(style): 修复选中背景颜色过亮的问题

This commit is contained in:
Ad-closeNN
2026-03-03 18:17:51 +08:00
parent 1374061945
commit 71226be673
3 changed files with 4 additions and 2 deletions
+2 -1
View File
@@ -157,7 +157,8 @@
}
::selection {
background-color: var(--selection-bg)
background-color: var(--selection-bg);
color: inherit;
}
.dash-line {
+1
View File
@@ -119,6 +119,7 @@
::selection {
@apply bg-[var(--codeblock-selection)];
color: inherit;
}
}
+1 -1
View File
@@ -54,7 +54,7 @@ define({
--inline-code-bg: var(--btn-regular-bg)
--inline-code-color: var(--btn-content)
--selection-bg: oklch(0.90 0.05 var(--hue)) oklch(0.40 0.08 var(--hue))
--selection-bg: oklch(0.75 0.08 var(--hue)) oklch(0.40 0.08 var(--hue))
--codeblock-selection: oklch(0.40 0.08 var(--hue))
--codeblock-bg: oklch(0.17 0.015 var(--hue)) oklch(0.17 0.015 var(--hue))
--codeblock-topbar-bg: oklch(0.3 0.02 var(--hue)) oklch(0.12 0.015 var(--hue))