spoko-design-system 0.2.32 → 0.2.34
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/icon.d.ts +1627 -12
- package/.astro/settings.json +5 -0
- package/.astro/types.d.ts +1 -0
- package/README.md +1 -1
- package/package.json +55 -56
- package/src/layouts/Layout.astro +1 -1
- package/src/layouts/MainLayout.astro +1 -1
- package/src/pages/core/introduction.mdx +1 -1
- package/src/pages/index.astro +4 -3
- 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
|
@@ -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.34",
|
|
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.
|
|
33
|
-
"@astrojs/sitemap": "^3.1.
|
|
34
|
-
"@astrojs/vue": "^4.1
|
|
35
|
-
"@docsearch/css": "^3.6.
|
|
36
|
-
"@iconify-json/ant-design": "^1.1
|
|
37
|
-
"@iconify-json/bi": "^1.
|
|
38
|
-
"@iconify-json/bx": "^1.
|
|
39
|
-
"@iconify-json/carbon": "^1.1
|
|
40
|
-
"@iconify-json/circle-flags": "^1.
|
|
41
|
-
"@iconify-json/el": "^1.
|
|
42
|
-
"@iconify-json/eos-icons": "^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.
|
|
47
|
-
"@iconify-json/la": "^1.
|
|
48
|
-
"@iconify-json/mdi": "^1.
|
|
49
|
-
"@iconify-json/noto-v1": "^1.
|
|
50
|
-
"@iconify-json/octicon": "^1.
|
|
51
|
-
"@iconify-json/ph": "^1.
|
|
52
|
-
"@iconify-json/simple-icons": "^1.
|
|
53
|
-
"@iconify-json/uil": "^1.
|
|
54
|
-
"@iconify/json": "^2.2.
|
|
30
|
+
"@algolia/client-search": "^5.7.0",
|
|
31
|
+
"@astrojs/mdx": "^3.1.7",
|
|
32
|
+
"@astrojs/node": "^8.3.4",
|
|
33
|
+
"@astrojs/sitemap": "^3.1.6",
|
|
34
|
+
"@astrojs/vue": "^4.5.1",
|
|
35
|
+
"@docsearch/css": "^3.6.2",
|
|
36
|
+
"@iconify-json/ant-design": "^1.2.1",
|
|
37
|
+
"@iconify-json/bi": "^1.2.0",
|
|
38
|
+
"@iconify-json/bx": "^1.2.0",
|
|
39
|
+
"@iconify-json/carbon": "^1.2.1",
|
|
40
|
+
"@iconify-json/circle-flags": "^1.2.0",
|
|
41
|
+
"@iconify-json/el": "^1.2.0",
|
|
42
|
+
"@iconify-json/eos-icons": "^1.2.0",
|
|
43
|
+
"@iconify-json/flowbite": "^1.2.0",
|
|
44
|
+
"@iconify-json/fluent": "^1.2.2",
|
|
45
|
+
"@iconify-json/fluent-emoji": "1.2.1",
|
|
46
|
+
"@iconify-json/icon-park-outline": "^1.2.0",
|
|
47
|
+
"@iconify-json/la": "^1.2.0",
|
|
48
|
+
"@iconify-json/mdi": "^1.2.0",
|
|
49
|
+
"@iconify-json/noto-v1": "^1.2.0",
|
|
50
|
+
"@iconify-json/octicon": "^1.2.0",
|
|
51
|
+
"@iconify-json/ph": "^1.2.0",
|
|
52
|
+
"@iconify-json/simple-icons": "^1.2.5",
|
|
53
|
+
"@iconify-json/uil": "^1.2.0",
|
|
54
|
+
"@iconify/json": "^2.2.256",
|
|
55
55
|
"@iconify/vue": "^4.1.2",
|
|
56
|
-
"@playform/compress": "^0.
|
|
56
|
+
"@playform/compress": "^0.1.1",
|
|
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.4",
|
|
59
|
+
"@unocss/astro": "^0.63.2",
|
|
60
|
+
"@unocss/preset-attributify": "^0.63.2",
|
|
61
|
+
"@unocss/preset-typography": "^0.63.2",
|
|
62
|
+
"@unocss/preset-uno": "^0.63.2",
|
|
63
|
+
"@unocss/preset-web-fonts": "^0.63.2",
|
|
64
|
+
"@unocss/preset-wind": "^0.63.2",
|
|
65
|
+
"@unocss/reset": "^0.63.2",
|
|
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.
|
|
73
|
-
"astro-remote": "^0.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.23"
|
|
69
|
+
"astro-icon": "^1.1.1",
|
|
70
|
+
"astro-meta-tags": "^0.3.1",
|
|
71
|
+
"astro-navbar": "^2.3.3",
|
|
72
|
+
"astro-pagefind": "^1.6.0",
|
|
73
|
+
"astro-remote": "^0.3.3",
|
|
74
|
+
"i18next": "^23.15.1",
|
|
75
|
+
"i18next-browser-languagedetector": "^8.0.0",
|
|
76
|
+
"i18next-fs-backend": "^2.3.2",
|
|
77
|
+
"i18next-http-backend": "^2.6.1",
|
|
78
|
+
"i18next-vue": "^5.0.0",
|
|
79
|
+
"swiper": "^11.1.14",
|
|
80
|
+
"unocss": "^0.63.2",
|
|
81
|
+
"vite": "^5.4.8",
|
|
82
|
+
"vue": "^3.5.10"
|
|
84
83
|
},
|
|
85
84
|
"devDependencies": {
|
|
86
|
-
"@unocss/transformer-variant-group": "^0.
|
|
87
|
-
"astro": "^4.
|
|
88
|
-
"unocss": "^0.
|
|
85
|
+
"@unocss/transformer-variant-group": "^0.63.2",
|
|
86
|
+
"astro": "^4.15.10",
|
|
87
|
+
"unocss": "^0.60.0"
|
|
89
88
|
},
|
|
90
|
-
"packageManager": "pnpm@8.
|
|
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);
|
package/src/pages/index.astro
CHANGED
|
@@ -33,9 +33,7 @@ const navItems = [
|
|
|
33
33
|
|
|
34
34
|
<Layout>
|
|
35
35
|
<div class="bg-slate-100 min-h-screen text-center">
|
|
36
|
-
<Jumbatron class="w-full">
|
|
37
|
-
<span slot="intro" set:html={SITE.title} />
|
|
38
|
-
|
|
36
|
+
<Jumbatron class="w-full" intro={SITE.title}>
|
|
39
37
|
<p
|
|
40
38
|
slot="subtitle"
|
|
41
39
|
class="mt-3 text-base text-gray-200 sm:mt-5 text-lg md:text-xl lg:mx-0 md:mt-5"
|
|
@@ -115,6 +113,9 @@ const navItems = [
|
|
|
115
113
|
<li class="leading-5 me-6 mb-4 lg:mb-0">
|
|
116
114
|
<a href="https://spoko.space" class="transition ease-in-out delay-200 duration-300 text-blue-600 hover:(text-light-blue-500 decoration-blue-600) underline decoration-white" target="_blank"> spoko.space</a>
|
|
117
115
|
</li>
|
|
116
|
+
<li class="leading-5 me-6 mb-4 lg:mb-0">
|
|
117
|
+
<a href="https://sale.polo.blue/" class="transition ease-in-out delay-200 duration-300 text-blue-600 hover:(text-light-blue-500 decoration-blue-600) underline decoration-white" target="_blank">sale.polo.blue</a>
|
|
118
|
+
</li>
|
|
118
119
|
</ul>
|
|
119
120
|
</div>
|
|
120
121
|
|
|
@@ -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
|