Skip to content

Commit c4567c7

Browse files
committed
fix: change default border radius to 6px * 6
1 parent 0bed3fa commit c4567c7

File tree

4 files changed

+5
-5
lines changed

4 files changed

+5
-5
lines changed

src/components/fields/Select/Select.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -196,7 +196,7 @@ const ListBoxElement = tasty({
196196
margin: '0',
197197
padding: '.5x',
198198
listStyle: 'none',
199-
radius: '(@large-radius - 1bw)',
199+
radius: '@large-radius',
200200
fill: '#white',
201201
shadow: '0px 4px 16px #shadow',
202202
height: 'initial 30x',

src/components/overlays/Dialog/Dialog.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -48,8 +48,8 @@ const DialogElement = tasty({
4848
gap: 0,
4949
flow: 'column',
5050
radius: {
51-
'': '@large-radius',
52-
'[data-type="tray"]': '@large-radius top',
51+
'': '(@large-radius + 1bw)',
52+
'[data-type="tray"]': '(@large-radius + 1bw) top',
5353
'[data-type="fullscreenTakeover"] | [data-type="panel"]': '0r',
5454
},
5555
fill: '#white',

src/components/pickers/Menu/styled.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ export const StyledMenu = tasty({
2626
'': '#dark-05',
2727
section: '',
2828
},
29-
radius: '@large-radius',
29+
radius: '(@large-radius + 1bw)',
3030
boxShadow: {
3131
'': '',
3232
popover: '0px 5px 15px #dark.05',

src/tokens.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ const TOKENS = {
4343
'outline-width': 'calc(1rem / 16 * 3)',
4444
'border-width': '1px',
4545
radius: '6px',
46-
'large-radius': '(1r + .5x + 1bw)',
46+
'large-radius': '(1r + .5x)',
4747
'leaf-sharp-radius': '0px',
4848
'fade-width': '32px',
4949
transition: '80ms',

0 commit comments

Comments
 (0)