Define Colors

This commit is contained in:
Yuri Becker
2025-03-13 10:45:55 +01:00
parent 2704177fdb
commit 343e15c873
2 changed files with 18 additions and 0 deletions

17
Gui/Style/Colors.qml Normal file
View File

@@ -0,0 +1,17 @@
pragma Singleton
import QtQuick
QtObject {
readonly property int dark: 0
readonly property int light: 1
property int theme: dark
readonly property color primary: "#b81a34"
readonly property color foreground: theme === dark ? "#fdfdfd" : "#110b0c"
readonly property color background: theme === dark ? "#303136" : "#eff1f5"
readonly property color mantle: theme === dark ? "#1e1f22" : "#e7e9ef"
readonly property color interactive: theme === dark ? "#878b97" : "#d9d9da"
readonly property color error: theme === dark ? "#ff2264" : "#ff004b"
}