Calendar: conditional weather card - wip

This commit is contained in:
ItsLemmy
2025-10-30 14:02:42 -04:00
parent 114cbc9f9f
commit ca72a5ca8f
11 changed files with 66 additions and 106 deletions
+1 -4
View File
@@ -29,10 +29,7 @@ Item {
var defaultColor = Color.mError
var bestContrast = 1.0 // 1.0 is "no contrast"
var bestColor = defaultColor
var candidates = [Color.mSecondary,
Color.mTertiary,
Color.mError,
]
var candidates = [Color.mSecondary, Color.mTertiary, Color.mError]
const minContrast = 1.149