From d77c324fd55fafdc21461836f6856996008777b0 Mon Sep 17 00:00:00 2001 From: 2 * r + 2 * t <61896496+soramanew@users.noreply.github.com> Date: Thu, 10 Apr 2025 15:34:35 +1000 Subject: style: make transparency same for light/dark --- app.tsx | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/app.tsx b/app.tsx index f1dcde3..fd2ded1 100644 --- a/app.tsx +++ b/app.tsx @@ -23,8 +23,7 @@ const isLayer = (name: string) => const applyTransparency = (name: string, hex: string) => { if (style.transparency.get() === "off" || !isLayer(name)) return hex; - let amount = style.transparency.get() === "high" ? 0.58 : 0.78; - if (Palette.get_default().mode === "light") amount = style.transparency.get() === "high" ? 0.53 : 0.63; + const amount = style.transparency.get() === "high" ? 0.58 : 0.78; return `color.change(${hex}, $alpha: ${amount})`; }; -- cgit v1.2.3-freya