File tree Expand file tree Collapse file tree 1 file changed +18
-1
lines changed
packages/hap-compiler/src/style Expand file tree Collapse file tree 1 file changed +18
-1
lines changed Original file line number Diff line number Diff line change @@ -2656,7 +2656,24 @@ const validatorMap = {
2656
2656
starSecondary : validator . url ,
2657
2657
// font
2658
2658
fontSrc : validator . fontSrc ,
2659
- fontFamily : validator . fontFamily
2659
+ fontFamily : validator . fontFamily ,
2660
+ themeColor : makeEnumValidator ( [
2661
+ 'uxCardColorTheme' ,
2662
+ 'uxCardColorAccent' ,
2663
+ 'uxCardColorPrimary' ,
2664
+ 'uxCardColorSecondary' ,
2665
+ 'uxCardColorSecondaryVariant' ,
2666
+ 'uxCardColorTertiary' ,
2667
+ 'uxCardColorQuaternary' ,
2668
+ 'uxCardColorContainer' ,
2669
+ 'uxCardBackground' ,
2670
+ 'uxCardColorHue' ,
2671
+ 'uxCardColorHueSecondary' ,
2672
+ 'uxIconColorAccent' ,
2673
+ 'uxIconColorPrimary' ,
2674
+ 'uxIconColorSecondary' ,
2675
+ 'uxIconColorBackground'
2676
+ ] )
2660
2677
}
2661
2678
2662
2679
/**
You can’t perform that action at this time.
0 commit comments