pragma Singleton
import QtQuick
import Quickshell

QtObject {
    id: theme

    // ── Wallpaper ──────────────────────────────────────────────────────────────
    readonly property string wallpaper: Quickshell.env("HOME") + "/.config/quickshell/wallpapers/supreme.jpg"

    // ── Base Backgrounds ───────────────────────────────────────────────────────
    readonly property color bg:      "#883d1c2b" // Deep berry wine (Translucent)
    readonly property color bgPanel: "transparent"
    readonly property color bgPopup: "#882d1621" // Darker velvet rose (95% trans)
    readonly property color bgFrame: bg

    // ── Separators ────────────────────────────────────────────────────────────
    readonly property color separator: "#44ffb7ce"

    // ── Text ──────────────────────────────────────────────────────────────────
    readonly property color textMain:  "#ffffeff5" // Soft sugar white
    readonly property color textDim:   "#aaefb4c1" // Muted petal pink
    readonly property color todayText: "#ffffffff"

    // ── Accent & Borders ──────────────────────────────────────────────────────
    readonly property color accent:       "#ffff7eb9" // Neon bubblegum pink
    readonly property color border:       "transparent"
    readonly property color borderPopup:  "#66ff7eb9" // Glowing pink edge
    readonly property color borderToday:  accent

    // ── ArchLogo Module ────────────────────────────────────────────────────────
    readonly property color archLogoBg:           bgPanel
    readonly property color archLogoBgHover:      "#22ffffff"
    readonly property color archLogoHover:        accent
    readonly property color archLogoBorder:       border
    readonly property color archLogoBorderActive: accent
    readonly property color archLogoIcon:         textMain
    readonly property color archLogoIconActive:   accent

    // ── Stats Module (Candy Tones) ─────────────────────────────────────────────
    readonly property color statsBg:          bgPanel
    readonly property color statsBorder:      border
    readonly property color statsText:        "#ffefb4c1"
    readonly property color statsRingColor:   accent
    readonly property color statsCpuColor:    "#ffff7eb9" // Hot pink
    readonly property color statsMemColor:    "#ffee99ff" // Soft purple
    readonly property color statsDiskColor:   "#ff70c5ce" // Cyan pop
    readonly property color statsGpuColor:    "#ffff9a9e" // Pastel coral
    readonly property color statsTrackColor:  "#15ffffff"

    // ── Volume Module (Berry Glass) ───────────────────────────────────────────
    readonly property color volBg:           bgPanel
    readonly property color volBgHover:      "#22ffb7ce"
    readonly property color volBorder:       border
    readonly property color volBorderHover:  "#ffefb4c1"
    readonly property color volPopupBg:      bgPopup
    readonly property color volPopupBorder:  borderPopup
    readonly property color volIcon:         "#ffff7eb9" 
    readonly property color volIconMuted:    "#ff7d4d5e"
    readonly property color volTrack:        "#22ffffff"
    readonly property color volHandle:       accent
    readonly property color volHandleBorder: "#33ffffff"
    readonly property color volMuteBg:       "#33ff7eb9"
    readonly property color volPickerHover:  "#15ff7eb9"

    // ── Clock Module ───────────────────────────────────────────────────────────
    readonly property color clockBg:          bgPanel
    readonly property color clockBgHover:     "#11ffffff"
    readonly property color clockBorder:      border
    readonly property color clockBorderHover: accent
    readonly property color clockTime:        textMain
    readonly property color clockSeconds:     "#ffff9a9e" // Pastel peach
    readonly property color clockIcon:        accent
    readonly property color clockSeparator:   separator
    readonly property color clockText:        textMain
    readonly property color clockShadow:      "#442d1621"

    // ── Calendar Popup ─────────────────────────────────────────────────────────
    readonly property color calCardBg:        bgPopup
    readonly property color calCardBorder:    borderPopup
    readonly property color calSeparator:     separator
    readonly property color calShadow:        "#662d1621"
    readonly property color clockPopupHeader: "#ffff7eb9"
    readonly property color clockPopupText:   textMain
    readonly property color clockPopupDim:    textDim

    // ── Workspace Module ───────────────────────────────────────────────────────
    readonly property color wsPanelBg:      bgPanel
    readonly property color wsPanelBorder:  "transparent"
    readonly property color wsActiveBg:     accent
    readonly property color wsInactiveBg:   "#15ffffff"
    readonly property color wsHoverBg:      "#33ffb7ce"
    readonly property color wsActiveText:   "#ff2d1621" // Dark contrast
    readonly property color wsInactiveText: textMain
    readonly property color wsHoverText:    "#ffffffff"

    // ── Tray Module ────────────────────────────────────────────────────────────
    readonly property color trayBg:          bgPanel
    readonly property color trayBgHover:     "#11ffffff"
    readonly property color trayBorder:      border
    readonly property color trayBorderHover: "#22ffffff"
    readonly property color trayIcon:        textMain

    // ── Launcher (Pink Mist) ───────────────────────────────────────────────────
    readonly property color launcherBg:               bgPopup
    readonly property color launcherBorder:           "#66ff7eb9"
    readonly property color launcherInput:            "#442d1621"
    readonly property color launcherInputBorderFocus: accent
    readonly property color launcherPill:             "#44ffb7ce"
    readonly property color launcherText:             textMain
    readonly property color launcherDim:              textDim
    readonly property color launcherAccent:           accent
    readonly property color launcherHover:            "#22ff7eb9"
    readonly property color launcherSelected:         "#44ff7eb9"
    readonly property color launcherModeActiveText:   "#ffffffff"
    readonly property color launcherModeActiveBg:     accent

    // ── Status Colors ──────────────────────────────────────────────────────────
    readonly property color statusOk:   "#ffb8e994" 
    readonly property color statusWarn: "#ffffd32a" 
    readonly property color statusErr:  "#ffff4d4d" 
    readonly property color statusInfo: "#ff70c5ce"

    // ── Notifications Module ───────────────────────────────────────────────────
    readonly property color notifBg:           bgPanel
    readonly property color notifBgHover:      "#11ffffff"
    readonly property color notifBorder:       border
    readonly property color notifBorderActive: accent
    readonly property color notifIcon:         textMain
    readonly property color notifIconActive:   accent
    readonly property color notifBadgeBg:      statusErr
    readonly property color notifBadgeText:    "#ffffffff"
    readonly property color notifSeparator:    separator
    readonly property color notifDnd:          separator

    // ── Toast cards (Frosted Pink) ─────────────────────────────────────────────
    readonly property color notifToastBg:      bgPopup
    readonly property color notifToastBgHover: "#22ffffff"
    readonly property color notifToastBorder:  borderPopup
    readonly property color notifToastShadow:  "#442d1621"
    readonly property color notifToastText:    textMain
    readonly property color notifToastDim:     textDim
    readonly property color notifToastAppName: "#ffff7eb9"

    // ── Urgency colours ────────────────────────────────────────────────────────
    readonly property color notifUrgencyCritical: statusErr
    readonly property color notifUrgencyNormal:   statusInfo
    readonly property color notifUrgencyLow:      textDim

    // ── Progress bar ───────────────────────────────────────────────────────────
    readonly property color notifProgressBg:   "#22ffffff"
    readonly property color notifProgressFill: accent

    // ── History popup ──────────────────────────────────────────────────────────
    readonly property color notifHistoryBg:     bgPopup
    readonly property color notifHistoryBorder: "#33ff7eb9"
    readonly property color notifHistoryShadow: "#552d1621"
    readonly property color notifHistoryHover:  "#11ff7eb9"
    readonly property color notifHistoryEmpty:  textDim
}
