Skip to content

Commit 29df3e3

Browse files
committed
chore: wip
1 parent 06de5a7 commit 29df3e3

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

packages/crosswind/src/rules.ts

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -691,6 +691,9 @@ export const borderSideWidthRule: UtilityRule = (parsed) => {
691691

692692
export const borderRadiusRule: UtilityRule = (parsed, config) => {
693693
if (parsed.utility === 'rounded') {
694+
if (parsed.arbitrary && parsed.value) {
695+
return { 'border-radius': parsed.value } as Record<string, string>
696+
}
694697
const value = parsed.value ? config.theme.borderRadius[parsed.value] : config.theme.borderRadius.DEFAULT
695698
return value ? { 'border-radius': value } : undefined
696699
}

0 commit comments

Comments
 (0)