Skip to content
This repository was archived by the owner on Jun 22, 2024. It is now read-only.

Commit 6851370

Browse files
authored
Merge pull request #17 from vue-email/fix/devtools-light
fix: updated light mode colors
2 parents ae70517 + 95429df commit 6851370

File tree

5 files changed

+1880
-256
lines changed

5 files changed

+1880
-256
lines changed

client/components/CodeContainer.vue

+4-2
Original file line numberDiff line numberDiff line change
@@ -85,11 +85,13 @@ const items = computed(() => {
8585
return arr
8686
})
8787
88-
const tab = ref('html')
88+
const tab = ref(0)
8989
</script>
9090

9191
<template>
92-
<UTabs v-model="tab" :items="items">
92+
<UTabs v-model="tab" :items="items" :ui="{
93+
wrapper: 'relative space-y-0'
94+
}">
9395
<template #default="{ item, selected }">
9496
<div class="flex items-center gap-2 relative truncate">
9597
<UIcon :name="item.icon" class="w-7 h-7 flex-shrink-0" />

client/components/EmptyState.vue

+7-7
Original file line numberDiff line numberDiff line change
@@ -47,29 +47,29 @@ const items = [
4747

4848
<template>
4949
<div class="h-screen flex justify-center">
50-
<div class="max-w-3xl px-4 md:px-8 py-20 md:py-40">
50+
<div class="max-w-3xl px-4 md:px-8 py-10 md:py-20">
5151
<div class="text-center">
5252
<UIcon name="i-twemoji-incoming-envelope" class="w-20 h-20" />
53-
<h2 class="text-xl text-gray-100 font-medium">Welcome to the Vue Email Dev Tools!</h2>
54-
<p class="mt-2 mb-4 text-sm text-gray-100 font-normal">
53+
<h2 class="text-xl text-gray-800 dark:text-gray-100 font-medium">Welcome to the Vue Email Dev Tools!</h2>
54+
<p class="mt-2 mb-4 text-sm text-gray-800 dark:text-gray-100 font-normal">
5555
To start developing your next email template, you can create a
5656
<UKbd>.vue</UKbd> file under the <UKbd>emails</UKbd> folder.
5757
</p>
5858
</div>
5959

60-
<ul role="list" class="mt-6 grid grid-cols-1 gap-6 border-b border-t border-gray-500 py-6 sm:grid-cols-2">
60+
<ul role="list" class="mt-6 grid grid-cols-1 gap-6 border-b border-t border-gray-200 dark:border-gray-500 py-6 sm:grid-cols-2">
6161
<li v-for="(item, itemIdx) in items" :key="itemIdx" class="flow-root">
62-
<NuxtLink target="_blank" :to="item.to" external class="relative -m-2 flex items-center space-x-4 rounded-xl p-2 hover:bg-gray-800">
62+
<NuxtLink target="_blank" :to="item.to" external class="relative -m-2 flex items-center space-x-4 rounded-xl p-2 hover:bg-gray-100 dark:hover:bg-gray-800">
6363
<div class="flex h-16 w-16 flex-shrink-0 items-center justify-center rounded-lg" :class="[item.background]">
6464
<UIcon :name="item.icon" class="h-7 w-7 text-white" aria-hidden="true" />
6565
</div>
6666
<div>
67-
<h3 class="text-sm font-medium text-gray-100 focus:outline-none">
67+
<h3 class="text-sm font-medium dark:text-gray-100 text-gray-800 focus:outline-none">
6868
<span class="absolute inset-0" aria-hidden="true" />
6969
<span>{{ item.title }}</span>
7070
<span aria-hidden="true"> &rarr;</span>
7171
</h3>
72-
<p class="mt-1 text-sm text-gray-300">{{ item.description }}</p>
72+
<p class="mt-1 text-sm text-gray-600 dark:text-gray-300">{{ item.description }}</p>
7373
</div>
7474
</NuxtLink>
7575
</li>

client/components/HeaderButtons.vue

+3
Original file line numberDiff line numberDiff line change
@@ -21,5 +21,8 @@ const isEmailRoute = computed(() => route.name === 'email-file')
2121
<UTooltip text="View Github Repo">
2222
<UButton icon="i-simple-icons-github" size="sm" color="gray" variant="solid" to="https://github.com/vue-email/vue-email" target="_blank" />
2323
</UTooltip>
24+
<UTooltip text="Sponsor Vue Email">
25+
<UButton icon="i-ph-hand-heart-duotone" size="sm" color="gray" variant="solid" to="https://github.com/sponsors/vue-email" target="_blank" />
26+
</UTooltip>
2427
</div>
2528
</template>

client/package.json

+6-6
Original file line numberDiff line numberDiff line change
@@ -14,19 +14,19 @@
1414
"@iconify-json/simple-icons": "latest",
1515
"@iconify-json/twemoji": "latest",
1616
"@nuxt/devtools": "latest",
17-
"@nuxt/ui": "^2.11.1",
17+
"@nuxt/ui": "^2.12.3",
1818
"@nuxtjs/fontaine": "^0.4.1",
1919
"@nuxtjs/google-fonts": "^3.1.3",
2020
"@types/html-to-text": "^9.0.4",
2121
"@types/pretty": "^2.0.3",
2222
"@types/splitpanes": "^2.2.6",
23-
"@vueuse/core": "^10.7.0",
24-
"@vueuse/nuxt": "^10.7.0",
23+
"@vueuse/core": "^10.7.2",
24+
"@vueuse/nuxt": "^10.7.2",
2525
"html-to-text": "^9.0.5",
26-
"nuxt": "^3.8.2",
26+
"nuxt": "^3.9.3",
2727
"pretty": "^2.0.0",
28-
"scule": "^1.1.1",
29-
"shikiji": "^0.9.3",
28+
"scule": "^1.2.0",
29+
"shikiji": "^0.9.19",
3030
"splitpanes": "^3.1.5"
3131
}
3232
}

0 commit comments

Comments
 (0)