@mw-kit/mw-ui 1.8.19 → 1.8.20
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/index.js +1 -1
- package/dist/index.mjs +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -1695,7 +1695,7 @@ var getColor = (color, opacity = 100) => `${colors[color]}${opacities[opacity]}`
|
|
|
1695
1695
|
var useTypography = (typography, options = {}) => {
|
|
1696
1696
|
const { fontFamily, fontSize, fontWeight, lineHeight, letterSpacing } = typographies[typography];
|
|
1697
1697
|
return import_styled_components6.css`
|
|
1698
|
-
font-family: ${fontFamily};
|
|
1698
|
+
font-family: ${fonts_default[fontFamily]};
|
|
1699
1699
|
font-size: ${fontSize};
|
|
1700
1700
|
font-weight: ${options.fontWeight || fontWeight};
|
|
1701
1701
|
line-height: ${options.lineHeight || lineHeight};
|
package/dist/index.mjs
CHANGED
|
@@ -1637,7 +1637,7 @@ var getColor = (color, opacity = 100) => `${colors[color]}${opacities[opacity]}`
|
|
|
1637
1637
|
var useTypography = (typography, options = {}) => {
|
|
1638
1638
|
const { fontFamily, fontSize, fontWeight, lineHeight, letterSpacing } = typographies[typography];
|
|
1639
1639
|
return css5`
|
|
1640
|
-
font-family: ${fontFamily};
|
|
1640
|
+
font-family: ${fonts_default[fontFamily]};
|
|
1641
1641
|
font-size: ${fontSize};
|
|
1642
1642
|
font-weight: ${options.fontWeight || fontWeight};
|
|
1643
1643
|
line-height: ${options.lineHeight || lineHeight};
|