File tree Expand file tree Collapse file tree 2 files changed +4
-1
lines changed Expand file tree Collapse file tree 2 files changed +4
-1
lines changed Original file line number Diff line number Diff line change @@ -56,6 +56,7 @@ export const scales = {
56
56
color : 'colors' ,
57
57
backgroundColor : 'colors' ,
58
58
borderColor : 'colors' ,
59
+ caretColor : 'colors' ,
59
60
opacity : 'opacities' ,
60
61
margin : 'space' ,
61
62
marginTop : 'space' ,
Original file line number Diff line number Diff line change @@ -383,14 +383,16 @@ test('flexBasis uses theme.sizes', () => {
383
383
} )
384
384
} )
385
385
386
- test ( 'fill and stroke use theme.colors' , ( ) => {
386
+ test ( 'fill and stroke and caretColor use theme.colors' , ( ) => {
387
387
const style = css ( {
388
388
fill : 'primary' ,
389
389
stroke : 'secondary' ,
390
+ caretColor : 'primary' ,
390
391
} ) ( theme )
391
392
expect ( style ) . toEqual ( {
392
393
fill : 'tomato' ,
393
394
stroke : 'cyan' ,
395
+ caretColor : 'tomato' ,
394
396
} )
395
397
} )
396
398
You can’t perform that action at this time.
0 commit comments