From 95ddee14c0f376c948149ef9353ac5bf09b02612 Mon Sep 17 00:00:00 2001 From: keithburgie <96078669+keithburgie@users.noreply.github.com> Date: Thu, 6 Mar 2025 12:29:32 -0500 Subject: [PATCH] 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. --- packages/tailwindcss/theme.css | 1 + 1 file changed, 1 insertion(+) diff --git a/packages/tailwindcss/theme.css b/packages/tailwindcss/theme.css index d4e4b040b141..66460a71a7fa 100644 --- a/packages/tailwindcss/theme.css +++ b/packages/tailwindcss/theme.css @@ -354,6 +354,7 @@ --radius-2xl: 1rem; --radius-3xl: 1.5rem; --radius-4xl: 2rem; + --radius-full: calc(infinity * 1px) --shadow-2xs: 0 1px rgb(0 0 0 / 0.05); --shadow-xs: 0 1px 2px 0 rgb(0 0 0 / 0.05);