160 lines
10 KiB
QML
160 lines
10 KiB
QML
pragma Singleton
|
|
import QtQuick
|
|
import Quickshell
|
|
|
|
QtObject {
|
|
id: theme
|
|
|
|
// ── Wallpaper ──────────────────────────────────────────────────────────────
|
|
readonly property string wallpaper: Quickshell.env("HOME") + "/.config/quickshell/wallpaper.jpg"
|
|
|
|
// ── Base Backgrounds ───────────────────────────────────────────────────────
|
|
readonly property color bg: "#aa0a1410"
|
|
readonly property color bgPanel: "transparent"
|
|
readonly property color bgPopup: bg
|
|
readonly property color bgFrame: bg
|
|
|
|
// ── Separators ────────────────────────────────────────────────────────────
|
|
readonly property color separator: "#33ffffff"
|
|
|
|
// ── Text ──────────────────────────────────────────────────────────────────
|
|
readonly property color textMain: "#ffdce3de"
|
|
readonly property color textDim: "#d97a9480"
|
|
readonly property color todayText: "#ffffffff"
|
|
|
|
// ── Accent & Borders ──────────────────────────────────────────────────────
|
|
readonly property color accent: "#ff4a8c5c"
|
|
readonly property color border: "transparent"
|
|
readonly property color borderPopup: "#ff2d4032"
|
|
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 ───────────────────────────────────────────────────────────
|
|
readonly property color statsBg: bgPanel
|
|
readonly property color statsBorder: border
|
|
readonly property color statsText: textMain
|
|
readonly property color statsRingColor: "#ff83c092"
|
|
readonly property color statsCpuColor: statsRingColor
|
|
readonly property color statsMemColor: statsRingColor
|
|
readonly property color statsDiskColor: statsRingColor
|
|
readonly property color statsGpuColor: statsRingColor
|
|
readonly property color statsTrackColor: "#28ffffff"
|
|
|
|
// ── Volume Module ──────────────────────────────────────────────────────────
|
|
readonly property color volBg: bgPanel
|
|
readonly property color volBgHover: "#22ffffff"
|
|
readonly property color volBorder: border
|
|
readonly property color volBorderHover: accent
|
|
readonly property color volPopupBg: bgPopup
|
|
readonly property color volPopupBorder: borderPopup
|
|
readonly property color volIcon: textMain
|
|
readonly property color volIconMuted: textDim
|
|
readonly property color volTrack: "#22ffffff"
|
|
readonly property color volHandle: accent
|
|
readonly property color volHandleBorder: "#33ffffff"
|
|
readonly property color volMuteBg: "#22ffffff"
|
|
readonly property color volPickerHover: "#15ffffff"
|
|
|
|
// ── Clock Module ───────────────────────────────────────────────────────────
|
|
readonly property color clockBg: bgPanel
|
|
readonly property color clockBgHover: "#22ffffff"
|
|
readonly property color clockBorder: border
|
|
readonly property color clockBorderHover: accent
|
|
readonly property color clockTime: textMain
|
|
readonly property color clockSeconds: textMain
|
|
readonly property color clockIcon: textMain
|
|
readonly property color clockSeparator: separator
|
|
readonly property color clockText: textMain
|
|
readonly property color clockShadow: "#22000000"
|
|
|
|
// ── Calendar Popup ─────────────────────────────────────────────────────────
|
|
readonly property color calCardBg: bgPopup
|
|
readonly property color calCardBorder: borderPopup
|
|
readonly property color calSeparator: separator
|
|
readonly property color calShadow: "#44000000"
|
|
readonly property color clockPopupHeader: accent
|
|
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: "#22ffffff"
|
|
readonly property color wsHoverBg: borderPopup
|
|
readonly property color wsActiveText: "#ff0e1410"
|
|
readonly property color wsInactiveText: textMain
|
|
readonly property color wsHoverText: wsActiveText
|
|
|
|
// ── Tray Module ────────────────────────────────────────────────────────────
|
|
readonly property color trayBg: clockBg
|
|
readonly property color trayBgHover: clockBgHover
|
|
readonly property color trayBorder: clockBorder
|
|
readonly property color trayBorderHover: clockBorderHover
|
|
readonly property color trayIcon: clockIcon
|
|
|
|
// ── Launcher ───────────────────────────────────────────────────────────────
|
|
readonly property color launcherBg: bgPopup
|
|
readonly property color launcherBorder: "#22ffffff"
|
|
readonly property color launcherInput: "#330b1210"
|
|
readonly property color launcherInputBorderFocus: accent
|
|
readonly property color launcherPill: "#4d111a14"
|
|
readonly property color launcherText: textMain
|
|
readonly property color launcherDim: textDim
|
|
readonly property color launcherAccent: accent
|
|
readonly property color launcherHover: "#4d2d4032"
|
|
readonly property color launcherSelected: launcherHover
|
|
readonly property color launcherModeActiveText: todayText
|
|
readonly property color launcherModeActiveBg: accent
|
|
|
|
// ── Status Colors ──────────────────────────────────────────────────────────
|
|
readonly property color statusOk: "#ffa7c080"
|
|
readonly property color statusWarn: "#ffdbbc7f"
|
|
readonly property color statusErr: "#ffe67e80"
|
|
readonly property color statusInfo: "#ff7fbbb3"
|
|
|
|
// ── Notifications Module ───────────────────────────────────────────────────
|
|
readonly property color notifBg: bgPanel
|
|
readonly property color notifBgHover: "#22ffffff"
|
|
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: "#ff0e1410"
|
|
readonly property color notifSeparator: separator
|
|
|
|
// ── Toast cards ────────────────────────────────────────────────────────────
|
|
readonly property color notifToastBg: bgPopup
|
|
readonly property color notifToastBgHover: borderPopup
|
|
readonly property color notifToastBorder: borderPopup
|
|
readonly property color notifToastShadow: "#55000000"
|
|
readonly property color notifToastText: textMain
|
|
readonly property color notifToastDim: textDim
|
|
readonly property color notifToastAppName: accent
|
|
|
|
// ── 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: borderPopup
|
|
readonly property color notifHistoryShadow: "#55000000"
|
|
readonly property color notifHistoryHover: "#22ffffff"
|
|
readonly property color notifHistoryEmpty: textDim
|
|
}
|