From 76a64eb0723171ea52d8deb76c4b1058f1ddebd5 Mon Sep 17 00:00:00 2001 From: Jason Lee Date: Thu, 24 Jul 2025 16:54:04 +0800 Subject: [PATCH] theme: Fix some theme's scrollbar background color. (#1090) --- crates/story/src/main.rs | 2 +- themes/alduin.json | 2 +- themes/macos-classic.json | 4 ++-- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/crates/story/src/main.rs b/crates/story/src/main.rs index 37799d82..4ce2bb08 100644 --- a/crates/story/src/main.rs +++ b/crates/story/src/main.rs @@ -211,7 +211,7 @@ impl Render for Gallery { ) .child( div() - .bg(cx.theme().secondary) + .bg(cx.theme().sidebar_accent) .px_1() .rounded_full() .flex_1() diff --git a/themes/alduin.json b/themes/alduin.json index 87ff642e..94231e30 100644 --- a/themes/alduin.json +++ b/themes/alduin.json @@ -37,7 +37,7 @@ "primary.background": "#458588", "primary.foreground": "#F0F0F0", "primary.hover.background": "#458588AA", - "scrollbar.background": "#282828", + "scrollbar.background": "#28282833", "scrollbar.thumb.background": "#504945", "secondary.background": "#282828", "secondary.active.background": "#322F2D", diff --git a/themes/macos-classic.json b/themes/macos-classic.json index 29639737..97b6d461 100644 --- a/themes/macos-classic.json +++ b/themes/macos-classic.json @@ -39,7 +39,7 @@ "primary.background": "#0064E1", "primary.foreground": "#FFFFFF", "primary.hover.background": "#2585fa", - "scrollbar.background": "#FFFFFF", + "scrollbar.background": "#FFFFFF33", "scrollbar.thumb.background": "#C8C8C8AA", "secondary.active.background": "#E0E0E0", "secondary.background": "#E9E9E9", @@ -187,7 +187,7 @@ "primary.background": "#A76D3B", "primary.foreground": "#E8E4CF", "primary.hover.background": "#b87841", - "scrollbar.background": "#131313", + "scrollbar.background": "#13131333", "scrollbar.thumb.background": "#4C4D4DAA", "secondary.active.background": "#353436", "secondary.background": "#1E1D1E",