repositories / dotfiles
dotfiles
bugabingas dorkfiles
owned by admin
quickshell/nuguland/Theme.qml
Rawimport QtQuick
Item {
id: theme
property bool lowPowerMode: false
readonly property string mode: "dark"
readonly property var colors: ({
"debug": "#ed5eed",
"error": "#ec6376",
"warning": "#f0ee69",
"info": "#3ec5e3",
"content": {
"normal": "#ededed",
"backdrop": "#121212",
"accent": "#d151d1",
"minor": "#8b8b8b",
"focus": "#7ba1aa",
"unfocus": "#5d5d5d",
"important_local": "#b59ae4",
"important_global": "#dfd3f3"
},
"ui": {
"normal": "#dbdbdb",
"backdrop": "#242424",
"accent": "#d86dd8",
"minor": "#9d9d9d",
"focus": "#9aabae",
"unfocus": "#6f6f6f",
"important_local": "#c9b6eb",
"important_global": "#f3effb"
}
})
readonly property var content: colors.content
readonly property var ui: colors.ui
readonly property string error: colors.error
readonly property string warning: colors.warning
readonly property string info: colors.info
readonly property string debug: colors.debug
function withAlpha(hex, alpha) {
const aa = Math.round(Math.max(0, Math.min(1, alpha)) * 255).toString(16).padStart(2, "0");
return `#${aa}${String(hex).slice(1)}`;
}
function reload() {
return mode;
}
visible: false
}