Skip to content

Commit d7aa409

Browse files
chore: wip
1 parent 330180d commit d7aa409

File tree

30 files changed

+242
-513
lines changed

30 files changed

+242
-513
lines changed

.stacks/core/types/src/ui.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
import type { UserShortcuts } from 'unocss'
22

33
export type Font = 'inter' | 'mona' | 'hubot'
4-
export type Icon = 'heroicon-outline' | 'heroicon-solid'
4+
export type Icon = 'heroicons'
55
export type WebFontsProviders = 'google' | 'bunny' | 'fontshare'
66

77
export interface FontInfo {

.stacks/core/ui/package.json

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -51,8 +51,7 @@
5151
"typecheck": "tsc --noEmit"
5252
},
5353
"peerDependencies": {
54-
"@iconify-json/heroicons-outline": "^1.1.6",
55-
"@iconify-json/heroicons-solid": "^1.1.7",
54+
"@iconify-json/heroicons": "^1.1.11",
5655
"@julr/unocss-preset-forms": "^0.0.5",
5756
"@stacksjs/build": "workspace:*",
5857
"@stacksjs/config": "workspace:*",
@@ -63,6 +62,8 @@
6362
"vue-tsc": "^1.8.8"
6463
},
6564
"devDependencies": {
66-
"@stacksjs/development": "workspace:*"
65+
"@iconify-json/heroicons": "^1.1.11",
66+
"@stacksjs/development": "workspace:*",
67+
"@unocss/preset-icons": "^0.54.1"
6768
}
6869
}

.stacks/stacks/dashboard/src/components/MobileSidebar.vue

