@ludo.ninja/components 1.6.2 → 1.6.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/dist/fonts/FontsInitializeLayout.d.ts +2 -1
- package/dist/fonts/FontsInitializeLayout.jsx +21 -15
- package/dist/fonts/index.d.ts +2 -1
- package/dist/fonts/index.js +2 -1
- package/dist/hooks/index.d.ts +1 -1
- package/dist/hooks/index.js +1 -1
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/package.json +1 -1
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import React, { ReactNode } from 'react';
|
|
2
|
-
|
|
2
|
+
declare const FontsInitializeLayout: ({ children }: {
|
|
3
3
|
children: ReactNode;
|
|
4
4
|
}) => React.JSX.Element;
|
|
5
5
|
export declare const GlobalFontsFallback: import("styled-components").RuleSet<object>;
|
|
6
|
+
export default FontsInitializeLayout;
|
|
@@ -3,36 +3,42 @@ var __makeTemplateObject = (this && this.__makeTemplateObject) || function (cook
|
|
|
3
3
|
return cooked;
|
|
4
4
|
};
|
|
5
5
|
import React, { useEffect } from 'react';
|
|
6
|
-
import { createGlobalStyle, css } from 'styled-components';
|
|
7
6
|
import { DM_Sans, Poppins } from 'next/font/google';
|
|
7
|
+
import { css } from 'styled-components';
|
|
8
|
+
import { poppinsFontVarCss } from '@/fonts/vars';
|
|
9
|
+
// const poppinsFont = Poppins({
|
|
10
|
+
// subsets: ['latin'],
|
|
11
|
+
// style: ['normal'],
|
|
12
|
+
// weight: ['200', '300', '400', '500', '600', '700', '800'],
|
|
13
|
+
// });
|
|
8
14
|
var fallbackPoppins = 'LocalPoppinsFont, sans-serif';
|
|
9
15
|
var fallbackDMSans = 'LocalDMSansFont';
|
|
10
16
|
var poppinsFont = Poppins({
|
|
11
17
|
subsets: ['latin'],
|
|
12
18
|
weight: ['200', '300', '400', '500', '600', '700', '800'],
|
|
13
|
-
variable: '--PoppinsFont',
|
|
14
|
-
fallback: [
|
|
19
|
+
variable: '--PoppinsFont', //poppinsFontVarCss.variable
|
|
20
|
+
fallback: ['LocalPoppinsFont, sans-serif'], // fallbackPoppins
|
|
15
21
|
});
|
|
16
22
|
var dmsansFont = DM_Sans({
|
|
17
23
|
subsets: ['latin'],
|
|
18
24
|
style: ['normal', 'italic'],
|
|
19
25
|
weight: ['400', '500', '600', '700'],
|
|
20
|
-
variable: '--DMSansFont',
|
|
21
|
-
fallback: [
|
|
26
|
+
variable: '--DMSansFont', //dmsansFontVarCss.variable
|
|
27
|
+
fallback: ['LocalDMSansFont'], // fallbackDMSans
|
|
22
28
|
});
|
|
23
|
-
var
|
|
24
|
-
export var FontsInitializeLayout = function (_a) {
|
|
29
|
+
var FontsInitializeLayout = function (_a) {
|
|
25
30
|
var children = _a.children;
|
|
26
31
|
useEffect(function () {
|
|
32
|
+
// update fonts to react portal elements
|
|
27
33
|
document.body.classList.add(poppinsFont.variable);
|
|
28
34
|
document.body.classList.add(dmsansFont.variable);
|
|
35
|
+
document.body.style.fontFamily = poppinsFontVarCss.css; // initial font family
|
|
29
36
|
}, []);
|
|
30
|
-
return (
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
</main>
|
|
35
|
-
</>);
|
|
37
|
+
return (<main style={{ fontFamily: poppinsFontVarCss.css }} // initial font family
|
|
38
|
+
className={"".concat(dmsansFont.variable, " ").concat(poppinsFont.variable)}>
|
|
39
|
+
{children}
|
|
40
|
+
</main>);
|
|
36
41
|
};
|
|
37
|
-
export var GlobalFontsFallback = css(templateObject_2 || (templateObject_2 = __makeTemplateObject(["\n /* poppins-200 - latin */\n @font-face {\n font-display: swap;\n font-family: ", ";\n font-style: normal;\n font-weight: 200;\n src: url('/fonts/poppins-v21-latin-200.woff2') format('woff2');\n }\n /* poppins-300 - latin */\n @font-face {\n font-display: swap;\n font-family: ", ";\n font-style: normal;\n font-weight: 300;\n src: url('/fonts/poppins-v21-latin-300.woff2') format('woff2');\n }\n /* poppins-regular - latin */\n @font-face {\n font-display: swap;\n font-family: ", ";\n font-style: normal;\n font-weight: 400;\n src: url('/fonts/poppins-v21-latin-regular.woff2') format('woff2');\n }\n /* poppins-500 - latin */\n @font-face {\n font-display: swap;\n font-family: ", ";\n font-style: normal;\n font-weight: 500;\n src: url('/fonts/poppins-v21-latin-500.woff2') format('woff2');\n }\n /* poppins-600 - latin */\n @font-face {\n font-display: swap;\n font-family: ", ";\n font-style: normal;\n font-weight: 600;\n src: url('/fonts/poppins-v21-latin-600.woff2') format('woff2');\n }\n /* poppins-700 - latin */\n @font-face {\n font-display: swap;\n font-family: ", ";\n font-style: normal;\n font-weight: 700;\n src: url('/fonts/poppins-v21-latin-700.woff2') format('woff2');\n }\n /* poppins-800 - latin */\n @font-face {\n font-display: swap;\n font-family: ", ";\n font-style: normal;\n font-weight: 800;\n src: url('/fonts/poppins-v21-latin-800.woff2') format('woff2');\n }\n /* dm-sans-regular - latin */\n @font-face {\n font-display: swap;\n font-family: ", ";\n font-style: normal;\n font-weight: 400;\n src: url('/fonts/dm-sans-v15-latin-regular.woff2') format('woff2');\n }\n /* dm-sans-italic - latin */\n @font-face {\n font-display: swap;\n font-family: ", ";\n font-style: italic;\n font-weight: 400;\n src: url('/fonts/dm-sans-v15-latin-italic.woff2') format('woff2');\n }\n /* dm-sans-500 - latin */\n @font-face {\n font-display: swap;\n font-family: ", ";\n font-style: normal;\n font-weight: 500;\n src: url('/fonts/dm-sans-v15-latin-500.woff2') format('woff2');\n }\n /* dm-sans-500italic - latin */\n @font-face {\n font-display: swap;\n font-family: ", ";\n font-style: italic;\n font-weight: 500;\n src: url('/fonts/dm-sans-v15-latin-500italic.woff2') format('woff2');\n }\n /* dm-sans-600 - latin */\n @font-face {\n font-display: swap;\n font-family: ", ";\n font-style: normal;\n font-weight: 600;\n src: url('/fonts/dm-sans-v15-latin-600.woff2') format('woff2');\n }\n /* dm-sans-600italic - latin */\n @font-face {\n font-display: swap;\n font-family: ", ";\n font-style: italic;\n font-weight: 600;\n src: url('/fonts/dm-sans-v15-latin-600italic.woff2') format('woff2');\n }\n /* dm-sans-700 - latin */\n @font-face {\n font-display: swap;\n font-family: ", ";\n font-style: normal;\n font-weight: 700;\n src: url('/fonts/dm-sans-v15-latin-700.woff2') format('woff2');\n }\n /* dm-sans-700italic - latin */\n @font-face {\n font-display: swap;\n font-family: ", ";\n font-style: italic;\n font-weight: 700;\n src: url('/fonts/dm-sans-v15-latin-700italic.woff2') format('woff2');\n }\n"], ["\n /* poppins-200 - latin */\n @font-face {\n font-display: swap;\n font-family: ", ";\n font-style: normal;\n font-weight: 200;\n src: url('/fonts/poppins-v21-latin-200.woff2') format('woff2');\n }\n /* poppins-300 - latin */\n @font-face {\n font-display: swap;\n font-family: ", ";\n font-style: normal;\n font-weight: 300;\n src: url('/fonts/poppins-v21-latin-300.woff2') format('woff2');\n }\n /* poppins-regular - latin */\n @font-face {\n font-display: swap;\n font-family: ", ";\n font-style: normal;\n font-weight: 400;\n src: url('/fonts/poppins-v21-latin-regular.woff2') format('woff2');\n }\n /* poppins-500 - latin */\n @font-face {\n font-display: swap;\n font-family: ", ";\n font-style: normal;\n font-weight: 500;\n src: url('/fonts/poppins-v21-latin-500.woff2') format('woff2');\n }\n /* poppins-600 - latin */\n @font-face {\n font-display: swap;\n font-family: ", ";\n font-style: normal;\n font-weight: 600;\n src: url('/fonts/poppins-v21-latin-600.woff2') format('woff2');\n }\n /* poppins-700 - latin */\n @font-face {\n font-display: swap;\n font-family: ", ";\n font-style: normal;\n font-weight: 700;\n src: url('/fonts/poppins-v21-latin-700.woff2') format('woff2');\n }\n /* poppins-800 - latin */\n @font-face {\n font-display: swap;\n font-family: ", ";\n font-style: normal;\n font-weight: 800;\n src: url('/fonts/poppins-v21-latin-800.woff2') format('woff2');\n }\n /* dm-sans-regular - latin */\n @font-face {\n font-display: swap;\n font-family: ", ";\n font-style: normal;\n font-weight: 400;\n src: url('/fonts/dm-sans-v15-latin-regular.woff2') format('woff2');\n }\n /* dm-sans-italic - latin */\n @font-face {\n font-display: swap;\n font-family: ", ";\n font-style: italic;\n font-weight: 400;\n src: url('/fonts/dm-sans-v15-latin-italic.woff2') format('woff2');\n }\n /* dm-sans-500 - latin */\n @font-face {\n font-display: swap;\n font-family: ", ";\n font-style: normal;\n font-weight: 500;\n src: url('/fonts/dm-sans-v15-latin-500.woff2') format('woff2');\n }\n /* dm-sans-500italic - latin */\n @font-face {\n font-display: swap;\n font-family: ", ";\n font-style: italic;\n font-weight: 500;\n src: url('/fonts/dm-sans-v15-latin-500italic.woff2') format('woff2');\n }\n /* dm-sans-600 - latin */\n @font-face {\n font-display: swap;\n font-family: ", ";\n font-style: normal;\n font-weight: 600;\n src: url('/fonts/dm-sans-v15-latin-600.woff2') format('woff2');\n }\n /* dm-sans-600italic - latin */\n @font-face {\n font-display: swap;\n font-family: ", ";\n font-style: italic;\n font-weight: 600;\n src: url('/fonts/dm-sans-v15-latin-600italic.woff2') format('woff2');\n }\n /* dm-sans-700 - latin */\n @font-face {\n font-display: swap;\n font-family: ", ";\n font-style: normal;\n font-weight: 700;\n src: url('/fonts/dm-sans-v15-latin-700.woff2') format('woff2');\n }\n /* dm-sans-700italic - latin */\n @font-face {\n font-display: swap;\n font-family: ", ";\n font-style: italic;\n font-weight: 700;\n src: url('/fonts/dm-sans-v15-latin-700italic.woff2') format('woff2');\n }\n"])), fallbackPoppins, fallbackPoppins, fallbackPoppins, fallbackPoppins, fallbackPoppins, fallbackPoppins, fallbackPoppins, fallbackDMSans, fallbackDMSans, fallbackDMSans, fallbackDMSans, fallbackDMSans, fallbackDMSans, fallbackDMSans, fallbackDMSans);
|
|
38
|
-
|
|
42
|
+
export var GlobalFontsFallback = css(templateObject_1 || (templateObject_1 = __makeTemplateObject(["\n /* poppins-200 - latin */\n @font-face {\n font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */\n font-family: ", ";\n font-style: normal;\n font-weight: 200;\n src: url('/fonts/poppins-v21-latin-200.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */\n }\n /* poppins-300 - latin */\n @font-face {\n font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */\n font-family: ", ";\n font-style: normal;\n font-weight: 300;\n src: url('/fonts/poppins-v21-latin-300.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */\n }\n /* poppins-regular - latin */\n @font-face {\n font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */\n font-family: ", ";\n font-style: normal;\n font-weight: 400;\n src: url('/fonts/poppins-v21-latin-regular.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */\n }\n /* poppins-500 - latin */\n @font-face {\n font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */\n font-family: ", ";\n font-style: normal;\n font-weight: 500;\n src: url('/fonts/poppins-v21-latin-500.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */\n }\n /* poppins-600 - latin */\n @font-face {\n font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */\n font-family: ", ";\n font-style: normal;\n font-weight: 600;\n src: url('/fonts/poppins-v21-latin-600.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */\n }\n /* poppins-700 - latin */\n @font-face {\n font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */\n font-family: ", ";\n font-style: normal;\n font-weight: 700;\n src: url('/fonts/poppins-v21-latin-700.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */\n }\n /* poppins-800 - latin */\n @font-face {\n font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */\n font-family: ", ";\n font-style: normal;\n font-weight: 800;\n src: url('/fonts/poppins-v21-latin-800.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */\n }\n /* dm-sans-regular - latin */\n @font-face {\n font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */\n font-family: ", ";\n font-style: normal;\n font-weight: 400;\n src: url('/fonts/dm-sans-v15-latin-regular.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */\n }\n /* dm-sans-italic - latin */\n @font-face {\n font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */\n font-family: ", ";\n font-style: italic;\n font-weight: 400;\n src: url('/fonts/dm-sans-v15-latin-italic.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */\n }\n /* dm-sans-500 - latin */\n @font-face {\n font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */\n font-family: ", ";\n font-style: normal;\n font-weight: 500;\n src: url('/fonts/dm-sans-v15-latin-500.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */\n }\n /* dm-sans-500italic - latin */\n @font-face {\n font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */\n font-family: ", ";\n font-style: italic;\n font-weight: 500;\n src: url('/fonts/dm-sans-v15-latin-500italic.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */\n }\n /* dm-sans-600 - latin */\n @font-face {\n font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */\n font-family: ", ";\n font-style: normal;\n font-weight: 600;\n src: url('/fonts/dm-sans-v15-latin-600.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */\n }\n /* dm-sans-600italic - latin */\n @font-face {\n font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */\n font-family: ", ";\n font-style: italic;\n font-weight: 600;\n src: url('/fonts/dm-sans-v15-latin-600italic.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */\n }\n /* dm-sans-700 - latin */\n @font-face {\n font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */\n font-family: ", ";\n font-style: normal;\n font-weight: 700;\n src: url('/fonts/dm-sans-v15-latin-700.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */\n }\n /* dm-sans-700italic - latin */\n @font-face {\n font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */\n font-family: ", ";\n font-style: italic;\n font-weight: 700;\n src: url('/fonts/dm-sans-v15-latin-700italic.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */\n }\n"], ["\n /* poppins-200 - latin */\n @font-face {\n font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */\n font-family: ", ";\n font-style: normal;\n font-weight: 200;\n src: url('/fonts/poppins-v21-latin-200.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */\n }\n /* poppins-300 - latin */\n @font-face {\n font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */\n font-family: ", ";\n font-style: normal;\n font-weight: 300;\n src: url('/fonts/poppins-v21-latin-300.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */\n }\n /* poppins-regular - latin */\n @font-face {\n font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */\n font-family: ", ";\n font-style: normal;\n font-weight: 400;\n src: url('/fonts/poppins-v21-latin-regular.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */\n }\n /* poppins-500 - latin */\n @font-face {\n font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */\n font-family: ", ";\n font-style: normal;\n font-weight: 500;\n src: url('/fonts/poppins-v21-latin-500.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */\n }\n /* poppins-600 - latin */\n @font-face {\n font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */\n font-family: ", ";\n font-style: normal;\n font-weight: 600;\n src: url('/fonts/poppins-v21-latin-600.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */\n }\n /* poppins-700 - latin */\n @font-face {\n font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */\n font-family: ", ";\n font-style: normal;\n font-weight: 700;\n src: url('/fonts/poppins-v21-latin-700.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */\n }\n /* poppins-800 - latin */\n @font-face {\n font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */\n font-family: ", ";\n font-style: normal;\n font-weight: 800;\n src: url('/fonts/poppins-v21-latin-800.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */\n }\n /* dm-sans-regular - latin */\n @font-face {\n font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */\n font-family: ", ";\n font-style: normal;\n font-weight: 400;\n src: url('/fonts/dm-sans-v15-latin-regular.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */\n }\n /* dm-sans-italic - latin */\n @font-face {\n font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */\n font-family: ", ";\n font-style: italic;\n font-weight: 400;\n src: url('/fonts/dm-sans-v15-latin-italic.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */\n }\n /* dm-sans-500 - latin */\n @font-face {\n font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */\n font-family: ", ";\n font-style: normal;\n font-weight: 500;\n src: url('/fonts/dm-sans-v15-latin-500.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */\n }\n /* dm-sans-500italic - latin */\n @font-face {\n font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */\n font-family: ", ";\n font-style: italic;\n font-weight: 500;\n src: url('/fonts/dm-sans-v15-latin-500italic.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */\n }\n /* dm-sans-600 - latin */\n @font-face {\n font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */\n font-family: ", ";\n font-style: normal;\n font-weight: 600;\n src: url('/fonts/dm-sans-v15-latin-600.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */\n }\n /* dm-sans-600italic - latin */\n @font-face {\n font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */\n font-family: ", ";\n font-style: italic;\n font-weight: 600;\n src: url('/fonts/dm-sans-v15-latin-600italic.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */\n }\n /* dm-sans-700 - latin */\n @font-face {\n font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */\n font-family: ", ";\n font-style: normal;\n font-weight: 700;\n src: url('/fonts/dm-sans-v15-latin-700.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */\n }\n /* dm-sans-700italic - latin */\n @font-face {\n font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */\n font-family: ", ";\n font-style: italic;\n font-weight: 700;\n src: url('/fonts/dm-sans-v15-latin-700italic.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */\n }\n"])), fallbackPoppins, fallbackPoppins, fallbackPoppins, fallbackPoppins, fallbackPoppins, fallbackPoppins, fallbackPoppins, fallbackDMSans, fallbackDMSans, fallbackDMSans, fallbackDMSans, fallbackDMSans, fallbackDMSans, fallbackDMSans, fallbackDMSans);
|
|
43
|
+
export default FontsInitializeLayout;
|
|
44
|
+
var templateObject_1;
|
package/dist/fonts/index.d.ts
CHANGED
package/dist/fonts/index.js
CHANGED
package/dist/hooks/index.d.ts
CHANGED
package/dist/hooks/index.js
CHANGED