fix: Darker modal backdrops for better contrast
SettingsModal + ArtworkGenerationModal: - Backdrop: bg-black/60 → bg-black/80 (darker, less bleed-through) - Backdrop blur: backdrop-blur-sm → backdrop-blur-md (stronger blur effect) - Modal surface: added lyria-surface color (#1a1a24) to tailwind config for solid, opaque modal backgrounds Result: Background elements are much less visible behind modals, improving readability and focus.
This commit is contained in:
1 parent
934d7775a8
commit
6410e16912
3 files changed
+3
-2
No files matched your search
@@ -36,7 +36,7 @@ export default function ArtworkGenerationModal({ isOpen, onClose, onGenerate, tr
|
||||
<div className="fixed inset-0 z-50 flex items-center justify-center">
|
||||
{/* Backdrop */}
|
||||
<div
|
||||
className="absolute inset-0 bg-black/60 backdrop-blur-sm"
|
||||
className="absolute inset-0 bg-black/80 backdrop-blur-md"
|
||||
onClick={handleClose}
|
||||
/>
|
||||
|
||||
|
||||
@@ -99,7 +99,7 @@ export default function SettingsModal({ isOpen, onClose, onClearWaveforms, onDel
|
||||
<div className="fixed inset-0 z-50 flex items-center justify-center">
|
||||
{/* Backdrop */}
|
||||
<div
|
||||
className="absolute inset-0 bg-black/60 backdrop-blur-sm"
|
||||
className="absolute inset-0 bg-black/80 backdrop-blur-md"
|
||||
onClick={onClose}
|
||||
/>
|
||||
|
||||
|
||||
Reference in new issue
Block a user