@festo-ui/web-essentials 6.1.0-dev.276 → 6.1.0-dev.279
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 +14 -6
- package/dist/css/festo-web-essentials.css +8 -9
- package/dist/css/festo-web-essentials.css.map +1 -1
- package/dist/css/festo-web-essentials.min.css +2 -2
- package/dist/css/festo-web-essentials.min.css.map +1 -1
- package/dist/css/themes/flatpickr/festo.css +1 -1
- package/dist/css/themes/flatpickr/festo.min.css +1 -1
- package/dist/scss/_fonts.scss +8 -6
- package/dist/scss/_root.scss +1 -2
- package/dist/scss/festo-web-essentials.scss +1 -1
- package/dist/scss/themes/flatpickr/festo.scss +1 -1
- package/package.json +1 -1
- package/scss/_fonts.scss +8 -6
- package/scss/_root.scss +1 -2
- package/dist/css/fonts/FestoW05-Bold.woff +0 -0
- package/dist/css/fonts/FestoW05-Bold.woff2 +0 -0
- package/dist/css/fonts/FestoW05-Regular.woff +0 -0
- package/dist/css/fonts/FestoW05-Regular.woff2 +0 -0
- package/dist/fonts/FestoW05-Bold.woff +0 -0
- package/dist/fonts/FestoW05-Bold.woff2 +0 -0
- package/dist/fonts/FestoW05-Regular.woff +0 -0
- package/dist/fonts/FestoW05-Regular.woff2 +0 -0
- package/dist/scss/fonts/FestoW05-Bold.woff +0 -0
- package/dist/scss/fonts/FestoW05-Bold.woff2 +0 -0
- package/dist/scss/fonts/FestoW05-Regular.woff +0 -0
- package/dist/scss/fonts/FestoW05-Regular.woff2 +0 -0
package/README.md
CHANGED
|
@@ -60,16 +60,24 @@ background: $hero; // background is carul now
|
|
|
60
60
|
|
|
61
61
|
## Using Web Essentials with local fonts
|
|
62
62
|
|
|
63
|
-
If you want to use Web Essentials in an
|
|
64
|
-
|
|
65
|
-
|
|
63
|
+
If you want to use Web Essentials in an **offline** environment or with an non-latin style font, you have to provide own files for the Festo font.
|
|
64
|
+
|
|
65
|
+
- Download the required fonts here: https://festo.sharepoint.com/sites/tggfw/SitePages/Font-Richtlinie.aspx
|
|
66
|
+
- Override the css variable for the font:
|
|
67
|
+
|
|
66
68
|
```scss
|
|
67
69
|
@font-face {
|
|
68
|
-
font-family:
|
|
69
|
-
src: url(
|
|
70
|
+
font-family: 'localMeta';
|
|
71
|
+
src: url('../src/fonts/MetaChinese.woff') format('woff'), url('../src/fonts/MetaChinese.woff2') format('woff2');
|
|
72
|
+
}
|
|
73
|
+
|
|
74
|
+
@font-face {
|
|
75
|
+
font-family: 'localMeta';
|
|
76
|
+
src: url('../src/fonts/MetaChinese-Bold.woff') format('woff'), url('../src/fonts/MetaChinese-Bold.woff2') format('woff2');
|
|
77
|
+
font-weight: bold;
|
|
70
78
|
}
|
|
71
79
|
|
|
72
80
|
:root {
|
|
73
|
-
|
|
81
|
+
--fwe-font-family-sans-serif: 'localMeta';
|
|
74
82
|
}
|
|
75
83
|
```
|
|
@@ -1,19 +1,19 @@
|
|
|
1
1
|
/*!
|
|
2
|
-
* Festo UI - Web Essentials v6.1.0-dev.
|
|
2
|
+
* Festo UI - Web Essentials v6.1.0-dev.279 (https://storybook.festo.design/)
|
|
3
3
|
* Copyright 2022 Festo SE & Co. KG
|
|
4
4
|
* Licensed under Apache-2.0
|
|
5
5
|
*/
|
|
6
6
|
/* a screen reader friendly approach */
|
|
7
|
-
/*
|
|
7
|
+
/* MetaPro regular */
|
|
8
8
|
@font-face {
|
|
9
|
-
font-family: "
|
|
10
|
-
src: url("
|
|
9
|
+
font-family: "MetaPro";
|
|
10
|
+
src: local("MetaPro-Regular"), url("https://www.festo.com/Fonts/MetaPro-Regular.woff2") format("woff2"), url("https://www.festo.com/Fonts/MetaPro-Regular.woff") format("woff");
|
|
11
11
|
}
|
|
12
|
-
/*
|
|
12
|
+
/* MetaPro bold */
|
|
13
13
|
@font-face {
|
|
14
|
-
font-family: "
|
|
14
|
+
font-family: "MetaPro";
|
|
15
|
+
src: local("MetaPro-Bold"), url("https://www.festo.com/Fonts/MetaPro-Bold.woff2") format("woff2"), url("https://www.festo.com/Fonts/MetaPro-Bold.woff") format("woff");
|
|
15
16
|
font-weight: bold;
|
|
16
|
-
src: url("../fonts/FestoW05-Bold.woff2") format("woff2"), url("../fonts/FestoW05-Bold.woff") format("woff");
|
|
17
17
|
}
|
|
18
18
|
/* Festo Icon Font */
|
|
19
19
|
@font-face {
|
|
@@ -2563,8 +2563,7 @@ h6,
|
|
|
2563
2563
|
--fwe-spacer-l: 32px;
|
|
2564
2564
|
--fwe-spacer-xl: 48px;
|
|
2565
2565
|
--fwe-spacer-xxl: 64px;
|
|
2566
|
-
--fwe-font-family-sans-serif: "
|
|
2567
|
-
sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
|
|
2566
|
+
--fwe-font-family-sans-serif: "MetaPro", "Trebuchet MS", Arial, sans-serif;
|
|
2568
2567
|
--fwe-font-family-monospace: SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
|
|
2569
2568
|
--fwe-font-family-icons-16: "festo_icons-16";
|
|
2570
2569
|
--fwe-font-family-icons-24: "festo_icons-24";
|