@@ -423,15 +423,18 @@ $color: (
423423 light-dark (pallette-color (" steel" , 900 ), pallette-color (" steel" , 50 )),
424424 ),
425425 ),
426+ " focus" :
427+ light-dark (pallette-color (" violet" , 700 ), pallette-color (" violet" , 500 )),
428+ " focus-dim" :
429+ light-dark (
430+ rgba (pallette-color (" violet" , 700 ), 0.3 ),
431+ rgba (pallette-color (" violet" , 500 ), 0.3 )
432+ ),
426433 " forms" : (
427- " focus-color" : light-dark (rgba (#7142cf , 0.2 ), rgba (#7b4cd9 , 0.2 )),
428434 " input" : (
429435 " hover" : (
430436 " border" : pallette-color (" stone" , 400 ),
431437 ),
432- " focus" : (
433- " border" : pallette-color (" steel" , 500 ),
434- ),
435438 ),
436439 ),
437440 " button" : (
@@ -481,8 +484,16 @@ $color: (
481484 " foreground" :
482485 light-dark (pallette-color (" stone" , 900 ), pallette-color (" steel" , 50 )),
483486 " background" : (
484- " hover" : light-dark (rgba (#715858 , 0.05 ), rgba (#e9ecff , 0.05 )),
485- " active" : light-dark (rgba (#715858 , 0.1 ), rgba (#e9ecff , 0.1 )),
487+ " hover" :
488+ light-dark (
489+ rgba (pallette-color (" beige" , 950 ), 0.05 ),
490+ rgba (pallette-color (" steel" , 50 ), 0.05 )
491+ ),
492+ " active" :
493+ light-dark (
494+ rgba (pallette-color (" beige" , 950 ), 0.1 ),
495+ rgba (pallette-color (" steel" , 50 ), 0.1 )
496+ ),
486497 ),
487498 ),
488499 " disabled" : (
@@ -544,6 +555,13 @@ $button-sizes: (
544555 @return map-get-strict ($button-sizes , $size , " icon-size" );
545556}
546557
558+ $shadows : (
559+ " focus" : 0px 0px 0px 4px color (" focus-dim" ),
560+ );
561+ @mixin shadow ($shadow ...) {
562+ box-shadow : map-get-strict ($shadows , $shadow ... );
563+ }
564+
547565@mixin sr-only {
548566 position : absolute ;
549567 width : 1px ;
0 commit comments