Lines changed: 22 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -81,13 +81,13 @@
8181
class="-mx-2 space-y-1"
8282
>
8383
<li>
84-
<!-- Current: "bg-gray-50 text-indigo-600", Default: "text-gray-700 hover:text-indigo-600 hover:bg-gray-50" -->
84+
<!-- Current: "bg-gray-50 text-blue-600", Default: "text-gray-700 hover:text-blue-600 hover:bg-gray-50" -->
8585
<a
8686
href="#"
87-
class="bg-gray-50 text-indigo-600 group flex gap-x-3 rounded-md p-2 text-sm leading-6 font-semibold"
87+
class="bg-gray-50 text-blue-600 group flex gap-x-3 rounded-md p-2 text-sm leading-6 font-semibold"
8888
>
8989
<svg
90-
class="h-6 w-6 shrink-0 text-indigo-600"
90+
class="h-6 w-6 shrink-0 text-blue-600"
9191
fill="none"
9292
viewBox="0 0 24 24"
9393
stroke-width="1.5"
@@ -106,10 +106,10 @@
106106
<li>
107107
<a
108108
href="#"
109-
class="text-gray-700 hover:text-indigo-600 hover:bg-gray-50 group flex gap-x-3 rounded-md p-2 text-sm leading-6 font-semibold"
109+
class="text-gray-700 hover:text-blue-600 hover:bg-gray-50 group flex gap-x-3 rounded-md p-2 text-sm leading-6 font-semibold"
110110
>
111111
<svg
112-
class="h-6 w-6 shrink-0 text-gray-400 group-hover:text-indigo-600"
112+
class="h-6 w-6 shrink-0 text-gray-400 group-hover:text-blue-600"
113113
fill="none"
114114
viewBox="0 0 24 24"
115115
stroke-width="1.5"
@@ -128,10 +128,10 @@
128128
<li>
129129
<a
130130
href="#"
131-
class="text-gray-700 hover:text-indigo-600 hover:bg-gray-50 group flex gap-x-3 rounded-md p-2 text-sm leading-6 font-semibold"
131+
class="text-gray-700 hover:text-blue-600 hover:bg-gray-50 group flex gap-x-3 rounded-md p-2 text-sm leading-6 font-semibold"
132132
>
133133
<svg
134-
class="h-6 w-6 shrink-0 text-gray-400 group-hover:text-indigo-600"
134+
class="h-6 w-6 shrink-0 text-gray-400 group-hover:text-blue-600"
135135
fill="none"
136136
viewBox="0 0 24 24"
137137
stroke-width="1.5"
@@ -150,10 +150,10 @@
150150
<li>
151151
<a
152152
href="#"
153-
class="text-gray-700 hover:text-indigo-600 hover:bg-gray-50 group flex gap-x-3 rounded-md p-2 text-sm leading-6 font-semibold"
153+
class="text-gray-700 hover:text-blue-600 hover:bg-gray-50 group flex gap-x-3 rounded-md p-2 text-sm leading-6 font-semibold"
154154
>
155155
<svg
156-
class="h-6 w-6 shrink-0 text-gray-400 group-hover:text-indigo-600"
156+
class="h-6 w-6 shrink-0 text-gray-400 group-hover:text-blue-600"
157157
fill="none"
158158
viewBox="0 0 24 24"
159159
stroke-width="1.5"
@@ -172,10 +172,10 @@
172172
<li>
173173
<a
174174
href="#"
175-
class="text-gray-700 hover:text-indigo-600 hover:bg-gray-50 group flex gap-x-3 rounded-md p-2 text-sm leading-6 font-semibold"
175+
class="text-gray-700 hover:text-blue-600 hover:bg-gray-50 group flex gap-x-3 rounded-md p-2 text-sm leading-6 font-semibold"
176176
>
177177
<svg
178-
class="h-6 w-6 shrink-0 text-gray-400 group-hover:text-indigo-600"
178+
class="h-6 w-6 shrink-0 text-gray-400 group-hover:text-blue-600"
179179
fill="none"
180180
viewBox="0 0 24 24"
181181
stroke-width="1.5"
@@ -194,10 +194,10 @@
194194
<li>
195195
<a
196196
href="#"
197-
class="text-gray-700 hover:text-indigo-600 hover:bg-gray-50 group flex gap-x-3 rounded-md p-2 text-sm leading-6 font-semibold"
197+
class="text-gray-700 hover:text-blue-600 hover:bg-gray-50 group flex gap-x-3 rounded-md p-2 text-sm leading-6 font-semibold"
198198
>
199199
<svg
200-
class="h-6 w-6 shrink-0 text-gray-400 group-hover:text-indigo-600"
200+
class="h-6 w-6 shrink-0 text-gray-400 group-hover:text-blue-600"
201201
fill="none"
202202
viewBox="0 0 24 24"
203203
stroke-width="1.5"
@@ -229,30 +229,30 @@
229229
class="-mx-2 mt-2 space-y-1"
230230
>
231231
<li>
232-
<!-- Current: "bg-gray-50 text-indigo-600", Default: "text-gray-700 hover:text-indigo-600 hover:bg-gray-50" -->
232+
<!-- Current: "bg-gray-50 text-blue-600", Default: "text-gray-700 hover:text-blue-600 hover:bg-gray-50" -->
233233
<a
234234
href="#"
235-
class="text-gray-700 hover:text-indigo-600 hover:bg-gray-50 group flex gap-x-3 rounded-md p-2 text-sm leading-6 font-semibold"
235+
class="text-gray-700 hover:text-blue-600 hover:bg-gray-50 group flex gap-x-3 rounded-md p-2 text-sm leading-6 font-semibold"
236236
>
237-
<span class="flex h-6 w-6 shrink-0 items-center justify-center rounded-lg border text-[0.625rem] font-medium bg-white text-gray-400 border-gray-200 group-hover:border-indigo-600 group-hover:text-indigo-600">H</span>
237+
<span class="flex h-6 w-6 shrink-0 items-center justify-center rounded-lg border text-[0.625rem] font-medium bg-white text-gray-400 border-gray-200 group-hover:border-blue-600 group-hover:text-blue-600">H</span>
238238
<span class="truncate">Heroicons</span>
239239
</a>
240240
</li>
241241
<li>
242242
<a
243243
href="#"
244-
class="text-gray-700 hover:text-indigo-600 hover:bg-gray-50 group flex gap-x-3 rounded-md p-2 text-sm leading-6 font-semibold"
244+
class="text-gray-700 hover:text-blue-600 hover:bg-gray-50 group flex gap-x-3 rounded-md p-2 text-sm leading-6 font-semibold"
245245
>
246-
<span class="flex h-6 w-6 shrink-0 items-center justify-center rounded-lg border text-[0.625rem] font-medium bg-white text-gray-400 border-gray-200 group-hover:border-indigo-600 group-hover:text-indigo-600">T</span>
246+
<span class="flex h-6 w-6 shrink-0 items-center justify-center rounded-lg border text-[0.625rem] font-medium bg-white text-gray-400 border-gray-200 group-hover:border-blue-600 group-hover:text-blue-600">T</span>
247247
<span class="truncate">Tailwind Labs</span>
248248
</a>
249249
</li>
250250
<li>
251251
<a
252252
href="#"
253-
class="text-gray-700 hover:text-indigo-600 hover:bg-gray-50 group flex gap-x-3 rounded-md p-2 text-sm leading-6 font-semibold"
253+
class="text-gray-700 hover:text-blue-600 hover:bg-gray-50 group flex gap-x-3 rounded-md p-2 text-sm leading-6 font-semibold"
254254
>
255-
<span class="flex h-6 w-6 shrink-0 items-center justify-center rounded-lg border text-[0.625rem] font-medium bg-white text-gray-400 border-gray-200 group-hover:border-indigo-600 group-hover:text-indigo-600">W</span>
255+
<span class="flex h-6 w-6 shrink-0 items-center justify-center rounded-lg border text-[0.625rem] font-medium bg-white text-gray-400 border-gray-200 group-hover:border-blue-600 group-hover:text-blue-600">W</span>
256256
<span class="truncate">Workcation</span>
257257
</a>
258258
</li>
@@ -261,10 +261,10 @@
261261
<li class="mt-auto">
262262
<a
263263
href="#"
264-
class="group -mx-2 flex gap-x-3 rounded-md p-2 text-sm font-semibold leading-6 text-gray-700 hover:bg-gray-50 hover:text-indigo-600"
264+
class="group -mx-2 flex gap-x-3 rounded-md p-2 text-sm font-semibold leading-6 text-gray-700 hover:bg-gray-50 hover:text-blue-600"
265265
>
266266
<svg
267-
class="h-6 w-6 shrink-0 text-gray-400 group-hover:text-indigo-600"
267+
class="h-6 w-6 shrink-0 text-gray-400 group-hover:text-blue-600"
268268
fill="none"
269269
viewBox="0 0 24 24"
270270
stroke-width="1.5"

