@duskmoon-dev/core 1.12.2 → 1.12.4
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.
|
@@ -103,6 +103,14 @@ var themeColors = {
|
|
|
103
103
|
shadow: "var(--color-shadow)"
|
|
104
104
|
};
|
|
105
105
|
var duskmoonPlugin = import_plugin.default(({ addBase, matchUtilities, theme }) => {
|
|
106
|
+
matchUtilities({
|
|
107
|
+
"grid-cols-auto-fill": (value) => ({
|
|
108
|
+
"grid-template-columns": `repeat(auto-fill, minmax(min(${value}, 100%), 1fr))`
|
|
109
|
+
}),
|
|
110
|
+
"grid-cols-auto-fit": (value) => ({
|
|
111
|
+
"grid-template-columns": `repeat(auto-fit, minmax(min(${value}, 100%), 1fr))`
|
|
112
|
+
})
|
|
113
|
+
}, { values: theme("spacing") });
|
|
106
114
|
addBase({
|
|
107
115
|
':root, [data-theme="sunshine"]': {
|
|
108
116
|
"--color-primary": "oklch(0.55 0.2 260)",
|
|
@@ -35,6 +35,14 @@ var themeColors = {
|
|
|
35
35
|
shadow: "var(--color-shadow)"
|
|
36
36
|
};
|
|
37
37
|
var duskmoonPlugin = plugin(({ addBase, matchUtilities, theme }) => {
|
|
38
|
+
matchUtilities({
|
|
39
|
+
"grid-cols-auto-fill": (value) => ({
|
|
40
|
+
"grid-template-columns": `repeat(auto-fill, minmax(min(${value}, 100%), 1fr))`
|
|
41
|
+
}),
|
|
42
|
+
"grid-cols-auto-fit": (value) => ({
|
|
43
|
+
"grid-template-columns": `repeat(auto-fit, minmax(min(${value}, 100%), 1fr))`
|
|
44
|
+
})
|
|
45
|
+
}, { values: theme("spacing") });
|
|
38
46
|
addBase({
|
|
39
47
|
':root, [data-theme="sunshine"]': {
|
|
40
48
|
"--color-primary": "oklch(0.55 0.2 260)",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"tailwind-plugin.d.ts","sourceRoot":"","sources":["../../src/tailwind-plugin.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,MAAM,MAAM,oBAAoB,CAAC;AAiDxC;;;;;GAKG;AACH,QAAA,MAAM,cAAc,EAAE,UAAU,CAAC,OAAO,MAAM,
|
|
1
|
+
{"version":3,"file":"tailwind-plugin.d.ts","sourceRoot":"","sources":["../../src/tailwind-plugin.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,MAAM,MAAM,oBAAoB,CAAC;AAiDxC;;;;;GAKG;AACH,QAAA,MAAM,cAAc,EAAE,UAAU,CAAC,OAAO,MAAM,CAmG7C,CAAC;AAEF,eAAe,cAAc,CAAC;AAC9B,OAAO,EAAE,cAAc,EAAE,CAAC"}
|
package/package.json
CHANGED