spoko-design-system 0.2.33 → 0.2.35
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/.astro/settings.json +1 -1
- package/.astro/types.d.ts +1 -0
- package/README.md +1 -1
- package/package.json +53 -54
- package/src/layouts/Layout.astro +1 -1
- package/src/layouts/MainLayout.astro +1 -1
- package/src/pages/core/introduction.mdx +1 -1
- package/src/styles/_variables.scss +8 -4
- package/src/styles/base/{_base.scss → base.css} +9 -9
- package/src/styles/base/{grid.scss → grid.css} +4 -5
- package/src/styles/base/{_typography.scss → typography.css} +2 -2
- package/src/styles/{main.scss → main.css} +2 -2
- /package/src/styles/{content.scss → content.css} +0 -0
package/.astro/settings.json
CHANGED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
/// <reference types="astro/client" />
|
package/README.md
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "spoko-design-system",
|
|
3
|
-
"version": "0.2.
|
|
3
|
+
"version": "0.2.35",
|
|
4
4
|
"private": false,
|
|
5
5
|
"scripts": {
|
|
6
6
|
"dev": "astro dev",
|
|
@@ -27,67 +27,66 @@
|
|
|
27
27
|
"spoko design system"
|
|
28
28
|
],
|
|
29
29
|
"dependencies": {
|
|
30
|
-
"@algolia/client-search": "^
|
|
31
|
-
"@astrojs/mdx": "^
|
|
32
|
-
"@astrojs/node": "^8.3.
|
|
33
|
-
"@astrojs/sitemap": "^3.1
|
|
34
|
-
"@astrojs/vue": "^4.5.
|
|
35
|
-
"@docsearch/css": "^3.6.
|
|
36
|
-
"@iconify-json/ant-design": "^1.
|
|
37
|
-
"@iconify-json/bi": "^1.1
|
|
38
|
-
"@iconify-json/bx": "^1.1
|
|
39
|
-
"@iconify-json/carbon": "^1.
|
|
40
|
-
"@iconify-json/circle-flags": "^1.1
|
|
41
|
-
"@iconify-json/el": "^1.
|
|
42
|
-
"@iconify-json/eos-icons": "^1.1
|
|
43
|
-
"@iconify-json/flowbite": "^1.
|
|
44
|
-
"@iconify-json/fluent": "^1.
|
|
45
|
-
"@iconify-json/fluent-emoji": "1.1
|
|
46
|
-
"@iconify-json/icon-park-outline": "^1.1
|
|
47
|
-
"@iconify-json/la": "^1.
|
|
48
|
-
"@iconify-json/mdi": "^1.1
|
|
49
|
-
"@iconify-json/noto-v1": "^1.
|
|
50
|
-
"@iconify-json/octicon": "^1.1
|
|
51
|
-
"@iconify-json/ph": "^1.1
|
|
52
|
-
"@iconify-json/simple-icons": "^1.
|
|
53
|
-
"@iconify-json/uil": "^1.1
|
|
54
|
-
"@iconify/json": "^2.2.
|
|
30
|
+
"@algolia/client-search": "^5.9.1",
|
|
31
|
+
"@astrojs/mdx": "^3.1.8",
|
|
32
|
+
"@astrojs/node": "^8.3.4",
|
|
33
|
+
"@astrojs/sitemap": "^3.2.1",
|
|
34
|
+
"@astrojs/vue": "^4.5.2",
|
|
35
|
+
"@docsearch/css": "^3.6.2",
|
|
36
|
+
"@iconify-json/ant-design": "^1.2.2",
|
|
37
|
+
"@iconify-json/bi": "^1.2.1",
|
|
38
|
+
"@iconify-json/bx": "^1.2.1",
|
|
39
|
+
"@iconify-json/carbon": "^1.2.3",
|
|
40
|
+
"@iconify-json/circle-flags": "^1.2.1",
|
|
41
|
+
"@iconify-json/el": "^1.2.0",
|
|
42
|
+
"@iconify-json/eos-icons": "^1.2.1",
|
|
43
|
+
"@iconify-json/flowbite": "^1.2.2",
|
|
44
|
+
"@iconify-json/fluent": "^1.2.4",
|
|
45
|
+
"@iconify-json/fluent-emoji": "1.2.1",
|
|
46
|
+
"@iconify-json/icon-park-outline": "^1.2.1",
|
|
47
|
+
"@iconify-json/la": "^1.2.0",
|
|
48
|
+
"@iconify-json/mdi": "^1.2.1",
|
|
49
|
+
"@iconify-json/noto-v1": "^1.2.0",
|
|
50
|
+
"@iconify-json/octicon": "^1.2.1",
|
|
51
|
+
"@iconify-json/ph": "^1.2.1",
|
|
52
|
+
"@iconify-json/simple-icons": "^1.2.9",
|
|
53
|
+
"@iconify-json/uil": "^1.2.1",
|
|
54
|
+
"@iconify/json": "^2.2.262",
|
|
55
55
|
"@iconify/vue": "^4.1.2",
|
|
56
|
-
"@playform/compress": "^0.
|
|
56
|
+
"@playform/compress": "^0.1.4",
|
|
57
57
|
"@playform/inline": "github:playform/inline",
|
|
58
|
-
"@types/node": "^
|
|
59
|
-
"@unocss/astro": "^0.
|
|
60
|
-
"@unocss/preset-attributify": "^0.
|
|
61
|
-
"@unocss/preset-typography": "^0.
|
|
62
|
-
"@unocss/preset-uno": "^0.
|
|
63
|
-
"@unocss/preset-web-fonts": "^0.
|
|
64
|
-
"@unocss/preset-wind": "^0.
|
|
65
|
-
"@unocss/reset": "^0.
|
|
66
|
-
"@vite-pwa/astro": "^0.3
|
|
67
|
-
"@vueuse/core": "^
|
|
58
|
+
"@types/node": "^22.7.7",
|
|
59
|
+
"@unocss/astro": "^0.63.4",
|
|
60
|
+
"@unocss/preset-attributify": "^0.63.4",
|
|
61
|
+
"@unocss/preset-typography": "^0.63.4",
|
|
62
|
+
"@unocss/preset-uno": "^0.63.4",
|
|
63
|
+
"@unocss/preset-web-fonts": "^0.63.4",
|
|
64
|
+
"@unocss/preset-wind": "^0.63.4",
|
|
65
|
+
"@unocss/reset": "^0.63.4",
|
|
66
|
+
"@vite-pwa/astro": "^0.4.3",
|
|
67
|
+
"@vueuse/core": "^11.1.0",
|
|
68
68
|
"astro-i18next": "1.0.0-beta.21",
|
|
69
|
-
"astro-icon": "^1.1.
|
|
70
|
-
"astro-meta-tags": "^0.
|
|
71
|
-
"astro-navbar": "^2.3.
|
|
72
|
-
"astro-pagefind": "^1.
|
|
69
|
+
"astro-icon": "^1.1.1",
|
|
70
|
+
"astro-meta-tags": "^0.3.1",
|
|
71
|
+
"astro-navbar": "^2.3.4",
|
|
72
|
+
"astro-pagefind": "^1.6.0",
|
|
73
73
|
"astro-remote": "^0.3.3",
|
|
74
|
-
"i18next": "^23.
|
|
75
|
-
"i18next-browser-languagedetector": "^
|
|
76
|
-
"i18next-fs-backend": "^2.3.
|
|
77
|
-
"i18next-http-backend": "^2.
|
|
78
|
-
"i18next-vue": "^
|
|
79
|
-
"
|
|
80
|
-
"
|
|
81
|
-
"
|
|
82
|
-
"
|
|
83
|
-
"vue": "^3.4.31"
|
|
74
|
+
"i18next": "^23.16.2",
|
|
75
|
+
"i18next-browser-languagedetector": "^8.0.0",
|
|
76
|
+
"i18next-fs-backend": "^2.3.2",
|
|
77
|
+
"i18next-http-backend": "^2.6.2",
|
|
78
|
+
"i18next-vue": "^5.0.0",
|
|
79
|
+
"swiper": "^11.1.14",
|
|
80
|
+
"unocss": "^0.63.4",
|
|
81
|
+
"vite": "^5.4.9",
|
|
82
|
+
"vue": "^3.5.12"
|
|
84
83
|
},
|
|
85
84
|
"devDependencies": {
|
|
86
|
-
"@unocss/transformer-variant-group": "^0.
|
|
87
|
-
"astro": "^4.
|
|
85
|
+
"@unocss/transformer-variant-group": "^0.63.4",
|
|
86
|
+
"astro": "^4.16.6",
|
|
88
87
|
"unocss": "^0.60.0"
|
|
89
88
|
},
|
|
90
|
-
"packageManager": "pnpm@9.0
|
|
89
|
+
"packageManager": "pnpm@9.8.0",
|
|
91
90
|
"pnpm": {
|
|
92
91
|
"default": "8.15.2",
|
|
93
92
|
"overrides": {
|
package/src/layouts/Layout.astro
CHANGED
|
@@ -4,7 +4,7 @@ import FooterCommon from "./partials/FooterCommon.astro";
|
|
|
4
4
|
import HeadSEO from "../layouts/partials/HeadSEO.astro";
|
|
5
5
|
import * as CONFIG from "../config";
|
|
6
6
|
import { t, changeLanguage } from "i18next";
|
|
7
|
-
import "../styles/main.
|
|
7
|
+
import "../styles/main.css";
|
|
8
8
|
import Copyright from "../components/Copyright.astro";
|
|
9
9
|
const locale = "en";
|
|
10
10
|
changeLanguage(locale);
|
|
@@ -6,7 +6,7 @@ import PageContent from "../components/PageContent.astro";
|
|
|
6
6
|
import LeftSidebar from "../components/LeftSidebar.astro";
|
|
7
7
|
import * as CONFIG from "../config";
|
|
8
8
|
import { t, changeLanguage } from "i18next";
|
|
9
|
-
import "../styles/main.
|
|
9
|
+
import "../styles/main.css";
|
|
10
10
|
import Copyright from "../components/Copyright.astro";
|
|
11
11
|
const locale = "en";
|
|
12
12
|
changeLanguage(locale);
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
|
|
1
|
+
@use "sass:map";
|
|
2
2
|
|
|
3
3
|
$white: #fff !default;
|
|
4
4
|
$gray-100: #F3F4F6;
|
|
@@ -26,7 +26,9 @@ $ebay: #3665f3;
|
|
|
26
26
|
|
|
27
27
|
$grays: () !default;
|
|
28
28
|
// stylelint-disable-next-line scss/dollar-variable-default
|
|
29
|
-
$grays: map
|
|
29
|
+
$grays: map.merge(
|
|
30
|
+
(
|
|
31
|
+
"100": $gray-100,
|
|
30
32
|
"200": $gray-200,
|
|
31
33
|
"300": $gray-300,
|
|
32
34
|
"400": $gray-400,
|
|
@@ -34,8 +36,10 @@ $grays: map-merge(("100": $gray-100,
|
|
|
34
36
|
"600": $gray-600,
|
|
35
37
|
"700": $gray-700,
|
|
36
38
|
"800": $gray-800,
|
|
37
|
-
"900": $gray-900
|
|
38
|
-
|
|
39
|
+
"900": $gray-900
|
|
40
|
+
),
|
|
41
|
+
$grays
|
|
42
|
+
);
|
|
39
43
|
|
|
40
44
|
$lightblue: #ccecff;
|
|
41
45
|
$vwblue: #0786ba;
|
|
@@ -2,14 +2,14 @@
|
|
|
2
2
|
--color-scheme: light;
|
|
3
3
|
|
|
4
4
|
--clr-primary-400: hsl(198, 100%, 43%); /* {$blue}; */
|
|
5
|
-
--secondary: #
|
|
6
|
-
--tertiary: #
|
|
5
|
+
--secondary: #64748B;
|
|
6
|
+
--tertiary: #001E50;
|
|
7
7
|
|
|
8
8
|
--font-family: 'vw_textregular', 'system-ui', 'ui-sans-serif', sans-serif;;
|
|
9
9
|
|
|
10
|
-
|
|
10
|
+
/* variables for future changes: */
|
|
11
11
|
|
|
12
|
-
|
|
12
|
+
/* font sies */
|
|
13
13
|
--fs-300: clamp(0.94rem, calc(0.92rem + 0.08vw), 0.98rem);
|
|
14
14
|
--fs-400: clamp(1.13rem, calc(1.06rem + 0.33vw), 1.31rem);
|
|
15
15
|
--fs-500: clamp(1.35rem, calc(1.21rem + 0.69vw), 1.75rem);
|
|
@@ -18,7 +18,7 @@
|
|
|
18
18
|
--fs-800: clamp(2.33rem, calc(1.7rem + 3.15vw), 4.14rem);
|
|
19
19
|
--fs-900: clamp(2.8rem, calc(1.85rem + 4.74vw), 5.52rem);
|
|
20
20
|
|
|
21
|
-
|
|
21
|
+
/* colors */
|
|
22
22
|
--clr-primary-300: rgb(53, 114, 227);
|
|
23
23
|
--clr-primary-400: hsl(198, 100%, 43%);
|
|
24
24
|
--clr-primary-500: hsl(219, 76%, 25%);
|
|
@@ -56,7 +56,7 @@ body {
|
|
|
56
56
|
}
|
|
57
57
|
|
|
58
58
|
::-webkit-scrollbar-track {
|
|
59
|
-
background: rgba(0, 0, 0, 0.1);
|
|
59
|
+
background: rgba(0, 0, 0, 0.1);
|
|
60
60
|
border-radius: 0;
|
|
61
61
|
}
|
|
62
62
|
|
|
@@ -65,7 +65,7 @@ body {
|
|
|
65
65
|
background-color: var(--clr-primary-400);
|
|
66
66
|
}
|
|
67
67
|
|
|
68
|
-
|
|
68
|
+
/* Fallback to browsers without webkit-scrollbar support */
|
|
69
69
|
@supports not selector(::-webkit-scrollbar) {
|
|
70
70
|
* {
|
|
71
71
|
scrollbar-width: thin;
|
|
@@ -108,9 +108,9 @@ html {
|
|
|
108
108
|
}
|
|
109
109
|
|
|
110
110
|
|
|
111
|
-
|
|
111
|
+
/* Swiper styles */
|
|
112
112
|
:root {
|
|
113
|
-
// --swiper-navigation-color: #0099da;
|
|
113
|
+
/* // --swiper-navigation-color: #0099da; */
|
|
114
114
|
--swiper-navigation-size: 22px;
|
|
115
115
|
--swiper-scrollbar-drag-bg-color: var(--clr-primary-400);
|
|
116
116
|
--swiper-scrollbar-size: 1px;
|
|
@@ -17,16 +17,16 @@
|
|
|
17
17
|
minmax(0, var(--breakout-size)) [breakout-end]
|
|
18
18
|
minmax(var(--padding-inline), 1fr) [full-width-end];
|
|
19
19
|
|
|
20
|
-
|
|
20
|
+
> :not(.breakout, .full-width),
|
|
21
21
|
.full-width> :not(.breakout, .full-width) {
|
|
22
22
|
grid-column: content;
|
|
23
23
|
}
|
|
24
24
|
|
|
25
|
-
|
|
25
|
+
&.breakout {
|
|
26
26
|
grid-column: breakout;
|
|
27
27
|
}
|
|
28
28
|
|
|
29
|
-
|
|
29
|
+
>.full-width {
|
|
30
30
|
grid-column: full-width;
|
|
31
31
|
|
|
32
32
|
display: grid;
|
|
@@ -70,8 +70,7 @@ img.full-width {
|
|
|
70
70
|
}
|
|
71
71
|
|
|
72
72
|
.call-to-action {
|
|
73
|
-
@apply px-8 py-6
|
|
74
|
-
// background: var(--clr-primary-400);
|
|
73
|
+
@apply px-8 py-6;
|
|
75
74
|
}
|
|
76
75
|
|
|
77
76
|
.wrapper {
|
|
@@ -53,7 +53,7 @@
|
|
|
53
53
|
src: url('/fonts/nova-mono-v13-latin-regular.woff2') format('woff2');
|
|
54
54
|
font-weight: normal;
|
|
55
55
|
font-style: normal;
|
|
56
|
-
font-display: swap;
|
|
56
|
+
font-display: swap;
|
|
57
57
|
}
|
|
58
58
|
|
|
59
59
|
@font-face {
|
|
@@ -64,7 +64,7 @@
|
|
|
64
64
|
font-display: swap;
|
|
65
65
|
}
|
|
66
66
|
|
|
67
|
-
|
|
67
|
+
/* for some content which don't need to index in Google */
|
|
68
68
|
[data-text]:before {
|
|
69
69
|
content: attr(data-text);
|
|
70
70
|
}
|
|
File without changes
|