@albank/vue-ui-kit 2.2.0 → 2.3.0-rc.188
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 +28 -1
- package/dist/aeb-ui-kit.cjs +2 -2
- package/dist/aeb-ui-kit.js +3342 -3361
- package/dist/aeb-ui-kit.umd.cjs +2 -2
- package/dist/style.css +1 -1
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -23,5 +23,32 @@
|
|
|
23
23
|
|
|
24
24
|
1. Vue 3 (Composition API)
|
|
25
25
|
2. TypeScript 5
|
|
26
|
-
3. Vite
|
|
26
|
+
3. Vite 5
|
|
27
27
|
4. SCSS
|
|
28
|
+
|
|
29
|
+
По умолчанию UI-кит использует шрифты `Roboto`, но в сборку они не входят, поэтому нужно добавить их отдельно. Пример добавления шрифтов `Roboto`:
|
|
30
|
+
|
|
31
|
+
```scss
|
|
32
|
+
@font-face {
|
|
33
|
+
font-family: Roboto;
|
|
34
|
+
font-style: normal;
|
|
35
|
+
font-weight: 400;
|
|
36
|
+
src: url('/fonts/Roboto-Regular.ttf') format('truetype');
|
|
37
|
+
}
|
|
38
|
+
|
|
39
|
+
@font-face {
|
|
40
|
+
font-family: Roboto;
|
|
41
|
+
font-style: normal;
|
|
42
|
+
font-weight: 500;
|
|
43
|
+
src: url('/fonts/Roboto-Medium.ttf') format('truetype');
|
|
44
|
+
}
|
|
45
|
+
|
|
46
|
+
@font-face {
|
|
47
|
+
font-family: Roboto;
|
|
48
|
+
font-style: normal;
|
|
49
|
+
font-weight: 700;
|
|
50
|
+
src: url('/fonts/Roboto-Bold.ttf') format('truetype');
|
|
51
|
+
}
|
|
52
|
+
```
|
|
53
|
+
|
|
54
|
+
Для изменения шрифтов компонентов UI-кита, нужно перезаписать CSS-переменную `--default-font` у себя в проекте через псевдокласс `:root`
|