From 92590eada7c73c15cc4ed48fab3577b721622b3f Mon Sep 17 00:00:00 2001 From: quadbyte Date: Thu, 14 Aug 2025 19:56:19 -0400 Subject: [PATCH] Revised colors comments --- Services/Colors.qml | 3 ++- Widgets/NCard.qml | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/Services/Colors.qml b/Services/Colors.qml index eef8aae..4d80001 100644 --- a/Services/Colors.qml +++ b/Services/Colors.qml @@ -8,11 +8,12 @@ import qs.Services // -------------------------------- // Noctalia Colors - Material Design 3 // 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 { 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 mOnPrimary: useCustom ? customColors.mOnPrimary : defaultColors.mOnPrimary property color mSecondary: useCustom ? customColors.mSecondary : defaultColors.mSecondary diff --git a/Widgets/NCard.qml b/Widgets/NCard.qml index 19e162c..f468091 100644 --- a/Widgets/NCard.qml +++ b/Widgets/NCard.qml @@ -1,7 +1,7 @@ import QtQuick import qs.Services -// Generic themed card container +// Generic card container Rectangle { id: root