pragma Singleton import QtQuick // Phoebus brand tokens. Kept in sync with phoebus_core::brand::PALETTE by a // Rust test, so the QML frontend and the backend cannot drift. QtObject { id: theme // Palette: charcoal, warm white, restrained amber. readonly property color charcoal: "#17171b" readonly property color surface: "#232329" readonly property color surfaceRaised: "#2b2b33" readonly property color border: "#3a3a42" readonly property color warmWhite: "#f4efe6" readonly property color muted: "#a8a29a" readonly property color amber: "#e8a33d" readonly property color amberDeep: "#c97f24" readonly property color success: "#7fb069" readonly property color warning: "#e0a24a" readonly property color danger: "#d2564b" readonly property color focusRing: amber readonly property color overlay: Qt.rgba(0.09, 0.09, 0.10, 0.72) // Layout. readonly property int radius: 12 readonly property int radiusSmall: 8 readonly property int gutter: 20 readonly property int pad: 16 readonly property int padLarge: 28 // Type scale. readonly property int fontDisplay: 30 readonly property int fontTitle: 22 readonly property int fontHeading: 17 readonly property int fontBody: 14 readonly property int fontSmall: 12 readonly property string family: "DejaVu Sans, Noto Sans, sans-serif" // Branding assets installed by the live build. readonly property string brandDir: "/usr/share/phoebus/branding" readonly property string emblem: brandDir + "/emblem.svg" readonly property string wordmark: brandDir + "/wordmark.svg" readonly property string wallpaper: brandDir + "/wallpaper.svg" }