.stacks/stacks/dashboard/src/components/Navbar.vue

Lines changed: 3 additions & 27 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
<template>
2-
<div class="sticky top-0 flex h-16 shrink-0 items-center gap-x-4 border-b border-gray-200 bg-white px-4 shadow-sm sm:gap-x-6 sm:px-6 lg:px-8">
2+
<div class="sticky top-0 z-10 flex h-16 shrink-0 items-center gap-x-4 border-b border-gray-200 bg-white px-4 shadow-sm sm:gap-x-6 sm:px-6 lg:px-8">
33
<button
44
type="button"
55
class="-m-2.5 p-2.5 text-gray-700 lg:hidden"
@@ -63,20 +63,7 @@
6363
class="-m-2.5 p-2.5 text-gray-400 hover:text-gray-500"
6464
>
6565
<span class="sr-only">View notifications</span>
66-
<svg
67-
class="h-6 w-6"
68-
fill="none"
69-
viewBox="0 0 24 24"
70-
stroke-width="1.5"
71-
stroke="currentColor"
72-
aria-hidden="true"
73-
>
74-
<path
75-
stroke-linecap="round"
76-
stroke-linejoin="round"
77-
d="M14.857 17.082a23.848 23.848 0 005.454-1.31A8.967 8.967 0 0118 9.75v-.7V9A6 6 0 006 9v.75a8.967 8.967 0 01-2.312 6.022c1.733.64 3.56 1.085 5.455 1.31m5.714 0a24.255 24.255 0 01-5.714 0m5.714 0a3 3 0 11-5.714 0"
78-
/>
79-
</svg>
66+
<div class="i-heroicons-bell w-6 h-6" />
8067
</button>
8168

8269
<!-- Separator -->
@@ -101,18 +88,7 @@
10188
alt=""
10289
>
10390
<span class="hidden lg:flex lg:items-center">
104-
<svg
105-
class="ml-2 h-5 w-5 text-gray-400"
106-
viewBox="0 0 20 20"
107-
fill="currentColor"
108-
aria-hidden="true"
109-
>
110-
<path
111-
fill-rule="evenodd"
112-
d="M5.23 7.21a.75.75 0 011.06.02L10 11.168l3.71-3.938a.75.75 0 111.08 1.04l-4.25 4.5a.75.75 0 01-1.08 0l-4.25-4.5a.75.75 0 01.02-1.06z"
113-
clip-rule="evenodd"
114-
/>
115-
</svg>
91+
<div class="i-heroicons-chevron-down w-5 h-5 ml-2 text-gray-400" />
11692
</span>
11793
</button>
11894

.stacks/stacks/dashboard/src/components/SettingsHeader.vue

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -37,10 +37,10 @@
3737

3838
<style scoped>
3939
.sidebar-links {
40-
@apply text-gray-700 hover:text-indigo-600 hover:bg-gray-50 flex gap-x-3 rounded-md p-2 text-sm leading-6 font-semibold
40+
@apply text-gray-700 hover:text-blue-600 hover:bg-gray-50 flex gap-x-3 rounded-md p-2 text-sm leading-6 font-semibold
4141
}
4242
4343
.router-link-active, .router-link-exact-active {
44-
@apply text-indigo-600 text-sm rounded-md !important
44+
@apply text-blue-600 text-sm rounded-md !important
4545
}
4646
</style>

0 commit comments

Comments
 (0)