From e88290967a3eb45f5649ac7ba8309d266d589c3e Mon Sep 17 00:00:00 2001 From: Arthur DANJOU Date: Thu, 24 Jul 2025 22:53:45 +0200 Subject: [PATCH] Refactor app configuration and styles: remove unused color variables, enhance AppHeader theme switching, and update AppVisitors badge styling. --- app/app.config.ts | 21 ---------- app/app.vue | 3 ++ app/assets/css/main.css | 22 ++++++++++- app/components/AppBackground.vue | 2 +- app/components/AppHeader.vue | 61 ++++++++++++++++++++--------- app/components/AppVisitors.vue | 2 +- app/components/home/CatchPhrase.vue | 12 ------ tailwind.config.ts | 55 -------------------------- 8 files changed, 69 insertions(+), 109 deletions(-) delete mode 100644 tailwind.config.ts diff --git a/app/app.config.ts b/app/app.config.ts index 7a11127..87d98b2 100644 --- a/app/app.config.ts +++ b/app/app.config.ts @@ -5,28 +5,7 @@ export default defineAppConfig({ }, 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 b76255d..bce71d7 100644 --- a/app/app.vue +++ b/app/app.vue @@ -18,8 +18,11 @@ useHead({ diff --git a/tailwind.config.ts b/tailwind.config.ts deleted file mode 100644 index 073fd95..0000000 --- a/tailwind.config.ts +++ /dev/null @@ -1,55 +0,0 @@ -import type { Config } from 'tailwindcss' -import typography from '@tailwindcss/typography' - -export default >{ - content: [ - './components/**/*.{vue,js,ts}', - './layouts/**/*.vue', - './pages/**/*.vue', - './composables/**/*.{js,ts}', - './plugins/**/*.{js,ts}', - './utils/**/*.{js,ts}', - './App.{js,ts,vue}', - './app.{js,ts,vue}', - './Error.{js,ts,vue}', - './error.{js,ts,vue}', - './app.config.{js,ts}', - 'content/**/*.md', - ], - theme: { - extend: { - animation: { - wave: 'wave 3s infinite', - slide: 'slide 3s infinite', - }, - keyframes: { - wave: { - '0%, 50%, 100%': { - transform: 'rotate(-12deg)', - }, - '25%, 75%': { - transform: 'rotate(12deg) scale(1.5)', - }, - }, - slide: { - '0%, 100%': { - transform: 'translateX(0) translateY(0)', - }, - '20%': { - transform: 'translateX(10px)', - }, - '40%': { - transform: 'translateY(-10px) translateX(10px)', - }, - '60%': { - transform: 'translateY(10px) translateX(-10px)', - }, - '80%': { - transform: 'translateY(-10px)', - }, - }, - }, - }, - }, - plugins: [typography], -}