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:
@@ -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"
|
||||
|
||||
Reference in New Issue
Block a user