@bookjane2/bookjane-design-library 8.0.38 → 8.0.39
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/lib/assets/fonts/Poppins-Medium.woff2 +0 -0
- package/lib/assets/fonts/Poppins-SemiBold.woff2 +0 -0
- package/lib/providers/BKJThemeProvider/BKJThemeProvider.styled.d.ts.map +1 -1
- package/lib/providers/BKJThemeProvider/BKJThemeProvider.styled.js +8 -9
- package/lib/providers/BKJThemeProvider/BKJThemeProvider.styled.js.map +1 -1
- package/package.json +1 -1
- package/lib/assets/fonts/Poppins-Medium.ttf +0 -0
- package/lib/assets/fonts/Poppins-SemiBold.ttf +0 -0
|
Binary file
|
|
Binary file
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"BKJThemeProvider.styled.d.ts","sourceRoot":"","sources":["../../../src/providers/BKJThemeProvider/BKJThemeProvider.styled.ts"],"names":[],"mappings":"AA0IA,eAAO,MAAM,QAAQ,2FAAiC,CAAC;
|
|
1
|
+
{"version":3,"file":"BKJThemeProvider.styled.d.ts","sourceRoot":"","sources":["../../../src/providers/BKJThemeProvider/BKJThemeProvider.styled.ts"],"names":[],"mappings":"AA0IA,eAAO,MAAM,QAAQ,2FAAiC,CAAC;AAmBvD,eAAO,MAAM,QAAQ,2FAAoC,CAAC"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { css, createGlobalStyle } from 'styled-components';
|
|
2
|
-
import
|
|
3
|
-
import
|
|
2
|
+
import PoppinsSemiBoldWoff2 from '../../assets/fonts/Poppins-SemiBold.woff2?inline';
|
|
3
|
+
import PoppinsMediumWoff2 from '../../assets/fonts/Poppins-Medium.woff2?inline';
|
|
4
4
|
const cssReset = css `
|
|
5
5
|
html,
|
|
6
6
|
body,
|
|
@@ -135,22 +135,21 @@ const cssReset = css `
|
|
|
135
135
|
}
|
|
136
136
|
`;
|
|
137
137
|
export const CSSReset = createGlobalStyle `${cssReset}`;
|
|
138
|
-
const
|
|
138
|
+
const woffFontCSS = css `
|
|
139
139
|
@font-face {
|
|
140
140
|
font-family: 'Poppins SemiBold';
|
|
141
|
-
src:
|
|
142
|
-
url(${PoppinsSemiBoldTtf}) format('truetype');
|
|
141
|
+
src: url(${PoppinsSemiBoldWoff2}) format('woff2');
|
|
143
142
|
font-weight: 600;
|
|
144
143
|
font-style: normal;
|
|
144
|
+
font-display: swap;
|
|
145
145
|
}
|
|
146
|
-
|
|
147
146
|
@font-face {
|
|
148
147
|
font-family: 'Poppins Medium';
|
|
149
|
-
src:
|
|
150
|
-
url(${PoppinsMediumTtf}) format('truetype');
|
|
148
|
+
src: url(${PoppinsMediumWoff2}) format('woff2');
|
|
151
149
|
font-weight: 500;
|
|
152
150
|
font-style: normal;
|
|
151
|
+
font-display: swap;
|
|
153
152
|
}
|
|
154
153
|
`;
|
|
155
|
-
export const CSSFonts = createGlobalStyle `${
|
|
154
|
+
export const CSSFonts = createGlobalStyle `${woffFontCSS}`;
|
|
156
155
|
//# 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,
|
|
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,oBAAoB,MAAM,kDAAkD,CAAC;AACpF,OAAO,kBAAkB,MAAM,gDAAgD,CAAC;AAEhF,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,WAAW,GAAG,GAAG,CAAA;;;eAGR,oBAAoB;;;;;;;eAOpB,kBAAkB;;;;;CAKhC,CAAC;AAEF,MAAM,CAAC,MAAM,QAAQ,GAAG,iBAAiB,CAAA,GAAG,WAAW,EAAE,CAAC"}
|
package/package.json
CHANGED
|
Binary file
|
|
Binary file
|