@openfin/ui-library 0.1.8 → 0.1.9-alpha.1618538477
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/README.md +3 -4
- package/dist/assets/fonts/Inter-Italic.woff2 +0 -0
- package/dist/assets/fonts/Inter-Regular.woff2 +0 -0
- package/dist/assets/fonts/Inter-SemiBold.woff2 +0 -0
- package/dist/assets/fonts/Inter-SemiBoldItalic.woff2 +0 -0
- package/dist/assets/fonts/index.d.ts +6 -0
- package/dist/assets/fonts/index.js +11 -0
- package/dist/assets/fonts/index.ts +6 -0
- package/dist/components/system/ThemeProvider/index.d.ts +1 -0
- package/dist/components/system/ThemeProvider/index.js +1 -0
- package/dist/components/system/ThemeProvider/lib/config.d.ts +15 -3
- package/dist/components/system/ThemeProvider/lib/config.js +0 -3
- package/dist/components/system/ThemeProvider/lib/constants.d.ts +5 -0
- package/dist/components/system/ThemeProvider/lib/constants.js +12 -1
- package/dist/components/system/ThemeProvider/lib/createFontFaceCss.d.ts +11 -0
- package/dist/components/system/ThemeProvider/lib/createFontFaceCss.js +43 -0
- package/dist/components/system/ThemeProvider/lib/fonts.d.js +1 -0
- package/dist/components/system/ThemeProvider/lib/helpers.js +4 -8
- package/dist/components/system/ThemeProvider/lib/mixins.d.ts +4 -0
- package/dist/components/system/ThemeProvider/lib/mixins.js +18 -0
- package/dist/index.d.ts +1 -0
- package/dist/index.js +1 -0
- package/package.json +19 -11
- package/dist/components/system/ThemeProvider/lib/font-face-base64.d.ts +0 -2
- package/dist/components/system/ThemeProvider/lib/font-face-base64.js +0 -71
- package/dist/components/system/ThemeProvider/lib/font-face-cdn.d.ts +0 -2
- package/dist/components/system/ThemeProvider/lib/font-face-cdn.js +0 -48
|
@@ -1,48 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
const styled_components_1 = require("styled-components");
|
|
4
|
-
const constants_1 = require("./constants");
|
|
5
|
-
exports.default = styled_components_1.css `
|
|
6
|
-
@font-face {
|
|
7
|
-
font-family: 'Inter';
|
|
8
|
-
src: url('//cdn.openfin.co/fonts/inter/Inter-Regular.woff2?v3.15')
|
|
9
|
-
format('woff2'),
|
|
10
|
-
url('//cdn.openfin.co/fonts/inter/Inter-Regular.woff?v3.15')
|
|
11
|
-
format('woff');
|
|
12
|
-
font-weight: ${constants_1.FontWeight.normal};
|
|
13
|
-
font-style: normal;
|
|
14
|
-
font-display: swap;
|
|
15
|
-
}
|
|
16
|
-
|
|
17
|
-
@font-face {
|
|
18
|
-
font-family: 'Inter';
|
|
19
|
-
src: url('//cdn.openfin.co/fonts/inter/Inter-Italic.woff2?v3.15')
|
|
20
|
-
format('woff2'),
|
|
21
|
-
url('//cdn.openfin.co/fonts/inter/Inter-Italic.woff?v3.15') format('woff');
|
|
22
|
-
font-weight: ${constants_1.FontWeight.normal};
|
|
23
|
-
font-style: italic;
|
|
24
|
-
font-display: swap;
|
|
25
|
-
}
|
|
26
|
-
|
|
27
|
-
@font-face {
|
|
28
|
-
font-family: 'Inter';
|
|
29
|
-
src: url('//cdn.openfin.co/fonts/inter/Inter-SemiBold.woff2?v3.15')
|
|
30
|
-
format('woff2'),
|
|
31
|
-
url('//cdn.openfin.co/fonts/inter/Inter-SemiBold.woff?v3.15')
|
|
32
|
-
format('woff');
|
|
33
|
-
font-weight: ${constants_1.FontWeight.bold};
|
|
34
|
-
font-style: normal;
|
|
35
|
-
font-display: swap;
|
|
36
|
-
}
|
|
37
|
-
|
|
38
|
-
@font-face {
|
|
39
|
-
font-family: 'Inter';
|
|
40
|
-
src: url('//cdn.openfin.co/fonts/inter/Inter-SemiBoldItalic.woff2?v3.15')
|
|
41
|
-
format('woff2'),
|
|
42
|
-
url('//cdn.openfin.co/fonts/inter/Inter-SemiBoldItalic.woff?v3.15')
|
|
43
|
-
format('woff');
|
|
44
|
-
font-weight: ${constants_1.FontWeight.bold};
|
|
45
|
-
font-style: italic;
|
|
46
|
-
font-display: swap;
|
|
47
|
-
}
|
|
48
|
-
`;
|