@breadstone/mosaik-themes 0.0.175 → 0.0.177
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/Themes/___cosmopolitan-tokens.css +9 -9
- package/Themes/cosmopolitan-tokens.scss +9 -9
- package/Themes/cosmopolitan.scss +9 -9
- package/Theming/Strategies/CosmopolitanThemeGeneratorStrategy.d.ts.map +1 -1
- package/Theming/Strategies/CosmopolitanThemeGeneratorStrategy.js +7 -9
- package/Theming/Strategies/CosmopolitanThemeGeneratorStrategy.js.map +1 -1
- package/Theming/Strategies/MaterialThemeGeneratorStrategy.d.ts.map +1 -1
- package/Theming/Strategies/MaterialThemeGeneratorStrategy.js +17 -19
- package/Theming/Strategies/MaterialThemeGeneratorStrategy.js.map +1 -1
- package/Theming/Tokens/CosmopolitanTokens.d.ts +9 -9
- package/Theming/Tokens/CosmopolitanTokens.d.ts.map +1 -1
- package/Theming/Tokens/CosmopolitanTokens.js +9 -9
- package/Theming/Tokens/CosmopolitanTokens.js.map +1 -1
- package/package.json +3 -3
- package/tailwind/v3/mosaik-bootstrap.tailwind.config.cjs +85 -65
- package/tailwind/v3/mosaik-cosmopolitan.tailwind.config.cjs +110 -226
- package/tailwind/v3/mosaik-fluent.tailwind.config.cjs +35 -23
- package/tailwind/v3/mosaik-joy.tailwind.config.cjs +380 -517
- package/tailwind/v3/mosaik-material.tailwind.config.cjs +27 -15
- package/tailwind/v3/mosaik-memphis.tailwind.config.cjs +321 -401
- package/tailwind/v3/plugins/mosaik-bootstrap.tailwind.plugin.cjs +96 -80
- package/tailwind/v3/plugins/mosaik-cosmopolitan.tailwind.plugin.cjs +120 -240
- package/tailwind/v3/plugins/mosaik-fluent.tailwind.plugin.cjs +46 -38
- package/tailwind/v3/plugins/mosaik-joy.tailwind.plugin.cjs +391 -532
- package/tailwind/v3/plugins/mosaik-material.tailwind.plugin.cjs +38 -30
- package/tailwind/v3/plugins/mosaik-memphis.tailwind.plugin.cjs +332 -416
|
@@ -1,41 +1,49 @@
|
|
|
1
|
+
// ------------------------------------------------------------------------------
|
|
2
|
+
// <auto-generated>
|
|
3
|
+
// This code was generated by a tool.
|
|
4
|
+
// Changes to this file may cause incorrect behavior and will be lost if
|
|
5
|
+
// the code is regenerated.
|
|
6
|
+
// </auto-generated>
|
|
7
|
+
// ------------------------------------------------------------------------------
|
|
8
|
+
|
|
1
9
|
const plugin = require('tailwindcss/plugin');
|
|
2
10
|
|
|
3
|
-
module.exports = {
|
|
4
|
-
|
|
11
|
+
module.exports = plugin(function({ addUtilities, theme, e }) {
|
|
12
|
+
// Optional: Add custom utilities here
|
|
13
|
+
// Example: Custom shadow utilities
|
|
14
|
+
// const shadows = theme('boxShadow') || {};
|
|
15
|
+
// const shadowUtils = Object.entries(shadows).reduce((acc, [key, value]) => {
|
|
16
|
+
// acc['.' + e('shadow-' + key)] = { boxShadow: value };
|
|
17
|
+
// return acc;
|
|
18
|
+
// }, {});
|
|
19
|
+
// addUtilities(shadowUtils);
|
|
20
|
+
}, {
|
|
5
21
|
"extend": {
|
|
6
22
|
"fontFamily": {
|
|
7
|
-
"
|
|
23
|
+
"DEFAULT": "'Inter', Roboto, Helvetica, sans-serif"
|
|
24
|
+
},
|
|
25
|
+
"borderRadius": {
|
|
26
|
+
"DEFAULT": "12px"
|
|
8
27
|
},
|
|
9
28
|
"spacing": {
|
|
10
|
-
"
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
"
|
|
14
|
-
"size.small": "4px",
|
|
15
|
-
"size.medium": "8px",
|
|
16
|
-
"size.large": "16px",
|
|
17
|
-
"size.giant": "32px"
|
|
29
|
+
"DEFAULT": "8px"
|
|
30
|
+
},
|
|
31
|
+
"borderWidth": {
|
|
32
|
+
"DEFAULT": "2px"
|
|
18
33
|
},
|
|
19
34
|
"colors": {
|
|
20
|
-
"
|
|
21
|
-
"
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
35
|
+
"primary": {
|
|
36
|
+
"DEFAULT": "oklch(48.14% 0.2784 286.55)"
|
|
37
|
+
},
|
|
38
|
+
"secondary": {
|
|
39
|
+
"DEFAULT": "oklch(37.32% 0.2273 279.07)"
|
|
40
|
+
},
|
|
41
|
+
"tertiary": {
|
|
42
|
+
"DEFAULT": "oklch(79.79% 0.1416 183.25)"
|
|
26
43
|
}
|
|
44
|
+
},
|
|
45
|
+
"boxShadow": {
|
|
46
|
+
"DEFAULT": "none"
|
|
27
47
|
}
|
|
28
48
|
}
|
|
29
|
-
}
|
|
30
|
-
plugins: [
|
|
31
|
-
plugin(function({ addUtilities, theme, e }) {
|
|
32
|
-
const shadows = theme('boxShadow') || {};
|
|
33
|
-
const utils = Object.entries(shadows).reduce((acc, [key, value]) => {
|
|
34
|
-
acc['.' + e('shadow-' + key)] = { boxShadow: value };
|
|
35
|
-
return acc;
|
|
36
|
-
}, {});
|
|
37
|
-
addUtilities(utils, ['responsive', 'hover', 'focus']);
|
|
38
|
-
// You can extend with more utilities here (spacing, radii, etc.)
|
|
39
|
-
})
|
|
40
|
-
]
|
|
41
|
-
};
|
|
49
|
+
});
|