Conversation
|
Hey! We didn't make this a variable out of the box because |
|
Hey 👋 I understand what you're saying. I ran into it because I was trying to use 'var(--rounded-full)' as a value for a custom variable — not trying to override what it meant. I was stumped at first why it wasn't working like the others. I ended up not needing it, because, as you said, the component in question was always going to be round and I was able to use @apply. But I could imagine someone out there wanting to use it that way. My situation is one where I'm not interacting with HTML. I'm working on a library that a consuming app will need to theme via CSS file. There's a good chance I'm doing everything wrong 😅 |
|
Nah that makes sense! I think it's probably worth including this one anyways because the |
|
Note for us maintainers, if we remove the hard-coded @theme {
--*: initial
}...would now lose the |
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.
|
Hey @keithburgie! I just landed #18056 that will make it possible to add the |
The
rounded-fullclassname doesn't match the pattern of the other radius classnames:This PR makes
var(--rounded-full)available to use like all the others in the theme.css.