File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed
src/scripts/build/cssToTs Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -22,9 +22,9 @@ type Variant = typeof variants[number];
2222export type ParsedColorDecisionName = {
2323 context : Context ;
2424 usage : string ; //default alt contrast altOverlap contrastRaised
25- variant : Variant | undefined ;
25+ variant ? : Variant ;
2626 colorName : string ; // "grey" "blueFrance"
27- state : State | undefined ;
27+ state ? : State ;
2828} ;
2929
3030export function createParseColorDecisionName ( rawCssCode : string ) {
Original file line number Diff line number Diff line change @@ -21,7 +21,7 @@ export type State = typeof states[number];
2121
2222export type BrightnessIndex = {
2323 value : number ;
24- variant : Variant | undefined ;
24+ variant ? : Variant ;
2525} ;
2626
2727export type ParsedColorOptionName =
@@ -31,7 +31,7 @@ export type ParsedColorOptionName =
3131export declare namespace ParsedColorOptionName {
3232 type Common = {
3333 colorName : string ;
34- state : State | undefined ;
34+ state ? : State ;
3535 } ;
3636
3737 /** Same value in dark and light mode */
You can’t perform that action at this time.
0 commit comments