We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 06de5a7 commit 29df3e3Copy full SHA for 29df3e3
packages/crosswind/src/rules.ts
@@ -691,6 +691,9 @@ export const borderSideWidthRule: UtilityRule = (parsed) => {
691
692
export const borderRadiusRule: UtilityRule = (parsed, config) => {
693
if (parsed.utility === 'rounded') {
694
+ if (parsed.arbitrary && parsed.value) {
695
+ return { 'border-radius': parsed.value } as Record<string, string>
696
+ }
697
const value = parsed.value ? config.theme.borderRadius[parsed.value] : config.theme.borderRadius.DEFAULT
698
return value ? { 'border-radius': value } : undefined
699
}
0 commit comments