@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 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 __offline__ environment, you have to provide local files for the Festo font.
64
- * Download the required fonts here: https://festo.sharepoint.com/sites/tggfw/SitePages/Font-Richtlinie.aspx
65
- * Override the css variable for the font:
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: "localMeta";
69
- src: url("../src/fonts/MetaChinese.woff") format("woff"), url("../src/fonts/MetaChinese.woff2") format("woff2");
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
- --fwe-font-family-sans-serif: "localMeta";
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.276 (https://storybook.festo.design/)
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
- /* Festo regular */
7
+ /* MetaPro regular */
8
8
  @font-face {
9
- font-family: "Festo";
10
- src: url("../fonts/FestoW05-Regular.woff2") format("woff2"), url("../fonts/FestoW05-Regular.woff") format("woff");
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
- /* Festo bold */
12
+ /* MetaPro bold */
13
13
  @font-face {
14
- font-family: "Festo";
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: "Festo", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans",
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";