feat: add opacity and blur controls for background settings, enhancing customization options in the UI

This commit is contained in:
Julien Froidefond
2025-10-18 14:48:07 +02:00
parent e32921377f
commit 13626d56c2
8 changed files with 148 additions and 2 deletions

View File

@@ -4,6 +4,8 @@ export interface BackgroundPreferences {
type: BackgroundType;
gradient?: string;
imageUrl?: string;
opacity?: number; // 0-100
blur?: number; // 0-20 (px)
}
export interface UserPreferences {
@@ -27,6 +29,8 @@ export const defaultPreferences: UserPreferences = {
},
background: {
type: "default",
opacity: 100,
blur: 0,
},
};