@lls/vitescripts 2.0.9 → 2.0.10

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 CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lls/vitescripts",
3
- "version": "2.0.9",
3
+ "version": "2.0.10",
4
4
  "description": "lls vite plugins",
5
5
  "main": "src/index.mjs",
6
6
  "files": [
@@ -10,7 +10,9 @@ const llsCssModuleMacroPlugin = async ({ themeIsFreeMode, themeIsDarkMode, theme
10
10
  'Heading1',
11
11
  'Heading2',
12
12
  'Heading3',
13
- 'Heading4'
13
+ 'Heading4',
14
+ 'ThemeCss',
15
+ 'FontFamily'
14
16
  ]
15
17
  const kitBag = await import('@lls/lls-kit')
16
18
  .then(m => m.default || m)
@@ -58,8 +60,8 @@ const llsCssModuleMacroPlugin = async ({ themeIsFreeMode, themeIsDarkMode, theme
58
60
  return undefined
59
61
  }
60
62
  return src
61
- .replace(/@cx\((Body[123]|Heading[1234]|Button[12]|Supporting|RippleEffect)\)/g, replaceKitBag)
62
- .replace(/\${(Body[123]|Heading[1234]|Button[12]|Supporting|RippleEffect)}/g, replaceKitBag)
63
+ .replace(/@cx\((Body[123]|Heading[1234]|Button[12]|Supporting|RippleEffect|FontFamily)\)/g, replaceKitBag)
64
+ .replace(/\${(Body[123]|Heading[1234]|Button[12]|Supporting|RippleEffect|FontFamily)}/g, replaceKitBag)
63
65
 
64
66
  .replace(/\${getFluidSize\({(.*?)}\)}/gs, replaceGetFluidSize)
65
67
  .replace(/getFluidSize\((.*?)\)/gs, replaceGetFluidSizeV2)