From 793eff16957b5b20e7f98bd098c096887ed79f9c Mon Sep 17 00:00:00 2001 From: Nate Butler Date: Thu, 6 Jul 2023 10:54:47 -0400 Subject: [PATCH] Update scrollbar selection style --- styles/src/style_tree/editor.ts | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/styles/src/style_tree/editor.ts b/styles/src/style_tree/editor.ts index a1ba0be43d56b4a81060067b2cc743fe8c6c0562..48a2fd33e2e5fbd2380dea6f71fe1abac00c4a63 100644 --- a/styles/src/style_tree/editor.ts +++ b/styles/src/style_tree/editor.ts @@ -304,9 +304,7 @@ export default function editor(): any { ? with_opacity(theme.ramps.green(0.5).hex(), 0.8) : with_opacity(theme.ramps.green(0.4).hex(), 0.8), }, - selections: is_light - ? with_opacity(theme.ramps.blue(0.5).hex(), 0.8) - : with_opacity(theme.ramps.blue(0.4).hex(), 0.8) + selections: foreground(layer, "accent") }, composition_mark: { underline: {