@idealyst/tooling 1.2.26 → 1.2.28
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/dist/analyzer/index.cjs +5 -2
- package/dist/analyzer/index.cjs.map +1 -1
- package/dist/analyzer/index.d.cts +1 -0
- package/dist/analyzer/index.d.ts +1 -0
- package/dist/analyzer/index.js +5 -2
- package/dist/analyzer/index.js.map +1 -1
- package/dist/index.cjs +5 -2
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +5 -2
- package/dist/index.js.map +1 -1
- package/dist/vite-plugin.cjs +3 -1
- package/dist/vite-plugin.cjs.map +1 -1
- package/dist/vite-plugin.js +3 -1
- package/dist/vite-plugin.js.map +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -235,7 +235,9 @@ function getDefaultThemeValues() {
|
|
|
235
235
|
tabBar: ["xs", "sm", "md", "lg", "xl"],
|
|
236
236
|
table: ["xs", "sm", "md", "lg", "xl"],
|
|
237
237
|
tooltip: ["xs", "sm", "md", "lg", "xl"],
|
|
238
|
-
view: ["xs", "sm", "md", "lg", "xl"]
|
|
238
|
+
view: ["xs", "sm", "md", "lg", "xl"],
|
|
239
|
+
// Typography sizes for Text component's $typography iterator
|
|
240
|
+
typography: ["h1", "h2", "h3", "h4", "h5", "h6", "subtitle1", "subtitle2", "body1", "body2", "caption"]
|
|
239
241
|
},
|
|
240
242
|
radii: ["none", "xs", "sm", "md", "lg", "xl"],
|
|
241
243
|
shadows: ["none", "sm", "md", "lg", "xl"],
|
|
@@ -297,7 +299,8 @@ function loadThemeKeys(opts, rootDir, _babelTypes, verboseMode = false) {
|
|
|
297
299
|
intents: themeValues.intents,
|
|
298
300
|
sizes: themeValues.sizes,
|
|
299
301
|
radii: themeValues.radii,
|
|
300
|
-
shadows: themeValues.shadows
|
|
302
|
+
shadows: themeValues.shadows,
|
|
303
|
+
typography: themeValues.typography
|
|
301
304
|
};
|
|
302
305
|
if (verboseMode) {
|
|
303
306
|
console.log("[idealyst-plugin] Extracted theme keys:");
|