refactor: remove unnecessary bg-color attributes and move to ui lib vars (#18234)

This commit is contained in:
Daniel Dietzler 2025-05-12 23:17:01 +02:00 committed by GitHub
parent 3066c8198c
commit 7544a678ec
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
36 changed files with 106 additions and 136 deletions

View file

@ -32,7 +32,7 @@
trailing,
}: Props = $props();
let appBarBorder = $state('bg-immich-bg border border-transparent');
let appBarBorder = $state('bg-light border border-transparent');
const onScroll = () => {
if (window.scrollY > 80) {
@ -42,7 +42,7 @@
appBarBorder = 'border border-gray-600';
}
} else {
appBarBorder = 'bg-immich-bg border border-transparent';
appBarBorder = 'bg-light border border-transparent';
}
};