Revised colors comments
This commit is contained in:
parent
06f8f93f83
commit
92590eada7
2 changed files with 3 additions and 2 deletions
|
|
@ -8,11 +8,12 @@ import qs.Services
|
||||||
// --------------------------------
|
// --------------------------------
|
||||||
// Noctalia Colors - Material Design 3
|
// Noctalia Colors - Material Design 3
|
||||||
// We only use a very small subset of all available m3 colors to avoid complexity
|
// We only use a very small subset of all available m3 colors to avoid complexity
|
||||||
|
// All color names start with a 'm' to avoid QML assuming some of them are signals (ex: onPrimary)
|
||||||
|
|
||||||
Singleton {
|
Singleton {
|
||||||
id: root
|
id: root
|
||||||
|
|
||||||
// --- Key Colors: These are the main accent colors that define your app's theme
|
// --- Key Colors: These are the main accent colors that define your app's style
|
||||||
property color mPrimary: useCustom ? customColors.mPrimary : defaultColors.mPrimary
|
property color mPrimary: useCustom ? customColors.mPrimary : defaultColors.mPrimary
|
||||||
property color mOnPrimary: useCustom ? customColors.mOnPrimary : defaultColors.mOnPrimary
|
property color mOnPrimary: useCustom ? customColors.mOnPrimary : defaultColors.mOnPrimary
|
||||||
property color mSecondary: useCustom ? customColors.mSecondary : defaultColors.mSecondary
|
property color mSecondary: useCustom ? customColors.mSecondary : defaultColors.mSecondary
|
||||||
|
|
|
||||||
|
|
@ -1,7 +1,7 @@
|
||||||
import QtQuick
|
import QtQuick
|
||||||
import qs.Services
|
import qs.Services
|
||||||
|
|
||||||
// Generic themed card container
|
// Generic card container
|
||||||
Rectangle {
|
Rectangle {
|
||||||
id: root
|
id: root
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue