1010 }
1111}
1212
13+ @function spacing ($increment ) {
14+ @return $increment * 0.25rem ;
15+ }
16+
1317$font-weight : (
1418 " thin" : 100 ,
1519 " extralight" : 200 ,
@@ -43,14 +47,14 @@ $font-size: (
4347 " 9xl" : 8rem ,
4448);
4549
46- @function font-size ($size ) {
50+ @function font-size ($size : " $base " ) {
4751 @return map-get-strict ($font-size , $size );
4852}
4953
5054$border-radius : (
5155 " none" : 0px ,
5256 " sm" : 0.125rem ,
53- " DEFAULT " : 0.25rem ,
57+ " base " : 0.25rem ,
5458 " md" : 0.375rem ,
5559 " lg" : 0.5rem ,
5660 " xl" : 0.75rem ,
@@ -59,14 +63,10 @@ $border-radius: (
5963 " full" : 9999px ,
6064);
6165
62- @function border-radius ($radius : " DEFAULT " ) {
66+ @function border-radius ($radius : " base " ) {
6367 @return map-get-strict ($border-radius , $radius );
6468}
6569
66- @function spacing ($increment ) {
67- @return $increment * 0.25rem ;
68- }
69-
7070$color-pallette : (
7171 " black" : #000 ,
7272 " white" : #fff ,
@@ -389,6 +389,7 @@ $color-pallette: (
389389}
390390
391391$color : (
392+ " transparent" : transparent ,
392393 " background" : (
393394 " primary" : light-dark (pallette-color (" white" ), pallette-color (" steel" , 950 )),
394395 " modal" : light-dark (pallette-color (" white" ), pallette-color (" steel" , 950 )),
@@ -427,15 +428,18 @@ $color: (
427428 light-dark (pallette-color (" steel" , 900 ), pallette-color (" steel" , 50 )),
428429 ),
429430 ),
431+ " focus" :
432+ light-dark (pallette-color (" violet" , 700 ), pallette-color (" violet" , 500 )),
433+ " focus-dim" :
434+ light-dark (
435+ rgba (pallette-color (" violet" , 700 ), 0.3 ),
436+ rgba (pallette-color (" violet" , 500 ), 0.3 )
437+ ),
430438 " forms" : (
431- " focus-color" : light-dark (rgba (#7142cf , 0.2 ), rgba (#7b4cd9 , 0.2 )),
432439 " input" : (
433440 " hover" : (
434441 " border" : pallette-color (" stone" , 400 ),
435442 ),
436- " focus" : (
437- " border" : pallette-color (" steel" , 500 ),
438- ),
439443 ),
440444 ),
441445 " button" : (
@@ -485,8 +489,16 @@ $color: (
485489 " foreground" :
486490 light-dark (pallette-color (" stone" , 900 ), pallette-color (" steel" , 50 )),
487491 " background" : (
488- " hover" : light-dark (rgba (#715858 , 0.05 ), rgba (#e9ecff , 0.05 )),
489- " active" : light-dark (rgba (#715858 , 0.1 ), rgba (#e9ecff , 0.1 )),
492+ " hover" :
493+ light-dark (
494+ rgba (pallette-color (" beige" , 950 ), 0.05 ),
495+ rgba (pallette-color (" steel" , 50 ), 0.05 )
496+ ),
497+ " active" :
498+ light-dark (
499+ rgba (pallette-color (" beige" , 950 ), 0.1 ),
500+ rgba (pallette-color (" steel" , 50 ), 0.1 )
501+ ),
490502 ),
491503 ),
492504 " disabled" : (
0 commit comments