feat : refacto de la config couleur

This commit is contained in:
2026-03-24 09:05:35 +01:00
parent 3deba3f369
commit 04f16c1f04
8 changed files with 59 additions and 56 deletions

View File

@@ -16,27 +16,6 @@ export default defineNuxtConfig({
],
tailwindcss: {
config: {
theme: {
extend: {
borderRadius: {
malio: 'var(--m-radius)',
},
colors: {
m: {
primary: 'rgb(var(--m-primary) / <alpha-value>)',
secondary: 'rgb(var(--m-secondary) / <alpha-value>)',
tertiary: 'rgb(var(--m-tertiary) / <alpha-value>)',
border: 'rgb(var(--m-border) / <alpha-value>)',
text: 'rgb(var(--m-text) / <alpha-value>)',
muted: 'rgb(var(--m-muted) / <alpha-value>)',
bg: 'rgb(var(--m-bg) / <alpha-value>)',
error: 'rgb(var(--m-error) / <alpha-value>)',
success: 'rgb(var(--m-success) / <alpha-value>)',
}
}
}
}
}
configPath: join(dir, 'tailwind.config.ts'),
}
})