diff options
| author | 2 * r + 2 * t <61896496+soramanew@users.noreply.github.com> | 2025-04-10 15:34:35 +1000 |
|---|---|---|
| committer | 2 * r + 2 * t <61896496+soramanew@users.noreply.github.com> | 2025-04-10 15:34:35 +1000 |
| commit | d77c324fd55fafdc21461836f6856996008777b0 (patch) | |
| tree | 8dc52444a2676fc7de9357166dbbbfcb120ac3ef /app.tsx | |
| parent | sidebar: don't show speakers in streams header (diff) | |
| download | caelestia-shell-d77c324fd55fafdc21461836f6856996008777b0.tar.gz caelestia-shell-d77c324fd55fafdc21461836f6856996008777b0.tar.bz2 caelestia-shell-d77c324fd55fafdc21461836f6856996008777b0.zip | |
style: make transparency same for light/dark
Diffstat (limited to 'app.tsx')
| -rw-r--r-- | app.tsx | 3 |
1 files changed, 1 insertions, 2 deletions
@@ -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})`; }; |