winduum 0.5.1 → 0.5.2-next.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +1 -1
- package/src/base/default.css +1 -0
- package/utils/tailwind.js +3 -3
package/package.json
CHANGED
package/src/base/default.css
CHANGED
package/utils/tailwind.js
CHANGED
|
@@ -141,7 +141,7 @@ export const createPlugin = (userConfig = {}) => {
|
|
|
141
141
|
...userConfig
|
|
142
142
|
}
|
|
143
143
|
|
|
144
|
-
return plugin(({ addUtilities, matchUtilities, theme, variants, e, corePlugins }) => {
|
|
144
|
+
return plugin(({ addUtilities, addComponents, matchUtilities, theme, variants, e, corePlugins }) => {
|
|
145
145
|
matchUtilities(
|
|
146
146
|
{
|
|
147
147
|
accent: (value) => {
|
|
@@ -239,7 +239,7 @@ export const createPlugin = (userConfig = {}) => {
|
|
|
239
239
|
)
|
|
240
240
|
addUtilities(tailwindAnimations(userConfig.animations))
|
|
241
241
|
addUtilities(tailwindPropertyUtilities('mask', userConfig.mask))
|
|
242
|
-
|
|
242
|
+
addComponents([
|
|
243
243
|
Object.entries(theme('spacing')).map(([key, value]) => {
|
|
244
244
|
return {
|
|
245
245
|
[`.${e(`divide-gap-x-${key}`)}`]: {
|
|
@@ -257,7 +257,7 @@ export const createPlugin = (userConfig = {}) => {
|
|
|
257
257
|
}
|
|
258
258
|
})
|
|
259
259
|
])
|
|
260
|
-
|
|
260
|
+
addComponents({
|
|
261
261
|
'.flex-center': {
|
|
262
262
|
display: 'flex',
|
|
263
263
|
alignItems: 'center',
|