Skip to content

Commit 613d5bf

Browse files
authored
Add --radius-full variable
The `rounded-full` classname doesn't match the pattern of the other radius classnames: ``` rounded-xl: border-radius: var(--radius-xl) rounded-2xl: border-radius: var(--radius-2xl) rounded-3xl: border-radius: var(--radius-3xl) rounded-full: border-radius: calc(infinity * 1px) ``` This PR makes `var(--rounded-full)` available to use like all the others in the theme.css.
1 parent 85c6e04 commit 613d5bf

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

packages/tailwindcss/theme.css

+1
Original file line numberDiff line numberDiff line change
@@ -354,6 +354,7 @@
354354
--radius-2xl: 1rem;
355355
--radius-3xl: 1.5rem;
356356
--radius-4xl: 2rem;
357+
--radius-full: calc(infinity * 1px)
357358

358359
--shadow-2xs: 0 1px rgb(0 0 0 / 0.05);
359360
--shadow-xs: 0 1px 2px 0 rgb(0 0 0 / 0.05);

0 commit comments

Comments
 (0)