From a337bfcb21563d6fb19f96d7bf50a8b400c838a0 Mon Sep 17 00:00:00 2001 From: Erzbir Date: Wed, 12 Nov 2025 16:01:11 +0800 Subject: [PATCH] style: adapt to new version of comment-widget --- src/styles/comment.scss | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) diff --git a/src/styles/comment.scss b/src/styles/comment.scss index c3b8ba8..5431e86 100644 --- a/src/styles/comment.scss +++ b/src/styles/comment.scss @@ -1,4 +1,30 @@ comment-widget { + --halo-cw-base-font-family: var(--font-theme-default) !important; + --halo-cw-base-rounded: var(--radius-theme-default) !important; + --halo-cw-base-font-size: var(--font-theme-size) !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-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-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-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; + --halo-cw-emoji-picker-rgb-input: var(--color-theme-foreground) !important; + --halo-cw-emoji-picker-color-border: var(--color-theme-background) !important; + --halo-cw-emoji-picker-color-border-over: var(--color-theme-background) !important; + + // --halo-cw-avatar-rounded: + // --halo-cw-avatar-size + --halo-comment-widget-base-font-family: var(--font-theme-default) !important; --halo-comment-widget-base-border-radius: var(--radius-theme-default) !important; --halo-comment-widget-base-font-size: var(--font-theme-size) !important;