added three new modules (Crypto.qml, Battery.qml, Network.qml), improved Stats.qml, improved Tray.qml, optimized code in general, added a polkit agent, configurations change (check configs)
This commit is contained in:
@@ -29,13 +29,12 @@ QtObject {
|
||||
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
|
||||
readonly property color logoBg: bgPanel
|
||||
readonly property color logoBgHover: "#22ffffff"
|
||||
readonly property color logoBorder: border
|
||||
readonly property color logoBorderActive: accent
|
||||
readonly property color logoIcon: textMain
|
||||
readonly property color logoIconActive: accent
|
||||
|
||||
// ── Stats Module (Variation: Cosmic Cyan) ──────────────────────────────────
|
||||
readonly property color statsBg: bgPanel
|
||||
@@ -45,7 +44,6 @@ QtObject {
|
||||
readonly property color statsCpuColor: "#ff00f2ff"
|
||||
readonly property color statsMemColor: "#ffbc7fff" // Trail violet
|
||||
readonly property color statsDiskColor: "#ff7fbaff" // Sky blue
|
||||
readonly property color statsGpuColor: "#ff3df5ff" // Bright teal
|
||||
readonly property color statsTrackColor: "#15ffffff"
|
||||
|
||||
// ── Volume Module (Variation: Comet Purple) ────────────────────────────────
|
||||
@@ -71,15 +69,55 @@ QtObject {
|
||||
readonly property color clockTime: textMain
|
||||
readonly property color clockSeconds: "#ffbc7fff" // Purple seconds
|
||||
readonly property color clockIcon: accent
|
||||
readonly property color clockSeparator: separator
|
||||
readonly property color clockText: textMain
|
||||
readonly property color clockShadow: "#66000000"
|
||||
|
||||
// ── Battery Module ────────────────────────────────────────────────────────
|
||||
readonly property color batteryFull: accent
|
||||
readonly property color batteryCharging: accent
|
||||
readonly property color batteryCritical: statusErr
|
||||
readonly property color batteryLow: statusWarn
|
||||
readonly property color batteryIcon: clockIcon
|
||||
readonly property color batBg: bgPanel
|
||||
readonly property color batBgHover: "#11ffffff"
|
||||
readonly property color batBorder: border
|
||||
readonly property color batBorderHover: accent
|
||||
readonly property color batText: textMain
|
||||
readonly property color batPopupBg: bgPopup
|
||||
readonly property color batPopupBorder: borderPopup
|
||||
readonly property color batPopupSeparator: separator
|
||||
readonly property color batPopupHeader: "#ff82e6ff"
|
||||
readonly property color batPopupText: textMain
|
||||
readonly property color batPopupDim: textDim
|
||||
readonly property color batProgressTrack: separator
|
||||
readonly property color batProfileActiveText: bg
|
||||
|
||||
// ── Network Module ────────────────────────────────────────────────────────
|
||||
readonly property color netBg: bgPanel
|
||||
readonly property color netBgHover: "#11ffffff"
|
||||
readonly property color netBorder: border
|
||||
readonly property color netBorderHover: accent
|
||||
readonly property color netText: textMain
|
||||
readonly property color netPopupBg: bgPopup
|
||||
readonly property color netPopupBorder: borderPopup
|
||||
readonly property color netPopupSeparator: separator
|
||||
readonly property color netPopupHeader: "#ff82e6ff"
|
||||
readonly property color netPopupText: textMain
|
||||
readonly property color netPopupDim: textDim
|
||||
readonly property color netFieldBg: "#22ffffff"
|
||||
readonly property color netCancelBgHover: "#22ffffff"
|
||||
readonly property color netConnectText: "#ff050a14"
|
||||
readonly property color netApActiveBg: Qt.alpha(accent, 0.15)
|
||||
readonly property color netApHoverBg: calArrowBgHover
|
||||
readonly property color netDisconnectBg: Qt.alpha(statusErr, 0.18)
|
||||
readonly property color netDisconnectBorder: Qt.alpha(statusErr, 0.45)
|
||||
readonly property color netWiredOkBg: Qt.alpha(statusOk, 0.12)
|
||||
readonly property color netWiredErrBg: Qt.alpha(statusErr, 0.12)
|
||||
readonly property color netWiredOkBorder: Qt.alpha(statusOk, 0.4)
|
||||
readonly property color netWiredErrBorder: Qt.alpha(statusErr, 0.4)
|
||||
|
||||
// ── Calendar Popup ─────────────────────────────────────────────────────────
|
||||
readonly property color calCardBg: bgPopup
|
||||
readonly property color calCardBorder: borderPopup
|
||||
readonly property color calSeparator: separator
|
||||
readonly property color calShadow: "#88000000"
|
||||
readonly property color clockPopupHeader: "#ff82e6ff"
|
||||
readonly property color clockPopupText: textMain
|
||||
readonly property color clockPopupDim: textDim
|
||||
@@ -131,14 +169,12 @@ QtObject {
|
||||
readonly property color notifBadgeBg: statusErr
|
||||
readonly property color notifBadgeText: "#ffffffff"
|
||||
readonly property color notifSeparator: separator
|
||||
readonly property color notifDnd: separator
|
||||
|
||||
readonly property color notifDnd: separator
|
||||
|
||||
// ── Toast cards (Variation: Nebula) ────────────────────────────────────────
|
||||
readonly property color notifToastBg: bgPopup
|
||||
readonly property color notifToastBgHover: "#22ffffff"
|
||||
readonly property color notifToastBorder: borderPopup
|
||||
readonly property color notifToastShadow: "#44000000"
|
||||
readonly property color notifToastText: textMain
|
||||
readonly property color notifToastDim: textDim
|
||||
readonly property color notifToastAppName: "#ffbc7fff"
|
||||
@@ -155,11 +191,10 @@ QtObject {
|
||||
// ── History popup ──────────────────────────────────────────────────────────
|
||||
readonly property color notifHistoryBg: bgPopup
|
||||
readonly property color notifHistoryBorder: "#3300d9ff"
|
||||
readonly property color notifHistoryShadow: "#55000000"
|
||||
readonly property color notifHistoryHover: "#1100d9ff"
|
||||
readonly property color notifHistoryEmpty: textDim
|
||||
|
||||
// new variables adaptated
|
||||
// new variables adapted
|
||||
readonly property color frameBorder: "transparent"
|
||||
readonly property color clockPopupDate: textMain
|
||||
readonly property color clockPopupUtc: textDim
|
||||
@@ -169,8 +204,96 @@ QtObject {
|
||||
readonly property color calArrowBgHover: "#2200d9ff"
|
||||
readonly property color calArrowBgPress: accent
|
||||
|
||||
// ── Crypto Module ──────────────────────────────────────────────────────────
|
||||
readonly property color cryptoBg: bgPanel
|
||||
readonly property color cryptoBgHover: "#15ffffff"
|
||||
readonly property color cryptoBorder: border
|
||||
readonly property color cryptoBorderHover: accent
|
||||
readonly property color cryptoIcon: accent
|
||||
readonly property color cryptoLabel: textDim
|
||||
readonly property color cryptoValue: textMain
|
||||
readonly property color cryptoUp: statusOk
|
||||
readonly property color cryptoDown: statusErr
|
||||
readonly property color cryptoPopupBg: bgPopup
|
||||
readonly property color cryptoPopupBorder: borderPopup
|
||||
readonly property color cryptoPopupHeader: accent
|
||||
readonly property color cryptoPopupText: textMain
|
||||
readonly property color cryptoPopupDim: textDim
|
||||
|
||||
// Tinted surfaces (derived from main colours)
|
||||
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)
|
||||
|
||||
// ── BgDate Module ──────────────────────────────────────────────────────────
|
||||
readonly property color bgDateText: textMain
|
||||
readonly property color bgDateShadow: "#88000000"
|
||||
readonly property color bgDateSecondsText: textMain
|
||||
|
||||
// ── Polkit Dialog ──────────────────────────────────────────────────────────
|
||||
// Overlay
|
||||
readonly property color polkitOverlayBg: "#bb000000"
|
||||
|
||||
// Card chrome
|
||||
readonly property color polkitCardBg: bgPopup
|
||||
readonly property color polkitCardBorder: Qt.rgba(accent.r, accent.g, accent.b, 0.16)
|
||||
|
||||
// Lock icon
|
||||
readonly property color polkitIconBg: Qt.rgba(accent.r, accent.g, accent.b, 0.12)
|
||||
readonly property color polkitIconBorder: Qt.rgba(accent.r, accent.g, accent.b, 0.27)
|
||||
readonly property color polkitIconColor: accent
|
||||
|
||||
// Text hierarchy
|
||||
readonly property color polkitTitle: textMain
|
||||
readonly property color polkitMessage: textMain
|
||||
|
||||
// Action-ID pill
|
||||
readonly property color polkitPillBg: Qt.rgba(textDim.r, textDim.g, textDim.b, 0.10)
|
||||
readonly property color polkitPillText: textDim
|
||||
|
||||
// Divider
|
||||
readonly property color polkitDivider: separator
|
||||
|
||||
// Supplementary message — error state
|
||||
readonly property color polkitSuppErrBg: Qt.rgba(statusErr.r, statusErr.g, statusErr.b, 0.10)
|
||||
readonly property color polkitSuppErrBorder: Qt.rgba(statusErr.r, statusErr.g, statusErr.b, 0.27)
|
||||
readonly property color polkitSuppErrText: statusErr
|
||||
|
||||
// Supplementary message — info / ok state
|
||||
readonly property color polkitSuppOkBg: Qt.rgba(statusOk.r, statusOk.g, statusOk.b, 0.10)
|
||||
readonly property color polkitSuppOkBorder: Qt.rgba(statusOk.r, statusOk.g, statusOk.b, 0.27)
|
||||
readonly property color polkitSuppOkText: statusOk
|
||||
|
||||
// Fields (password input & identity selector)
|
||||
readonly property color polkitFieldBg: launcherInput
|
||||
readonly property color polkitFieldBorder: "#22ffffff"
|
||||
readonly property color polkitFieldBorderFocus: accent
|
||||
|
||||
// Identity selector text
|
||||
readonly property color polkitUserLabel: textDim
|
||||
readonly property color polkitUserValue: accent
|
||||
|
||||
// Input prompt label above password field
|
||||
readonly property color polkitInputPrompt: textDim
|
||||
|
||||
// TextInput inside password field
|
||||
readonly property color polkitInputText: textMain
|
||||
readonly property color polkitInputSelection: Qt.rgba(accent.r, accent.g, accent.b, 0.33)
|
||||
readonly property color polkitInputSelectedText: bg
|
||||
|
||||
// Eye / show-password toggle
|
||||
readonly property color polkitEyeIcon: textDim
|
||||
readonly property color polkitEyeIconHover: accent
|
||||
|
||||
// Authenticate button
|
||||
readonly property color polkitAuthBg: accent
|
||||
readonly property color polkitAuthBgHover: Qt.lighter(accent, 1.15)
|
||||
readonly property color polkitAuthText: bg
|
||||
|
||||
// Cancel button
|
||||
readonly property color polkitCancelBg: "transparent"
|
||||
readonly property color polkitCancelBgHover: "#22ffffff"
|
||||
readonly property color polkitCancelBorder: "#22ffffff"
|
||||
readonly property color polkitCancelText: textDim
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user