@mailstep/design-system 0.4.9-beta.2 → 0.4.9-beta.3
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,2 +1,2 @@
|
|
|
1
|
-
declare const Fonts: import("styled-components").
|
|
1
|
+
declare const Fonts: import("styled-components").FlattenSimpleInterpolation;
|
|
2
2
|
export default Fonts;
|
|
@@ -2,10 +2,10 @@ var __makeTemplateObject = (this && this.__makeTemplateObject) || function (cook
|
|
|
2
2
|
if (Object.defineProperty) { Object.defineProperty(cooked, "raw", { value: raw }); } else { cooked.raw = raw; }
|
|
3
3
|
return cooked;
|
|
4
4
|
};
|
|
5
|
-
import {
|
|
5
|
+
import { css } from '@xstyled/styled-components';
|
|
6
6
|
import InterLightMailstep from '../../../assets/fonts/Inter-Light_mailstep.woff2';
|
|
7
7
|
import InterRegularMailstep from '../../../assets/fonts/Inter-Regular_mailstep.woff2';
|
|
8
8
|
import InterMediumMailstep from '../../../assets/fonts/Inter-Medium_mailstep.woff2';
|
|
9
|
-
var Fonts =
|
|
9
|
+
var Fonts = css(templateObject_1 || (templateObject_1 = __makeTemplateObject(["\n@font-face {\n font-family: 'Inter';\n font-style: normal;\n font-weight: 400; /* normal */\n font-display: swap;\n src: url(", ") format('woff2'); /* inter 300 */\n }\n \n @font-face {\n font-family: 'Inter';\n font-style: normal;\n font-weight: 600; /* semiBold */\n font-display: swap;\n src: url(", ") format('woff2');\n }\n \n @font-face {\n font-family: 'Inter';\n font-style: normal;\n font-weight: 700; /* bold */\n font-display: swap;\n src: url(", ") format('woff2');\n }\n"], ["\n@font-face {\n font-family: 'Inter';\n font-style: normal;\n font-weight: 400; /* normal */\n font-display: swap;\n src: url(", ") format('woff2'); /* inter 300 */\n }\n \n @font-face {\n font-family: 'Inter';\n font-style: normal;\n font-weight: 600; /* semiBold */\n font-display: swap;\n src: url(", ") format('woff2');\n }\n \n @font-face {\n font-family: 'Inter';\n font-style: normal;\n font-weight: 700; /* bold */\n font-display: swap;\n src: url(", ") format('woff2');\n }\n"])), InterLightMailstep, InterRegularMailstep, InterMediumMailstep);
|
|
10
10
|
export default Fonts;
|
|
11
11
|
var templateObject_1;
|
package/assets/fonts.css
DELETED
|
File without changes
|