splitted the code base into more components and implemented safety measures to Crypto.qml, also added missing themes and removed hardcoded values
This commit is contained in:
@@ -6,7 +6,7 @@ import "themes"
|
||||
QtObject {
|
||||
id: root
|
||||
|
||||
readonly property var theme: Tropicalnight
|
||||
readonly property var theme: Goldencity
|
||||
|
||||
// ────────────────────────────────────────────────────────────────────────
|
||||
// Widgets
|
||||
@@ -49,7 +49,7 @@ QtObject {
|
||||
|
||||
// ── Timezone (IANA name, e.g. "America/New_York", "Europe/London") ──────────
|
||||
// Leave empty to use the system timezone.
|
||||
property string timezone: "America/New_York"
|
||||
property string timezone: none
|
||||
|
||||
// Date format used in the clock popup and background date widget.
|
||||
// "MDY" → month/day/year (e.g. May 14, 2026)
|
||||
@@ -76,7 +76,7 @@ QtObject {
|
||||
property int volumeSliderHeight: 2
|
||||
property int volumeHandleSize: 20
|
||||
property int volumePopupWidth: 280
|
||||
property int volumeOutputMax: 100
|
||||
property int volumeOutputMax: 140
|
||||
property int volumeInputMax: 200
|
||||
|
||||
|
||||
|
||||
@@ -39,8 +39,6 @@ QtObject {
|
||||
// ── Stats Module (Aurora Tones) ───────────────────────────────────────────
|
||||
readonly property color statsBg: bgPanel
|
||||
readonly property color statsBorder: border
|
||||
readonly property color statsText: "#ffb2d8d8"
|
||||
readonly property color statsRingColor: accent
|
||||
readonly property color statsCpuColor: "#cbdc3d" // Lime green
|
||||
readonly property color statsMemColor: "#4db6ac" // Teal
|
||||
readonly property color statsDiskColor: "#81d4fa" // Sky blue
|
||||
@@ -139,6 +137,15 @@ QtObject {
|
||||
readonly property color trayBorderHover: "#22ffffff"
|
||||
readonly property color trayIcon: textMain
|
||||
|
||||
// ── Tray Context Menu ──────────────────────────────────────────────────────
|
||||
readonly property color trayMenuBg: bgPopup
|
||||
readonly property color trayMenuBorder: borderPopup
|
||||
readonly property color trayMenuText: textMain
|
||||
readonly property color trayMenuDim: textDim
|
||||
readonly property color trayMenuHover: "#22cbdc3d"
|
||||
readonly property color trayMenuCheck: accent
|
||||
readonly property color trayMenuSeparator: separator
|
||||
|
||||
// ── Launcher (Fresh Aero) ──────────────────────────────────────────────────
|
||||
readonly property color launcherBg: bgPopup
|
||||
readonly property color launcherBorder: "#44cbdc3d"
|
||||
@@ -226,6 +233,12 @@ QtObject {
|
||||
readonly property color cryptoChipRemoveBg: Qt.rgba(cryptoDown.r, cryptoDown.g, cryptoDown.b, 0.27)
|
||||
readonly property color cryptoApplyIdleBg: Qt.rgba(accent.r, accent.g, accent.b, 0.20)
|
||||
|
||||
readonly property color cryptoFieldBg: "#15ffffff"
|
||||
readonly property color cryptoFieldBgFocus: "#22ffffff"
|
||||
readonly property color cryptoRangeTrack: "#1affffff"
|
||||
readonly property color cryptoTextOnAccent: "#ff0b3333"
|
||||
readonly property color cryptoPlaceholder: Qt.rgba(textDim.r, textDim.g, textDim.b, 0.33)
|
||||
|
||||
// ── BgDate Module ──────────────────────────────────────────────────────────
|
||||
readonly property color bgDateText: textMain
|
||||
readonly property color bgDateShadow: "#66000000"
|
||||
|
||||
@@ -39,8 +39,6 @@ QtObject {
|
||||
// ── Stats Module (Variation: Cosmic Cyan) ──────────────────────────────────
|
||||
readonly property color statsBg: bgPanel
|
||||
readonly property color statsBorder: border
|
||||
readonly property color statsText: "#ff82e6ff"
|
||||
readonly property color statsRingColor: accent
|
||||
readonly property color statsCpuColor: "#ff00f2ff"
|
||||
readonly property color statsMemColor: "#ffbc7fff" // Trail violet
|
||||
readonly property color statsDiskColor: "#ff7fbaff" // Sky blue
|
||||
@@ -139,6 +137,15 @@ QtObject {
|
||||
readonly property color trayBorderHover: "#22ffffff"
|
||||
readonly property color trayIcon: textMain
|
||||
|
||||
// ── Tray Context Menu ──────────────────────────────────────────────────────
|
||||
readonly property color trayMenuBg: bgPopup
|
||||
readonly property color trayMenuBorder: borderPopup
|
||||
readonly property color trayMenuText: textMain
|
||||
readonly property color trayMenuDim: textDim
|
||||
readonly property color trayMenuHover: "#2200d9ff"
|
||||
readonly property color trayMenuCheck: accent
|
||||
readonly property color trayMenuSeparator: separator
|
||||
|
||||
// ── Launcher (Variation: Starfield Navy) ───────────────────────────────────
|
||||
readonly property color launcherBg: bgPopup
|
||||
readonly property color launcherBorder: "#4400d9ff"
|
||||
@@ -226,6 +233,12 @@ QtObject {
|
||||
readonly property color cryptoChipRemoveBg: Qt.rgba(cryptoDown.r, cryptoDown.g, cryptoDown.b, 0.27)
|
||||
readonly property color cryptoApplyIdleBg: Qt.rgba(accent.r, accent.g, accent.b, 0.20)
|
||||
|
||||
readonly property color cryptoFieldBg: "#15ffffff"
|
||||
readonly property color cryptoFieldBgFocus: "#22ffffff"
|
||||
readonly property color cryptoRangeTrack: "#1affffff"
|
||||
readonly property color cryptoTextOnAccent: "#ff050a14"
|
||||
readonly property color cryptoPlaceholder: Qt.rgba(textDim.r, textDim.g, textDim.b, 0.33)
|
||||
|
||||
// ── BgDate Module ──────────────────────────────────────────────────────────
|
||||
readonly property color bgDateText: textMain
|
||||
readonly property color bgDateShadow: "#88000000"
|
||||
|
||||
@@ -39,8 +39,6 @@ QtObject {
|
||||
// ── Stats Module (Variation: Shoreline Tones) ──────────────────────────────
|
||||
readonly property color statsBg: bgPanel
|
||||
readonly property color statsBorder: border
|
||||
readonly property color statsText: "#ffa5b9c4"
|
||||
readonly property color statsRingColor: accent
|
||||
readonly property color statsCpuColor: "#ffebc6a0" // Sunset gold
|
||||
readonly property color statsMemColor: "#ff8fa3b0" // Ocean mist
|
||||
readonly property color statsDiskColor: "#ffc2d1d9" // Bright sky blue
|
||||
@@ -139,6 +137,15 @@ QtObject {
|
||||
readonly property color trayBorderHover: "#22ffffff"
|
||||
readonly property color trayIcon: textMain
|
||||
|
||||
// ── Tray Context Menu ──────────────────────────────────────────────────────
|
||||
readonly property color trayMenuBg: bgPopup
|
||||
readonly property color trayMenuBorder: borderPopup
|
||||
readonly property color trayMenuText: textMain
|
||||
readonly property color trayMenuDim: textDim
|
||||
readonly property color trayMenuHover: "#22ebc6a0"
|
||||
readonly property color trayMenuCheck: accent
|
||||
readonly property color trayMenuSeparator: separator
|
||||
|
||||
// ── Launcher (Variation: Morning Mist) ─────────────────────────────────────
|
||||
readonly property color launcherBg: bgPopup
|
||||
readonly property color launcherBorder: "#33ebc6a0"
|
||||
@@ -226,6 +233,12 @@ QtObject {
|
||||
readonly property color cryptoChipRemoveBg: Qt.rgba(cryptoDown.r, cryptoDown.g, cryptoDown.b, 0.27)
|
||||
readonly property color cryptoApplyIdleBg: Qt.rgba(accent.r, accent.g, accent.b, 0.20)
|
||||
|
||||
readonly property color cryptoFieldBg: "#15ffffff"
|
||||
readonly property color cryptoFieldBgFocus: "#22ffffff"
|
||||
readonly property color cryptoRangeTrack: "#1affffff"
|
||||
readonly property color cryptoTextOnAccent: "#ff1a212e"
|
||||
readonly property color cryptoPlaceholder: Qt.rgba(textDim.r, textDim.g, textDim.b, 0.33)
|
||||
|
||||
// ── BgDate Module ──────────────────────────────────────────────────────────
|
||||
readonly property color bgDateText: textMain
|
||||
readonly property color bgDateShadow: "#66000000"
|
||||
|
||||
@@ -39,8 +39,6 @@ QtObject {
|
||||
// ── Stats Module (Variation: Alpenglow) ────────────────────────────────────
|
||||
readonly property color statsBg: bgPanel
|
||||
readonly property color statsBorder: border
|
||||
readonly property color statsText: "#ff8da0c4"
|
||||
readonly property color statsRingColor: accent
|
||||
readonly property color statsCpuColor: "#fff0a1ba" // Pink
|
||||
readonly property color statsMemColor: "#ffffcc99" // Horizon orange
|
||||
readonly property color statsDiskColor: "#ff8da0c4" // Water blue
|
||||
@@ -139,6 +137,15 @@ QtObject {
|
||||
readonly property color trayBorderHover: "#22ffffff"
|
||||
readonly property color trayIcon: textMain
|
||||
|
||||
// ── Tray Context Menu ──────────────────────────────────────────────────────
|
||||
readonly property color trayMenuBg: bgPopup
|
||||
readonly property color trayMenuBorder: borderPopup
|
||||
readonly property color trayMenuText: textMain
|
||||
readonly property color trayMenuDim: textDim
|
||||
readonly property color trayMenuHover: "#22f0a1ba"
|
||||
readonly property color trayMenuCheck: accent
|
||||
readonly property color trayMenuSeparator: separator
|
||||
|
||||
// ── Launcher (Variation: Dusk Gradient) ────────────────────────────────────
|
||||
readonly property color launcherBg: bgPopup
|
||||
readonly property color launcherBorder: "#33f0a1ba"
|
||||
|
||||
@@ -39,8 +39,6 @@ QtObject {
|
||||
// ── Stats Module (Variation: Comet Trail) ──────────────────────────────────
|
||||
readonly property color statsBg: bgPanel
|
||||
readonly property color statsBorder: border
|
||||
readonly property color statsText: "#ffa2d2ff"
|
||||
readonly property color statsRingColor: accent
|
||||
readonly property color statsCpuColor: "#ffbdf0ff"
|
||||
readonly property color statsMemColor: "#ffcfb3ff" // Nebula purple
|
||||
readonly property color statsDiskColor: "#ffffc2e0" // Horizon pink
|
||||
@@ -139,6 +137,15 @@ QtObject {
|
||||
readonly property color trayBorderHover: "#22ffffff"
|
||||
readonly property color trayIcon: textMain
|
||||
|
||||
// ── Tray Context Menu ──────────────────────────────────────────────────────
|
||||
readonly property color trayMenuBg: bgPopup
|
||||
readonly property color trayMenuBorder: borderPopup
|
||||
readonly property color trayMenuText: textMain
|
||||
readonly property color trayMenuDim: textDim
|
||||
readonly property color trayMenuHover: "#22bdf0ff"
|
||||
readonly property color trayMenuCheck: accent
|
||||
readonly property color trayMenuSeparator: separator
|
||||
|
||||
// ── Launcher (Variation: Midnight Starfield) ───────────────────────────────
|
||||
readonly property color launcherBg: bgPopup
|
||||
readonly property color launcherBorder: "#33bdf0ff"
|
||||
@@ -226,6 +233,12 @@ QtObject {
|
||||
readonly property color cryptoChipRemoveBg: Qt.rgba(cryptoDown.r, cryptoDown.g, cryptoDown.b, 0.27)
|
||||
readonly property color cryptoApplyIdleBg: Qt.rgba(accent.r, accent.g, accent.b, 0.20)
|
||||
|
||||
readonly property color cryptoFieldBg: "#15ffffff"
|
||||
readonly property color cryptoFieldBgFocus: "#22ffffff"
|
||||
readonly property color cryptoRangeTrack: "#1affffff"
|
||||
readonly property color cryptoTextOnAccent: "#ff0d1326"
|
||||
readonly property color cryptoPlaceholder: Qt.rgba(textDim.r, textDim.g, textDim.b, 0.33)
|
||||
|
||||
// ── BgDate Module ──────────────────────────────────────────────────────────
|
||||
readonly property color bgDateText: textMain
|
||||
readonly property color bgDateShadow: "#66000000"
|
||||
|
||||
@@ -39,11 +39,9 @@ QtObject {
|
||||
// ── 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 statsCpuColor: "#ff83c092"
|
||||
readonly property color statsMemColor: "#ff83c092"
|
||||
readonly property color statsDiskColor: "#ff83c092"
|
||||
readonly property color statsTrackColor: "#28ffffff"
|
||||
|
||||
// ── Volume Module ──────────────────────────────────────────────────────────
|
||||
@@ -139,6 +137,15 @@ QtObject {
|
||||
readonly property color trayBorderHover: clockBorderHover
|
||||
readonly property color trayIcon: clockIcon
|
||||
|
||||
// ── Tray Context Menu ──────────────────────────────────────────────────────
|
||||
readonly property color trayMenuBg: bgPopup
|
||||
readonly property color trayMenuBorder: borderPopup
|
||||
readonly property color trayMenuText: textMain
|
||||
readonly property color trayMenuDim: textDim
|
||||
readonly property color trayMenuHover: "#224a8c5c"
|
||||
readonly property color trayMenuCheck: accent
|
||||
readonly property color trayMenuSeparator: separator
|
||||
|
||||
// ── Launcher ───────────────────────────────────────────────────────────────
|
||||
readonly property color launcherBg: bgPopup
|
||||
readonly property color launcherBorder: "#22ffffff"
|
||||
@@ -226,6 +233,12 @@ QtObject {
|
||||
readonly property color cryptoChipRemoveBg: Qt.rgba(cryptoDown.r, cryptoDown.g, cryptoDown.b, 0.27)
|
||||
readonly property color cryptoApplyIdleBg: Qt.rgba(accent.r, accent.g, accent.b, 0.20)
|
||||
|
||||
readonly property color cryptoFieldBg: "#15ffffff"
|
||||
readonly property color cryptoFieldBgFocus: "#22ffffff"
|
||||
readonly property color cryptoRangeTrack: "#1affffff"
|
||||
readonly property color cryptoTextOnAccent: "#ff0e1410"
|
||||
readonly property color cryptoPlaceholder: Qt.rgba(textDim.r, textDim.g, textDim.b, 0.33)
|
||||
|
||||
// ── BgDate Module ──────────────────────────────────────────────────────────
|
||||
readonly property color bgDateText: textMain
|
||||
readonly property color bgDateShadow: "#44000000"
|
||||
|
||||
@@ -40,8 +40,6 @@ QtObject {
|
||||
// ── Stats Module (Variation: Skyline Pulse) ───────────────────────────────
|
||||
readonly property color statsBg: bgPanel
|
||||
readonly property color statsBorder: border
|
||||
readonly property color statsText: "#ff7a8996"
|
||||
readonly property color statsRingColor: accent
|
||||
readonly property color statsCpuColor: "#ffc19375" // Horizon gold
|
||||
readonly property color statsMemColor: "#ff89b4fa" // Building window blue
|
||||
readonly property color statsDiskColor: "#ff94e2d5" // Teal office light
|
||||
@@ -242,6 +240,12 @@ QtObject {
|
||||
readonly property color cryptoChipRemoveBg: Qt.rgba(cryptoDown.r, cryptoDown.g, cryptoDown.b, 0.27)
|
||||
readonly property color cryptoApplyIdleBg: Qt.rgba(accent.r, accent.g, accent.b, 0.20)
|
||||
|
||||
readonly property color cryptoFieldBg: "#15ffffff"
|
||||
readonly property color cryptoFieldBgFocus: "#22ffffff"
|
||||
readonly property color cryptoRangeTrack: "#1affffff"
|
||||
readonly property color cryptoTextOnAccent: "#ff0c0e12"
|
||||
readonly property color cryptoPlaceholder: Qt.rgba(textDim.r, textDim.g, textDim.b, 0.33)
|
||||
|
||||
// ── Polkit Dialog ──────────────────────────────────────────────────────────
|
||||
// Overlay
|
||||
readonly property color polkitOverlayBg: "#bb000000" // dim backdrop behind the card
|
||||
|
||||
@@ -40,8 +40,6 @@ QtObject {
|
||||
// ── Stats Module (Variation: Canopy Pulse) ───────────────────────────────
|
||||
readonly property color statsBg: bgPanel
|
||||
readonly property color statsBorder: border
|
||||
readonly property color statsText: "#ff8bc34a" // Leaf green
|
||||
readonly property color statsRingColor: accent
|
||||
readonly property color statsCpuColor: "#ffff5722" // Vermilion
|
||||
readonly property color statsMemColor: "#ff8bc34a" // Bright green
|
||||
readonly property color statsDiskColor: "#ff90caf9" // Bokeh sky blue
|
||||
@@ -238,6 +236,12 @@ QtObject {
|
||||
readonly property color cryptoChipRemoveBg: Qt.rgba(cryptoDown.r, cryptoDown.g, cryptoDown.b, 0.27)
|
||||
readonly property color cryptoApplyIdleBg: Qt.rgba(accent.r, accent.g, accent.b, 0.20)
|
||||
|
||||
readonly property color cryptoFieldBg: "#15ffffff"
|
||||
readonly property color cryptoFieldBgFocus: "#22ffffff"
|
||||
readonly property color cryptoRangeTrack: "#1affffff"
|
||||
readonly property color cryptoTextOnAccent: "#ff0d140d"
|
||||
readonly property color cryptoPlaceholder: Qt.rgba(textDim.r, textDim.g, textDim.b, 0.33)
|
||||
|
||||
// ── Polkit Dialog ──────────────────────────────────────────────────────────
|
||||
readonly property color polkitOverlayBg: "#bb000000"
|
||||
readonly property color polkitCardBg: bgPopup
|
||||
|
||||
@@ -40,8 +40,6 @@ QtObject {
|
||||
// ── Stats Module (Variation: Night City Lights) ───────────────────────────
|
||||
readonly property color statsBg: bgPanel
|
||||
readonly property color statsBorder: border
|
||||
readonly property color statsText: "#ff71798a"
|
||||
readonly property color statsRingColor: accent
|
||||
readonly property color statsCpuColor: "#ffffb86c" // Streetlight gold
|
||||
readonly property color statsMemColor: "#ff9ece6a" // Train stripe green
|
||||
readonly property color statsDiskColor: "#ff7dcfff" // Cyan window light
|
||||
@@ -140,6 +138,15 @@ QtObject {
|
||||
readonly property color trayBorderHover: "#22ffffff"
|
||||
readonly property color trayIcon: textMain
|
||||
|
||||
// ── Tray Context Menu ──────────────────────────────────────────────────────
|
||||
readonly property color trayMenuBg: bgPopup
|
||||
readonly property color trayMenuBorder: borderPopup
|
||||
readonly property color trayMenuText: textMain
|
||||
readonly property color trayMenuDim: textDim
|
||||
readonly property color trayMenuHover: "#22ffb86c"
|
||||
readonly property color trayMenuCheck: accent
|
||||
readonly property color trayMenuSeparator: separator
|
||||
|
||||
// ── Launcher (Variation: Neon Horizon) ─────────────────────────────────────
|
||||
readonly property color launcherBg: bgPopup
|
||||
readonly property color launcherBorder: "#44ffb86c"
|
||||
@@ -227,6 +234,12 @@ QtObject {
|
||||
readonly property color cryptoChipRemoveBg: Qt.rgba(cryptoDown.r, cryptoDown.g, cryptoDown.b, 0.27)
|
||||
readonly property color cryptoApplyIdleBg: Qt.rgba(accent.r, accent.g, accent.b, 0.20)
|
||||
|
||||
readonly property color cryptoFieldBg: "#15ffffff"
|
||||
readonly property color cryptoFieldBgFocus: "#22ffffff"
|
||||
readonly property color cryptoRangeTrack: "#1affffff"
|
||||
readonly property color cryptoTextOnAccent: "#ff0d1117"
|
||||
readonly property color cryptoPlaceholder: Qt.rgba(textDim.r, textDim.g, textDim.b, 0.33)
|
||||
|
||||
// ── BgDate Module ──────────────────────────────────────────────────────────
|
||||
readonly property color bgDateText: textMain
|
||||
readonly property color bgDateShadow: "#aa000000"
|
||||
|
||||
@@ -39,8 +39,6 @@ QtObject {
|
||||
// ── Stats Module (Variation: Cyan/Blue) ────────────────────────────────────
|
||||
readonly property color statsBg: bgPanel
|
||||
readonly property color statsBorder: border
|
||||
readonly property color statsText: "#ff9ccfd8" // Soft Cyan text
|
||||
readonly property color statsRingColor: "#ff31748f" // Deep Blue rings
|
||||
readonly property color statsCpuColor: "#ff9ccfd8" // Light Blue
|
||||
readonly property color statsMemColor: "#ffc4a7e7" // Soft Purple
|
||||
readonly property color statsDiskColor: "#ffebbcba" // Muted Rose
|
||||
@@ -139,6 +137,15 @@ QtObject {
|
||||
readonly property color trayBorderHover: "#44ffffff"
|
||||
readonly property color trayIcon: "#ff9ccfd8" // Cyan icons in tray
|
||||
|
||||
// ── Tray Context Menu ──────────────────────────────────────────────────────
|
||||
readonly property color trayMenuBg: bgPopup
|
||||
readonly property color trayMenuBorder: borderPopup
|
||||
readonly property color trayMenuText: textMain
|
||||
readonly property color trayMenuDim: textDim
|
||||
readonly property color trayMenuHover: "#22ff2e97"
|
||||
readonly property color trayMenuCheck: accent
|
||||
readonly property color trayMenuSeparator: separator
|
||||
|
||||
// ── Launcher (Variation: Indigo/Deep Blue) ─────────────────────────────────
|
||||
readonly property color launcherBg: bgPopup
|
||||
readonly property color launcherBorder: "#339ccfd8"
|
||||
@@ -226,6 +233,12 @@ QtObject {
|
||||
readonly property color cryptoChipRemoveBg: Qt.rgba(cryptoDown.r, cryptoDown.g, cryptoDown.b, 0.27)
|
||||
readonly property color cryptoApplyIdleBg: Qt.rgba(accent.r, accent.g, accent.b, 0.20)
|
||||
|
||||
readonly property color cryptoFieldBg: "#15ffffff"
|
||||
readonly property color cryptoFieldBgFocus: "#22ffffff"
|
||||
readonly property color cryptoRangeTrack: "#1affffff"
|
||||
readonly property color cryptoTextOnAccent: "#ff0d0b1c"
|
||||
readonly property color cryptoPlaceholder: Qt.rgba(textDim.r, textDim.g, textDim.b, 0.33)
|
||||
|
||||
// ── BgDate Module ──────────────────────────────────────────────────────────
|
||||
readonly property color bgDateText: textMain
|
||||
readonly property color bgDateShadow: "#44000000"
|
||||
|
||||
@@ -39,8 +39,6 @@ QtObject {
|
||||
// ── 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
|
||||
@@ -139,6 +137,15 @@ QtObject {
|
||||
readonly property color trayBorderHover: "#22ffffff"
|
||||
readonly property color trayIcon: textMain
|
||||
|
||||
// ── Tray Context Menu ──────────────────────────────────────────────────────
|
||||
readonly property color trayMenuBg: bgPopup
|
||||
readonly property color trayMenuBorder: borderPopup
|
||||
readonly property color trayMenuText: textMain
|
||||
readonly property color trayMenuDim: textDim
|
||||
readonly property color trayMenuHover: "#22ff7eb9"
|
||||
readonly property color trayMenuCheck: accent
|
||||
readonly property color trayMenuSeparator: separator
|
||||
|
||||
// ── Launcher (Pink Mist) ───────────────────────────────────────────────────
|
||||
readonly property color launcherBg: bgPopup
|
||||
readonly property color launcherBorder: "#66ff7eb9"
|
||||
@@ -226,6 +233,12 @@ QtObject {
|
||||
readonly property color cryptoChipRemoveBg: Qt.rgba(cryptoDown.r, cryptoDown.g, cryptoDown.b, 0.27)
|
||||
readonly property color cryptoApplyIdleBg: Qt.rgba(accent.r, accent.g, accent.b, 0.20)
|
||||
|
||||
readonly property color cryptoFieldBg: "#15ffffff"
|
||||
readonly property color cryptoFieldBgFocus: "#22ffffff"
|
||||
readonly property color cryptoRangeTrack: "#1affffff"
|
||||
readonly property color cryptoTextOnAccent: "#ff2d1621"
|
||||
readonly property color cryptoPlaceholder: Qt.rgba(textDim.r, textDim.g, textDim.b, 0.33)
|
||||
|
||||
// ── BgDate Module ──────────────────────────────────────────────────────────
|
||||
readonly property color bgDateText: textMain
|
||||
readonly property color bgDateShadow: "#662d1621"
|
||||
|
||||
@@ -6,7 +6,7 @@ QtObject {
|
||||
id: theme
|
||||
|
||||
// ── Wallpaper ──────────────────────────────────────────────────────────────
|
||||
readonly property string wallpaper: Quickshell.env("HOME") + "/.config/quickshell/wallpapers/Aaah.png"
|
||||
readonly property string wallpaper: Quickshell.env("HOME") + "/.config/quickshell/wallpapers/tropicalnight.png"
|
||||
|
||||
// ── Base Backgrounds ───────────────────────────────────────────────────────
|
||||
readonly property color bg: "#fa161a22" // Deep navy-black from silhouettes
|
||||
@@ -18,9 +18,10 @@ QtObject {
|
||||
readonly property color separator: "#334a5d6e" // Muted sky blue-gray
|
||||
|
||||
// ── Text ──────────────────────────────────────────────────────────────────
|
||||
readonly property color textMain: "#ffe8eef2" // Bright moonlit white
|
||||
readonly property color textDim: "#ffdfe6ea" // Lighter (closer to white)
|
||||
readonly property color todayText: "#ffffffff"
|
||||
// reduced whiteness — cooler/dimmer grays for primary text
|
||||
readonly property color textMain: "#ffbfc6c9" // less-white moonlit gray
|
||||
readonly property color textDim: "#ff92979b" // dimmer gray
|
||||
readonly property color todayText: "#ffccd1d4" // subdued off-white
|
||||
|
||||
// ── Accent & Borders ──────────────────────────────────────────────────────
|
||||
readonly property color accent: "#ff89b4fa" // Summer sky blue (Main Accent)
|
||||
@@ -29,7 +30,7 @@ QtObject {
|
||||
readonly property color borderPopup: "transparent"
|
||||
readonly property color borderToday: accent
|
||||
|
||||
// ── Logo Module ────────────────────────────────────────────────────────
|
||||
// ── Logo Module ───────────────────────────────────────────────────────
|
||||
readonly property color logoBg: bgPanel
|
||||
readonly property color logoBgHover: "#22ffffff"
|
||||
readonly property color logoBorder: border
|
||||
@@ -40,8 +41,6 @@ QtObject {
|
||||
// ── Stats Module ──────────────────────────────────────────────────────────
|
||||
readonly property color statsBg: bgPanel
|
||||
readonly property color statsBorder: border
|
||||
readonly property color statsText: "#ffdfe6ea"
|
||||
readonly property color statsRingColor: accent
|
||||
readonly property color statsCpuColor: "#ff89b4fa"
|
||||
readonly property color statsMemColor: "#ffb4c9a1" // Soft moonlit green
|
||||
readonly property color statsDiskColor: "#ff94e2d5"
|
||||
@@ -87,7 +86,7 @@ QtObject {
|
||||
readonly property color batPopupSeparator: separator
|
||||
readonly property color batPopupHeader: accent
|
||||
readonly property color batPopupText: textMain
|
||||
readonly property color batPopupDim: "#ffdfe6ea"
|
||||
readonly property color batPopupDim: "#ff92979b"
|
||||
readonly property color batProgressTrack: separator
|
||||
readonly property color batProfileActiveText: bg
|
||||
|
||||
@@ -102,7 +101,7 @@ QtObject {
|
||||
readonly property color netPopupSeparator: separator
|
||||
readonly property color netPopupHeader: accent
|
||||
readonly property color netPopupText: textMain
|
||||
readonly property color netPopupDim: "#ffdfe6ea"
|
||||
readonly property color netPopupDim: "#ff92979b"
|
||||
readonly property color netFieldBg: "#22ffffff"
|
||||
readonly property color netCancelBgHover: "#22ffffff"
|
||||
readonly property color netConnectText: "#ff0c0e12"
|
||||
@@ -121,10 +120,10 @@ QtObject {
|
||||
readonly property color calSeparator: separator
|
||||
readonly property color clockPopupHeader: accent
|
||||
readonly property color clockPopupText: textMain
|
||||
readonly property color clockPopupDim: "#ffdfe6ea"
|
||||
readonly property color clockPopupDim: "#ff92979b"
|
||||
readonly property color clockPopupDate: textMain
|
||||
readonly property color clockPopupUtc: "#ffdfe6ea"
|
||||
readonly property color calArrowIcon: "#ffdfe6ea"
|
||||
readonly property color clockPopupUtc: "#ff92979b"
|
||||
readonly property color calArrowIcon: "#ff92979b"
|
||||
readonly property color calArrowIconHover: accent
|
||||
readonly property color calArrowBg: "transparent"
|
||||
readonly property color calArrowBgHover: "#2289b4fa"
|
||||
@@ -138,7 +137,7 @@ QtObject {
|
||||
readonly property color wsHoverBg: "#334a5d6e"
|
||||
readonly property color wsActiveText: "#ff0c0e12"
|
||||
readonly property color wsInactiveText: textMain
|
||||
readonly property color wsHoverText: "#ffffffff"
|
||||
readonly property color wsHoverText: "#ffccd1d4"
|
||||
|
||||
// ── Tray Module ────────────────────────────────────────────────────────────
|
||||
readonly property color trayBg: bgPanel
|
||||
@@ -151,7 +150,7 @@ QtObject {
|
||||
readonly property color trayMenuBg: bgPopup
|
||||
readonly property color trayMenuBorder: borderPopup
|
||||
readonly property color trayMenuText: textMain
|
||||
readonly property color trayMenuDim: "#ffdfe6ea"
|
||||
readonly property color trayMenuDim: "#ff92979b"
|
||||
readonly property color trayMenuHover: "#2289b4fa"
|
||||
readonly property color trayMenuCheck: accent
|
||||
readonly property color trayMenuSeparator: separator
|
||||
@@ -163,11 +162,11 @@ QtObject {
|
||||
readonly property color launcherInputBorderFocus: accent
|
||||
readonly property color launcherPill: "#444a5d6e"
|
||||
readonly property color launcherText: textMain
|
||||
readonly property color launcherDim: "#ffdfe6ea"
|
||||
readonly property color launcherDim: "#ff92979b"
|
||||
readonly property color launcherAccent: accent
|
||||
readonly property color launcherHover: "#2289b4fa"
|
||||
readonly property color launcherSelected: "#4489b4fa"
|
||||
readonly property color launcherModeActiveText: "#ffffffff"
|
||||
readonly property color launcherModeActiveText: "#ffccd1d4"
|
||||
readonly property color launcherModeActiveBg: accent
|
||||
|
||||
// ── Status Colors ──────────────────────────────────────────────────────────
|
||||
@@ -184,7 +183,7 @@ QtObject {
|
||||
readonly property color notifIcon: textMain
|
||||
readonly property color notifIconActive: accent
|
||||
readonly property color notifBadgeBg: statusErr
|
||||
readonly property color notifBadgeText: "#ffffffff"
|
||||
readonly property color notifBadgeText: "#ffccd1d4"
|
||||
readonly property color notifSeparator: separator
|
||||
readonly property color notifDnd: separator
|
||||
|
||||
@@ -193,13 +192,13 @@ QtObject {
|
||||
readonly property color notifToastBgHover: "#22ffffff"
|
||||
readonly property color notifToastBorder: borderPopup
|
||||
readonly property color notifToastText: textMain
|
||||
readonly property color notifToastDim: "#ffdfe6ea"
|
||||
readonly property color notifToastDim: "#ff92979b"
|
||||
readonly property color notifToastAppName: "#ff89b4fa"
|
||||
|
||||
// ── Urgency colours ───────────────────────────────────────────────────────
|
||||
readonly property color notifUrgencyCritical: statusErr
|
||||
readonly property color notifUrgencyNormal: statusInfo
|
||||
readonly property color notifUrgencyLow: "#ffdfe6ea"
|
||||
readonly property color notifUrgencyLow: "#ff92979b"
|
||||
|
||||
// ── Progress bar ───────────────────────────────────────────────────────────
|
||||
readonly property color notifProgressBg: "#22ffffff"
|
||||
@@ -209,7 +208,7 @@ QtObject {
|
||||
readonly property color notifHistoryBg: bgPopup
|
||||
readonly property color notifHistoryBorder: borderPopup
|
||||
readonly property color notifHistoryHover: "#1189b4fa"
|
||||
readonly property color notifHistoryEmpty: "#ffdfe6ea"
|
||||
readonly property color notifHistoryEmpty: "#ff92979b"
|
||||
|
||||
// ── BgDate Module ─────────────────────────────────────────────────────────
|
||||
readonly property color bgDateText: accent
|
||||
@@ -222,7 +221,7 @@ QtObject {
|
||||
readonly property color cryptoBorder: border
|
||||
readonly property color cryptoBorderHover: accent
|
||||
readonly property color cryptoIcon: accent
|
||||
readonly property color cryptoLabel: "#ffdfe6ea"
|
||||
readonly property color cryptoLabel: "#ff92979b"
|
||||
readonly property color cryptoValue: textMain
|
||||
readonly property color cryptoUp: "#ffb4c9a1"
|
||||
readonly property color cryptoDown: "#fff38ba8"
|
||||
@@ -230,13 +229,19 @@ QtObject {
|
||||
readonly property color cryptoPopupBorder: borderPopup
|
||||
readonly property color cryptoPopupHeader: accent
|
||||
readonly property color cryptoPopupText: textMain
|
||||
readonly property color cryptoPopupDim: "#ffdfe6ea"
|
||||
readonly property color cryptoPopupDim: "#ff92979b"
|
||||
|
||||
readonly property color cryptoUpBg: Qt.rgba(cryptoUp.r, cryptoUp.g, cryptoUp.b, 0.13)
|
||||
readonly property color cryptoDownBg: Qt.rgba(cryptoDown.r, cryptoDown.g, cryptoDown.b, 0.13)
|
||||
readonly property color cryptoChipRemoveBg: Qt.rgba(cryptoDown.r, cryptoDown.g, cryptoDown.b, 0.27)
|
||||
readonly property color cryptoApplyIdleBg: Qt.rgba(accent.r, accent.g, accent.b, 0.20)
|
||||
|
||||
readonly property color cryptoFieldBg: "#15ffffff"
|
||||
readonly property color cryptoFieldBgFocus: "#22ffffff"
|
||||
readonly property color cryptoRangeTrack: "#1affffff"
|
||||
readonly property color cryptoTextOnAccent: "#ff0c0e12"
|
||||
readonly property color cryptoPlaceholder: Qt.rgba(textDim.r, textDim.g, textDim.b, 0.33)
|
||||
|
||||
// ── Polkit Dialog ──────────────────────────────────────────────────────────
|
||||
readonly property color polkitOverlayBg: "#bb000000"
|
||||
readonly property color polkitCardBg: bgPopup
|
||||
@@ -245,9 +250,9 @@ QtObject {
|
||||
readonly property color polkitIconBorder: "#4489b4fa"
|
||||
readonly property color polkitIconColor: accent
|
||||
readonly property color polkitTitle: textMain
|
||||
readonly property color polkitMessage: "#cce8eef2"
|
||||
readonly property color polkitMessage: "#c2c8cb"
|
||||
readonly property color polkitPillBg: "#1a4a5d6e"
|
||||
readonly property color polkitPillText: "#ffdfe6ea"
|
||||
readonly property color polkitPillText: "#ff92979b"
|
||||
readonly property color polkitDivider: "#334a5d6e"
|
||||
readonly property color polkitSuppErrBg: "#1af38ba8"
|
||||
readonly property color polkitSuppErrBorder: "#44f38ba8"
|
||||
@@ -256,11 +261,11 @@ QtObject {
|
||||
readonly property color polkitSuppOkBorder: "#44b4c9a1"
|
||||
readonly property color polkitSuppOkText: statusOk
|
||||
readonly property color polkitFieldBg: "#44080a0d"
|
||||
readonly property color polkitFieldBorder: "#22ffffff"
|
||||
readonly property color polkitFieldBorder: "#22929297"
|
||||
readonly property color polkitFieldBorderFocus: accent
|
||||
readonly property color polkitUserLabel: "#ffdfe6ea"
|
||||
readonly property color polkitUserLabel: "#ff92979b"
|
||||
readonly property color polkitUserValue: accent
|
||||
readonly property color polkitInputPrompt: "#88dfe6ea"
|
||||
readonly property color polkitInputPrompt: "#8892979b"
|
||||
readonly property color polkitInputText: textMain
|
||||
readonly property color polkitInputSelection: "#5589b4fa"
|
||||
readonly property color polkitInputSelectedText: bg
|
||||
@@ -272,5 +277,5 @@ QtObject {
|
||||
readonly property color polkitCancelBg: "#0dffffff"
|
||||
readonly property color polkitCancelBgHover: "#22ffffff"
|
||||
readonly property color polkitCancelBorder: "#22ffffff"
|
||||
readonly property color polkitCancelText: "#cce8eef2"
|
||||
readonly property color polkitCancelText: "#c2c8cb"
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user