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.
@@ -0,0 +1,5 @@
1
+ {
2
+ "_variables": {
3
+ "lastUpdateCheck": 1727944915761
4
+ }
5
+ }
@@ -0,0 +1 @@
1
+ /// <reference types="astro/client" />
package/README.md CHANGED
@@ -87,7 +87,7 @@ Feel free to add new pages to the Core section
87
87
 
88
88
  ### Customizing the page layout
89
89
 
90
- You can find the css for the pages in `src/styles/content.scss`.
90
+ You can find the css for the pages in `src/styles/content.css`.
91
91
 
92
92
 
93
93
  ### Adding your components
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "spoko-design-system",
3
- "version": "0.2.32",
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": "^4.23.3",
31
- "@astrojs/mdx": "^2.3.1",
32
- "@astrojs/node": "^8.2.5",
33
- "@astrojs/sitemap": "^3.1.4",
34
- "@astrojs/vue": "^4.1.0",
35
- "@docsearch/css": "^3.6.0",
36
- "@iconify-json/ant-design": "^1.1.16",
37
- "@iconify-json/bi": "^1.1.23",
38
- "@iconify-json/bx": "^1.1.10",
39
- "@iconify-json/carbon": "^1.1.31",
40
- "@iconify-json/circle-flags": "^1.1.47",
41
- "@iconify-json/el": "^1.1.8",
42
- "@iconify-json/eos-icons": "^1.1.10",
43
- "@iconify-json/flowbite": "^1.1.3",
44
- "@iconify-json/fluent": "^1.1.52",
45
- "@iconify-json/fluent-emoji": "1.1.18",
46
- "@iconify-json/icon-park-outline": "^1.1.15",
47
- "@iconify-json/la": "^1.1.8",
48
- "@iconify-json/mdi": "^1.1.66",
49
- "@iconify-json/noto-v1": "^1.1.11",
50
- "@iconify-json/octicon": "^1.1.53",
51
- "@iconify-json/ph": "^1.1.12",
52
- "@iconify-json/simple-icons": "^1.1.99",
53
- "@iconify-json/uil": "^1.1.8",
54
- "@iconify/json": "^2.2.202",
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.0.2",
56
+ "@playform/compress": "^0.1.1",
57
57
  "@playform/inline": "github:playform/inline",
58
- "@types/node": "^20.12.7",
59
- "@unocss/astro": "^0.58.9",
60
- "@unocss/preset-attributify": "^0.58.9",
61
- "@unocss/preset-typography": "^0.58.9",
62
- "@unocss/preset-uno": "^0.58.9",
63
- "@unocss/preset-web-fonts": "^0.58.9",
64
- "@unocss/preset-wind": "^0.58.9",
65
- "@unocss/reset": "^0.58.9",
66
- "@vite-pwa/astro": "^0.3.1",
67
- "@vueuse/core": "^10.9.0",
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.0",
70
- "astro-meta-tags": "^0.2.2",
71
- "astro-navbar": "^2.3.2",
72
- "astro-pagefind": "^1.5.0",
73
- "astro-remote": "^0.3.2",
74
- "i18next": "^23.11.2",
75
- "i18next-browser-languagedetector": "^7.2.1",
76
- "i18next-fs-backend": "^2.3.1",
77
- "i18next-http-backend": "^2.5.1",
78
- "i18next-vue": "^4.0.0",
79
- "sass": "^1.75.0",
80
- "swiper": "^11.1.1",
81
- "unocss": "^0.58.9",
82
- "vite": "^5.2.10",
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.58.9",
87
- "astro": "^4.6.3",
88
- "unocss": "^0.58.3"
85
+ "@unocss/transformer-variant-group": "^0.63.2",
86
+ "astro": "^4.15.10",
87
+ "unocss": "^0.60.0"
89
88
  },
90
- "packageManager": "pnpm@8.15.5",
89
+ "packageManager": "pnpm@9.8.0",
91
90
  "pnpm": {
92
91
  "default": "8.15.2",
93
92
  "overrides": {
@@ -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.scss";
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.scss";
9
+ import "../styles/main.css";
10
10
  import Copyright from "../components/Copyright.astro";
11
11
  const locale = "en";
12
12
  changeLanguage(locale);
@@ -53,7 +53,7 @@ Feel free to add new pages to the Core section
53
53
 
54
54
  ### Customizing the page layout
55
55
 
56
- You can find the css for the pages in `src/styles/content.scss`.
56
+ You can find the css for the pages in `src/styles/content.css`.
57
57
 
58
58
  ### Adding mew components
59
59
 
@@ -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: #{$gray-500};
6
- --tertiary: #{$verydarkblue};
5
+ --secondary: #64748B;
6
+ --tertiary: #001E50;
7
7
 
8
8
  --font-family: 'vw_textregular', 'system-ui', 'ui-sans-serif', sans-serif;;
9
9
 
10
- // variables for future changes:
10
+ /* variables for future changes: */
11
11
 
12
- // font sies
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
- // colors
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); //$secondary;
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
- // Fallback to browsers without webkit-scrollbar support
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
- //Swiper styles
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
- &> :not(.breakout, .full-width),
20
+ > :not(.breakout, .full-width),
21
21
  .full-width> :not(.breakout, .full-width) {
22
22
  grid-column: content;
23
23
  }
24
24
 
25
- &>.breakout {
25
+ &.breakout {
26
26
  grid-column: breakout;
27
27
  }
28
28
 
29
- &>.full-width {
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 ; //border-2 border-black;
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; //fallback;
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
- // for some content which don't need to index in Google
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
  }
@@ -1,7 +1,7 @@
1
1
 
2
- @import "variables";
2
+ /* @import "variables"; */
3
3
  @import "base/typography";
4
4
  @import "base/base";
5
5
  @import "base/grid";
6
6
 
7
- @import "content.scss";
7
+ @import "content.css";
File without changes