File tree Expand file tree Collapse file tree 2 files changed +19
-2
lines changed Expand file tree Collapse file tree 2 files changed +19
-2
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
/**
Original file line number Diff line number Diff line change @@ -53,7 +53,7 @@ describe('hap-toolkit', () => {
53
53
expect ( stderr . toString ( ) ) . toMatch ( / P l e a s e p i c k a n e w n a m e / )
54
54
await del ( [ targetdirForExist , targetdirForNonExist ] , { force : true } )
55
55
} ,
56
- 10 * 60 * 1000
56
+ 100 * 60 * 1000
57
57
)
58
58
59
59
it (
You can’t perform that action at this time.
0 commit comments