Allow default ring color to be a function (#7587)
* Allow default ring color to be a function * Update changelog
This commit is contained in:
parent
3b8ca9d4eb
commit
d72b277ba6
3 changed files with 99 additions and 1 deletions
|
|
@ -1925,7 +1925,7 @@ export let corePlugins = {
|
|||
ringWidth: ({ matchUtilities, addDefaults, addUtilities, theme }) => {
|
||||
let ringOpacityDefault = theme('ringOpacity.DEFAULT', '0.5')
|
||||
let ringColorDefault = withAlphaValue(
|
||||
theme('ringColor.DEFAULT'),
|
||||
theme('ringColor')?.DEFAULT,
|
||||
ringOpacityDefault,
|
||||
`rgb(147 197 253 / ${ringOpacityDefault})`
|
||||
)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue