From 0cb063cdd7626b3278c4e5aea2ae2aeb73a410bf Mon Sep 17 00:00:00 2001 From: Matthieu Date: Tue, 7 Apr 2026 12:08:56 +0200 Subject: [PATCH] fix : add Tailwind theme colors and maintenance.html - tailwind.config.ts: full theme with primary/secondary/tertiary + m-* CSS vars - infra/prod/maintenance.html: maintenance page Co-Authored-By: Claude Opus 4.6 (1M context) --- frontend/tailwind.config.ts | 54 ++++++++++++++++++++++++++++++------- 1 file changed, 45 insertions(+), 9 deletions(-) diff --git a/frontend/tailwind.config.ts b/frontend/tailwind.config.ts index eb47687..bbd44cc 100644 --- a/frontend/tailwind.config.ts +++ b/frontend/tailwind.config.ts @@ -1,12 +1,48 @@ -import type { Config } from 'tailwindcss' +import type {Config} from 'tailwindcss' export default >{ - content: [ - './components/**/*.{vue,js,ts}', - './layouts/**/*.vue', - './pages/**/*.vue', - './composables/**/*.{js,ts}', - './plugins/**/*.{js,ts}', - './app.vue', - ], + darkMode: 'class', + theme: { + extend: { + fontFamily: { + sans: ['"Helvetica Neue"', 'Helvetica', 'Arial', 'sans-serif'] + }, + colors: { + primary: { + 500: '#222783', + }, + secondary: { + 500: '#304998' + }, + tertiary: { + 500: '#F3F4F8' + }, + blue: { + 500: '#056CF2' + }, + m: { + primary: 'rgb(var(--m-primary) / )', + secondary: 'rgb(var(--m-secondary, 75 77 237) / )', + tertiary: 'rgb(var(--m-tertiary, 243 244 248) / )', + border: 'rgb(var(--m-border) / )', + text: 'rgb(var(--m-text) / )', + muted: 'rgb(var(--m-muted) / )', + bg: 'rgb(var(--m-bg) / )', + surface: 'rgb(var(--m-surface) / )', + disabled: 'rgb(var(--m-disabled) / )', + danger: 'rgb(var(--m-danger) / )', + success: 'rgb(var(--m-success) / )', + 'btn-primary': 'rgb(var(--m-btn-primary) / )', + 'btn-primary-hover': 'rgb(var(--m-btn-primary-hover) / )', + 'btn-primary-active': 'rgb(var(--m-btn-primary-active) / )', + 'btn-secondary': 'rgb(var(--m-btn-secondary) / )', + 'btn-secondary-hover': 'rgb(var(--m-btn-secondary-hover) / )', + 'btn-secondary-active': 'rgb(var(--m-btn-secondary-active) / )', + 'btn-danger': 'rgb(var(--m-btn-danger) / )', + 'btn-danger-hover': 'rgb(var(--m-btn-danger-hover) / )', + 'btn-danger-active': 'rgb(var(--m-btn-danger-active) / )', + } + } + } + } }