diff --git a/app/app.config.ts b/app/app.config.ts index 0ef6e96..7a11127 100644 --- a/app/app.config.ts +++ b/app/app.config.ts @@ -1,9 +1,32 @@ export default defineAppConfig({ ui: { - gray: 'neutral', - primary: 'gray', container: { - constrained: 'max-w-4xl', + base: 'max-w-4xl', + }, + colors: { + primary: 'neutral', + white: 'white', + black: 'black', + neutral: 'neutral', + red: 'red', + green: 'green', + blue: 'blue', + yellow: 'yellow', + purple: 'purple', + pink: 'pink', + indigo: 'indigo', + cyan: 'cyan', + teal: 'teal', + gray: 'gray', + orange: 'orange', + amber: 'amber', + lime: 'lime', + emerald: 'emerald', + rose: 'rose', + sky: 'sky', + violet: 'violet', + fuchsia: 'fuchsia', + lightBlue: 'lightBlue', }, }, }) diff --git a/app/app.vue b/app/app.vue index 2765bf8..232d217 100644 --- a/app/app.vue +++ b/app/app.vue @@ -39,16 +39,15 @@ const head = useLocaleHead({ -
+ - -
+ @@ -56,7 +55,6 @@ const head = useLocaleHead({ - - -{ - "en": { - "globe": "Each marker represents a visitor connected to my site." - }, - "fr": { - "globe": "Chaque point représente un visiteur connecté sur mon site." - }, - "es": { - "globe": "Cada marcador representa un visitante conectado a mi sitio." - } -} - diff --git a/app/components/home/Stats.vue b/app/components/home/Stats.vue index 9aa294b..82675e7 100644 --- a/app/components/home/Stats.vue +++ b/app/components/home/Stats.vue @@ -2,7 +2,7 @@ import type { Stats } from '~~/types' const { locale, locales } = useI18n() -const currentLocale = computed(() => locales.value.find(l => l.code === locale.value)) +const currentLocale = computed(() => locales.find(l => l.code === locale.value)) const { data: stats } = await useFetch('/api/stats') const { t } = useI18n({ diff --git a/app/components/uses/List.vue b/app/components/uses/List.vue index 7e4d448..dfc660e 100644 --- a/app/components/uses/List.vue +++ b/app/components/uses/List.vue @@ -9,7 +9,7 @@ defineProps({