fix: Removed semicolon from ring design tokens (#2111)

This commit is contained in:
CokaKoala
2023-10-04 12:54:09 -04:00
committed by GitHub
parent f958333735
commit e71f935540
2 changed files with 6 additions and 1 deletions

View File

@@ -0,0 +1,5 @@
---
"@skeletonlabs/tw-plugin": patch
---
bugfix: Resolved an issue where the ring design token would generate invalid CSS when using the important modifier `!`

View File

@@ -27,7 +27,7 @@ export const rings = (): CssClasses => {
// Example: .ring-outline-token // Example: .ring-outline-token
'.ring-outline-token': { '.ring-outline-token': {
...ringOutlineShared, ...ringOutlineShared,
'--tw-ring-color': 'rgb(23 23 23 / 0.05);' // neutral-900, 5% opacity '--tw-ring-color': 'rgb(23 23 23 / 0.05)' // neutral-900, 5% opacity
}, },
'.dark .ring-outline-token': { '.dark .ring-outline-token': {
...ringOutlineShared, ...ringOutlineShared,