File tree Expand file tree Collapse file tree 6 files changed +7
-6
lines changed Expand file tree Collapse file tree 6 files changed +7
-6
lines changed Original file line number Diff line number Diff line change @@ -73,7 +73,7 @@ const LAYOUT_MAP = {
7373 < Placeholder
7474 key = { i }
7575 isStatic = { isStatic }
76- radius = "1x "
76+ radius = "1r "
7777 width = "20x"
7878 height = "12x"
7979 flexGrow = { 1 }
Original file line number Diff line number Diff line change @@ -51,7 +51,7 @@ const RadioGroupElement = tasty({
5151 'horizontal & solid' : 'row' ,
5252 } ,
5353 gap : {
54- '' : '1x ' ,
54+ '' : '.75x ' ,
5555 solid : 0 ,
5656 } ,
5757 whiteSpace : 'nowrap' ,
Original file line number Diff line number Diff line change @@ -207,7 +207,7 @@ export function Modal(allProps: CubeModalProps) {
207207 padding = "0"
208208 shadow = { true }
209209 border = { false }
210- radius = "1.5r "
210+ radius = "1x "
211211 width = { `288px (100% - 32px) ${
212212 typeof width === 'number' ? `${ width } px` : width || '360px'
213213 } `}
Original file line number Diff line number Diff line change @@ -48,8 +48,8 @@ const DialogElement = tasty({
4848 gap : 0 ,
4949 flow : 'column' ,
5050 radius : {
51- '' : '2r ' ,
52- '[data-type="tray"]' : '2r top' ,
51+ '' : '@modal-radius ' ,
52+ '[data-type="tray"]' : '@modal-radius top' ,
5353 '[data-type="fullscreenTakeover"] | [data-type="panel"]' : '0r' ,
5454 } ,
5555 fill : '#white' ,
Original file line number Diff line number Diff line change @@ -26,7 +26,7 @@ export const StyledMenu = tasty({
2626 '' : '#dark-05' ,
2727 section : '' ,
2828 } ,
29- radius : '(1r + .5x + 1bw) ' ,
29+ radius : '@modal-radius ' ,
3030 boxShadow : {
3131 '' : '' ,
3232 popover : '0px 5px 15px #dark.05' ,
Original file line number Diff line number Diff line change @@ -43,6 +43,7 @@ const TOKENS = {
4343 'outline-width' : 'calc(1rem / 16 * 3)' ,
4444 'border-width' : '1px' ,
4545 radius : '6px' ,
46+ 'modal-radius' : '(1r + .5x + 1bw)' ,
4647 'leaf-sharp-radius' : '0px' ,
4748 'fade-width' : '32px' ,
4849 transition : '80ms' ,
You can’t perform that action at this time.
0 commit comments