@bookjane2/bookjane-design-library 8.0.35 → 8.0.37
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.
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { css, createGlobalStyle } from 'styled-components';
|
|
2
|
-
import
|
|
3
|
-
import
|
|
2
|
+
import PoppinsSemiBoldTtf from '../../assets/fonts/Poppins-SemiBold.ttf';
|
|
3
|
+
import PoppinsMediumTtf from '../../assets/fonts/Poppins-Medium.ttf';
|
|
4
4
|
const cssReset = css `
|
|
5
5
|
html,
|
|
6
6
|
body,
|
|
@@ -135,22 +135,22 @@ const cssReset = css `
|
|
|
135
135
|
}
|
|
136
136
|
`;
|
|
137
137
|
export const CSSReset = createGlobalStyle `${cssReset}`;
|
|
138
|
-
const
|
|
138
|
+
const ttfFontCSS = css `
|
|
139
139
|
@font-face {
|
|
140
|
-
font-family: 'Poppins';
|
|
141
|
-
src:
|
|
140
|
+
font-family: 'Poppins SemiBold';
|
|
141
|
+
src: url(${PoppinsSemiBoldTtf}) format('truetype');
|
|
142
142
|
font-weight: 600;
|
|
143
143
|
font-style: normal;
|
|
144
|
-
font-display:
|
|
144
|
+
font-display: swap;
|
|
145
145
|
}
|
|
146
146
|
|
|
147
147
|
@font-face {
|
|
148
|
-
font-family: 'Poppins';
|
|
149
|
-
src:
|
|
148
|
+
font-family: 'Poppins Medium';
|
|
149
|
+
src: url(${PoppinsMediumTtf}) format('truetype');
|
|
150
150
|
font-weight: 500;
|
|
151
151
|
font-style: normal;
|
|
152
|
-
font-display:
|
|
152
|
+
font-display: swap;
|
|
153
153
|
}
|
|
154
154
|
`;
|
|
155
|
-
export const CSSFonts = createGlobalStyle `${
|
|
155
|
+
export const CSSFonts = createGlobalStyle `${ttfFontCSS}`;
|
|
156
156
|
//# sourceMappingURL=BKJThemeProvider.styled.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"BKJThemeProvider.styled.js","sourceRoot":"","sources":["../../../src/providers/BKJThemeProvider/BKJThemeProvider.styled.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,GAAG,EAAE,iBAAiB,EAAE,MAAM,mBAAmB,CAAC;AAC3D,OAAO,kBAAkB,MAAM,yCAAyC,CAAC;AACzE,OAAO,gBAAgB,MAAM,uCAAuC,CAAC;AAErE,MAAM,QAAQ,GAAG,GAAG,CAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;MAkId,CAAC,EAAE,KAAK,EAAE,EAAE,EAAE,CAAC,KAAK,CAAC,KAAK,CAAC,iBAAiB;;CAEjD,CAAC;AAEF,MAAM,CAAC,MAAM,QAAQ,GAAG,iBAAiB,CAAA,GAAG,QAAQ,EAAE,CAAC;AAEvD,MAAM,UAAU,GAAG,GAAG,CAAA;;;
|
|
1
|
+
{"version":3,"file":"BKJThemeProvider.styled.js","sourceRoot":"","sources":["../../../src/providers/BKJThemeProvider/BKJThemeProvider.styled.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,GAAG,EAAE,iBAAiB,EAAE,MAAM,mBAAmB,CAAC;AAC3D,OAAO,kBAAkB,MAAM,yCAAyC,CAAC;AACzE,OAAO,gBAAgB,MAAM,uCAAuC,CAAC;AAErE,MAAM,QAAQ,GAAG,GAAG,CAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;MAkId,CAAC,EAAE,KAAK,EAAE,EAAE,EAAE,CAAC,KAAK,CAAC,KAAK,CAAC,iBAAiB;;CAEjD,CAAC;AAEF,MAAM,CAAC,MAAM,QAAQ,GAAG,iBAAiB,CAAA,GAAG,QAAQ,EAAE,CAAC;AAEvD,MAAM,UAAU,GAAG,GAAG,CAAA;;;eAGP,kBAAkB;;;;;;;;eAQlB,gBAAgB;;;;;CAK9B,CAAC;AAEF,MAAM,CAAC,MAAM,QAAQ,GAAG,iBAAiB,CAAA,GAAG,UAAU,EAAE,CAAC"}
|