11diff --git a/assets/css/tailwind.css b/assets/css/tailwind.css
2- index 3cb249fb096e670af68af7304dc6fa3934dc9460..a4dfc0f2255ab45aa0eb47f541e51dab9378a2b5 100644
2+ index 3cb249fb096e670af68af7304dc6fa3934dc9460..0c3a11921db4d5ba9f24aa87002a0bd693be9788 100644
33--- a/assets/css/tailwind.css
44+++ b/assets/css/tailwind.css
5- @@ -1,4 +1,16 @@
5+ @@ -1,101 +1,30 @@
66 @import url(https://fonts.bunny.net/css?family=red-hat-display:400,500,600,700,800,900|red-hat-text:400,500,600,700);
77+ @import "tailwindcss";
8+ + @import "#build/tailwindcss/sources.css";
89+ @import "@storefront-ui/vue/tailwind-config";
910+ @plugin "@storefront-ui/typography";
11+
12+ - :root {
13+ - /* Primary */
14+ - --colors-primary-50: 229 255 238;
15+ - --colors-primary-100: 213 255 234;
16+ - --colors-primary-200: 192 242 208;
17+ - --colors-primary-300: 112 255 183;
18+ - --colors-primary-400: 43 253 144;
19+ - --colors-primary-500: 0 225 109;
20+ - --colors-primary-600: 0 192 88;
21+ - --colors-primary-700: 0 128 62;
22+ - --colors-primary-800: 6 117 61;
23+ - --colors-primary-900: 0 51 25;
24+ -
25+ - /* Secondary */
26+ - --colors-secondary-50: 245 243 255;
27+ - --colors-secondary-100: 237 233 254;
28+ - --colors-secondary-200: 221 214 254;
29+ - --colors-secondary-300: 196 181 253;
30+ - --colors-secondary-400: 167 139 250;
31+ - --colors-secondary-500: 135 92 246;
32+ - --colors-secondary-600: 111 64 236;
33+ - --colors-secondary-700: 97 49 221;
34+ - --colors-secondary-800: 83 30 211;
35+ - --colors-secondary-900: 68 21 178;
36+ -
37+ - /* Positive */
38+ - --colors-positive-50: 240 253 244;
39+ - --colors-positive-100: 220 252 231;
40+ - --colors-positive-200: 187 247 208;
41+ - --colors-positive-300: 134 239 172;
42+ - --colors-positive-400: 74 222 128;
43+ - --colors-positive-500: 2 198 82;
44+ - --colors-positive-600: 10 171 69;
45+ - --colors-positive-700: 1 137 55;
46+ - --colors-positive-800: 22 101 52;
47+ - --colors-positive-900: 20 83 45;
48+ -
49+ - /* Negative */
50+ - --colors-negative-50: 255 241 242;
51+ - --colors-negative-100: 255 228 230;
52+ - --colors-negative-200: 254 205 211;
53+ - --colors-negative-300: 253 164 175;
54+ - --colors-negative-400: 251 113 133;
55+ - --colors-negative-500: 244 63 94;
56+ - --colors-negative-600: 225 29 72;
57+ - --colors-negative-700: 190 18 60;
58+ - --colors-negative-800: 159 18 57;
59+ - --colors-negative-900: 136 19 55 1;
60+ -
61+ - /* Warning */
62+ - --colors-warning-50: 254 252 232;
63+ - --colors-warning-100: 254 249 195;
64+ - --colors-warning-200: 254 240 138;
65+ - --colors-warning-300: 253 224 71;
66+ - --colors-warning-400: 250 204 21;
67+ - --colors-warning-500: 234 179 8;
68+ - --colors-warning-600: 202 138 4;
69+ - --colors-warning-700: 161 98 7;
70+ - --colors-warning-800: 133 77 14;
71+ - --colors-warning-900: 113 63 18;
72+ -
73+ - /* Neutral */
74+ - --colors-neutral-50: 249 251 250;
75+ - --colors-neutral-100: 242 247 244;
76+ - --colors-neutral-200: 215 224 219;
77+ - --colors-neutral-300: 168 178 171;
78+ - --colors-neutral-400: 129 140 133;
79+ - --colors-neutral-500: 92 102 95;
80+ - --colors-neutral-600: 67 77 70;
81+ - --colors-neutral-700: 44 51 46;
82+ - --colors-neutral-800: 32 38 34;
83+ - --colors-neutral-900: 21 26 22;
84+ -
85+ - /* Disabled */
86+ - --colors-disabled-50: 250 250 250;
87+ - --colors-disabled-100: 244 244 245;
88+ - --colors-disabled-200: 228 228 231;
89+ - --colors-disabled-300: 212 212 216;
90+ - --colors-disabled-400: 161 161 170;
91+ - --colors-disabled-500: 113 113 122;
92+ - --colors-disabled-600: 82 82 91;
93+ - --colors-disabled-700: 63 63 70;
94+ - --colors-disabled-800: 39 39 42;
95+ - --colors-disabled-900: 24 24 27;
96+ - }
97+ -
98+ - * {
99+ - @apply dark:border-neutral-700;
100+ + @source "./node_modules/sf-docs-base/**/*.vue";
10101+
11- + @config "../../tailwind.config.ts";
12- +
13- + /* migrate to mew storefront-ui v3 */
14- + @custom-variant dark (&:where(.dark, .dark *));
102+ + @layer base {
103+ + *,
104+ + ::before,
105+ + ::after {
106+ + border-color: var(--color-neutral-100);
107+ + }
15108+
16- + @source inline('dark:fill-white');
17- + @source inline('dark:invert');
18- + @source inline('!text-xs');
109+ + * {
110+ + @apply dark:border-neutral-700;
111+ + }
112+ }
19113
20- :root {
21- /* Primary */
22- @@ -95,7 +107,7 @@
114+ +
115+ .dark:root {
116+ color-scheme: dark;
23117 }
24118
25119 .prose code:not(pre code) {
@@ -28,11 +122,67 @@ index 3cb249fb096e670af68af7304dc6fa3934dc9460..a4dfc0f2255ab45aa0eb47f541e51dab
28122 }
29123
30124 .prose h1 a,
125+ @@ -153,3 +82,5 @@
126+ .has-diff .line.diff.add {
127+ @apply bg-green-400/20;
128+ }
129+ +
130+ + @config "../../tailwind.config.ts";
131+ diff --git a/components/app/AppFooter.vue b/components/app/AppFooter.vue
132+ index 2ed81567d25decc39d636a3e73a792d4c9c95fd5..701e1143c501af4795363d63e892dae50428ce11 100644
133+ --- a/components/app/AppFooter.vue
134+ +++ b/components/app/AppFooter.vue
135+ @@ -22,11 +22,11 @@ const socialsLinks = [
136+ class="mt-48 text-sm px-6 lg:px-12 2xl:max-w-7xl w-full flex items-center border-t py-4"
137+ >
138+ <div class="opacity-80 flex-1 text-xs">
139+ - <p>© 2024 Alokai.</p>
140+ + <p>© {{ new Date().getFullYear() }} Alokai.</p>
141+ </div>
142+ <nav class="flex items-center mx-auto font-medium gap-x-8">
143+ <NuxtLink
144+ - to="/contributing"
145+ + to="https://docs.alokai.com/contributing"
146+ class="opacity-80 hover:opacity-100 transition-opacity"
147+ >
148+ Contributing
31149diff --git a/components/app/AppLayout.vue b/components/app/AppLayout.vue
32- index d6e7977d68497431f89ab680134a4a58cb6e501f..1a122e164875597b34585eb9af439ef32a7a5d02 100644
150+ index d6e7977d68497431f89ab680134a4a58cb6e501f..91978a51681e29fcecefb6afbbbe6afaa7e5869d 100644
33151--- a/components/app/AppLayout.vue
34152+++ b/components/app/AppLayout.vue
35- @@ -84,6 +84,8 @@ const { storefrontUi } = useRuntimeConfig().public
153+ @@ -16,16 +16,21 @@ const { storefrontUi } = useRuntimeConfig().public
154+ height="2rem"
155+ class="[&>*]:!fill-white"
156+ />
157+ - <NuxtLink
158+ - to="https://docs.vuestorefront.io"
159+ - class="font-medium flex items-center text-sm group text-white"
160+ - >
161+ - Build Better Storefronts
162+ - <Icon
163+ - name="ri:arrow-right-s-fill"
164+ - class="text-xl group-hover:translate-x-px transition-transform"
165+ - />
166+ - </NuxtLink>
167+ + <div class="flex items-center gap-x-2 text-white">
168+ + Vue Storefront is now Alokai!
169+ + <NuxtLink
170+ + to="https://alokai.com/news/vue-storefront-is-now-alokai"
171+ + target="_blank"
172+ + external
173+ + class="font-medium flex items-center text-sm group underline hover:no-underline focus-visible:no-underline"
174+ + >
175+ + Learn More
176+ + <Icon
177+ + name="ri:arrow-right-s-fill"
178+ + class="text-xl group-hover:translate-x-px transition-transform"
179+ + />
180+ + </NuxtLink>
181+ + </div>
182+ </div>
183+ <div
184+ v-else
185+ @@ -84,6 +89,8 @@ const { storefrontUi } = useRuntimeConfig().public
36186 </template>
37187
38188 <style>
@@ -41,6 +191,30 @@ index d6e7977d68497431f89ab680134a4a58cb6e501f..1a122e164875597b34585eb9af439ef3
41191 .dark {
42192 @apply bg-neutral-900;
43193 }
194+ diff --git a/components/content/Info.vue b/components/content/Info.vue
195+ index 843dfad268b9601d5cc3df739da859e8e54322f0..c186336ab418d58d51ac944d63af2273dc229e21 100644
196+ --- a/components/content/Info.vue
197+ +++ b/components/content/Info.vue
198+ @@ -1,6 +1,6 @@
199+ <template>
200+ <div
201+ - class="mt-5 leading-relaxed not-prose [&>*>a]:underline px-6 py-4 [&>*>code]:!bg-secondary-800/20 [&>*>code]:!text-secondary-900 [&>*>code]:dark:!text-secondary-50 border-secondary-500 dark:border-secondary-500 border rounded-lg bg-secondary-500 bg-opacity-20 text-sm dark:text-secondary-100 text-secondary-800"
202+ + class="mt-5 leading-relaxed not-prose [&>*>a]:underline px-6 py-4 [&>*>code]:!bg-secondary-800/20 [&>*>code]:!text-secondary-900 [&>*>code]:dark:!text-secondary-50 border-secondary-500 dark:border-secondary-500 dark:bg-secondary-800 border rounded-lg bg-secondary-200 bg-opacity-20 text-sm dark:text-secondary-100 text-secondary-800"
203+ >
204+ <p v-if="$slots.title" class="text-base font-bold mb-2">
205+ <ContentSlot :use="$slots.title" unwrap="p" />
206+ diff --git a/components/content/ReadMore.vue b/components/content/ReadMore.vue
207+ index 843dfad268b9601d5cc3df739da859e8e54322f0..c186336ab418d58d51ac944d63af2273dc229e21 100644
208+ --- a/components/content/ReadMore.vue
209+ +++ b/components/content/ReadMore.vue
210+ @@ -1,6 +1,6 @@
211+ <template>
212+ <div
213+ - class="mt-5 leading-relaxed not-prose [&>*>a]:underline px-6 py-4 [&>*>code]:!bg-secondary-800/20 [&>*>code]:!text-secondary-900 [&>*>code]:dark:!text-secondary-50 border-secondary-500 dark:border-secondary-500 border rounded-lg bg-secondary-500 bg-opacity-20 text-sm dark:text-secondary-100 text-secondary-800"
214+ + class="mt-5 leading-relaxed not-prose [&>*>a]:underline px-6 py-4 [&>*>code]:!bg-secondary-800/20 [&>*>code]:!text-secondary-900 [&>*>code]:dark:!text-secondary-50 border-secondary-500 dark:border-secondary-500 dark:bg-secondary-800 border rounded-lg bg-secondary-200 bg-opacity-20 text-sm dark:text-secondary-100 text-secondary-800"
215+ >
216+ <p v-if="$slots.title" class="text-base font-bold mb-2">
217+ <ContentSlot :use="$slots.title" unwrap="p" />
44218diff --git a/components/content/ReferenceToggle.vue b/components/content/ReferenceToggle.vue
45219index aea94bc0b7338822f34e2ec1d960d714f9d036aa..96ecc3b3dba5e484a1432d1ad308db409534f646 100644
46220--- a/components/content/ReferenceToggle.vue
@@ -54,6 +228,30 @@ index aea94bc0b7338822f34e2ec1d960d714f9d036aa..96ecc3b3dba5e484a1432d1ad308db40
54228 :slotted(hr) {
55229 @apply my-4;
56230 }
231+ diff --git a/components/content/Tip.vue b/components/content/Tip.vue
232+ index a7e89bf3e92e9cf338ea26e5aeacb78c03a333eb..040a51314836b9c2cb9643723fba385f2b948e0a 100644
233+ --- a/components/content/Tip.vue
234+ +++ b/components/content/Tip.vue
235+ @@ -1,6 +1,6 @@
236+ <template>
237+ <div
238+ - class="mt-5 leading-relaxed not-prose [&>*>a]:underline px-6 py-4 [&>*>code]:!bg-primary-800/20 [&>*>code]:!text-primary-900 [&>*>code]:dark:!text-primary-50 border-primary-500 dark:border-primary-500 border rounded-lg bg-primary-500 bg-opacity-20 text-sm dark:text-primary-100 text-primary-800"
239+ + class="mt-5 leading-relaxed not-prose [&>*>a]:underline px-6 py-4 [&>*>code]:!bg-primary-800/20 [&>*>code]:!text-primary-900 [&>*>code]:dark:!text-primary-50 border-primary-500 dark:border-primary-500 border rounded-lg dark:bg-primary-800 bg-primary-200 bg-opacity-20 text-sm dark:text-primary-100 text-primary-800"
240+ >
241+ <p v-if="$slots.title" class="text-base font-bold mb-2">
242+ <ContentSlot :use="$slots.title" unwrap="p" />
243+ diff --git a/components/content/Warning.vue b/components/content/Warning.vue
244+ index 7006837f6030ad8cc3a836c7dfbeea1b958b1be7..253ed324aac9bad8a703444235dac85ac2e4f349 100644
245+ --- a/components/content/Warning.vue
246+ +++ b/components/content/Warning.vue
247+ @@ -1,6 +1,6 @@
248+ <template>
249+ <div
250+ - class="mt-5 leading-relaxed not-prose [&>*>a]:underline px-6 py-4 [&>*>code]:!bg-yellow-800/20 [&>*>code]:!text-yellow-900 [&>*>code]:dark:!text-yellow-50 border-yellow-500 dark:border-yellow-500 border rounded-lg bg-yellow-500 bg-opacity-20 text-sm dark:text-yellow-100 text-yellow-800"
251+ + class="mt-5 leading-relaxed not-prose [&>*>a]:underline px-6 py-4 [&>*>code]:!bg-yellow-800/20 [&>*>code]:!text-yellow-900 [&>*>code]:dark:!text-yellow-50 border-yellow-500 dark:border-yellow-500 border rounded-lg dark:bg-yellow-950 bg-yellow-50 bg-opacity-20 text-sm dark:text-yellow-100 text-yellow-800"
252+ >
253+ <p v-if="$slots.title" class="text-base font-bold mb-2">
254+ <ContentSlot :use="$slots.title" unwrap="p" />
57255diff --git a/components/content/prose/ProseCode.vue b/components/content/prose/ProseCode.vue
58256index fe4772a0eacbe0d6a135c98a895f35d372083b22..c864836cfbbd8d8ac6dafcc1acd1313955c377d7 100644
59257--- a/components/content/prose/ProseCode.vue
0 commit comments