From 7359a82fb8a514329635ab922c2d8559c5445a81 Mon Sep 17 00:00:00 2001 From: Erzbir Date: Mon, 23 Mar 2026 00:01:07 +0800 Subject: [PATCH] style: improve color for comment --- src/styles/comment.scss | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/src/styles/comment.scss b/src/styles/comment.scss index 08619c0..2cf3d4f 100644 --- a/src/styles/comment.scss +++ b/src/styles/comment.scss @@ -4,17 +4,17 @@ comment-widget { --halo-cw-base-font-size: var(--size-theme-font) !important; --halo-cw-primary-1-color: var(--color-theme-accent) !important; - --halo-cw-primary-2-color: var(--color-theme-accent) !important; - --halo-cw-primary-3-color: var(var(--color-theme-accent) !important) !important; + --halo-cw-primary-2-color: color-mix(in srgb, var(--color-theme-accent) 60%, transparent) !important; + --halo-cw-primary-3-color: color-mix(in srgb, var(--color-theme-accent) 30%, transparent) !important; --halo-cw-text-1-color: var(--color-theme-foreground) !important; - --halo-cw-text-2-color: var(--color-theme-foreground) !important; - --halo-cw-text-3-color: var(--color-theme-foreground) !important; + --halo-cw-text-2-color: color-mix(in srgb, var(--color-theme-foreground) 60%, transparent) !important; + --halo-cw-text-3-color: color-mix(in srgb, var(--color-theme-foreground) 30%, transparent) !important; --halo-cw-muted-1-color: color-mix(in srgb, var(--color-theme-foreground) 65%, transparent) !important; - --halo-cw-muted-2-color: color-mix(in srgb, var(--color-theme-foreground) 65%, transparent) !important; - --halo-cw-muted-3-color: color-mix(in srgb, var(--color-theme-foreground) 65%, transparent) !important; - + --halo-cw-muted-2-color: color-mix(in srgb, var(--color-theme-background) 65%, var(--color-theme-accent)) !important; + --halo-cw-muted-3-color: color-mix(in srgb, var(--color-theme-background) 95%, var(--color-theme-accent)) !important; + --halo-cw-emoji-picker-rgb-color: var(--color-theme-background) !important; --halo-cw-emoji-picker-rgb-accent: var(--color-theme-foreground) !important; --halo-cw-emoji-picker-rgb-background: var(--color-theme-background) !important;