feat : ajout d'histoire et d'une story

This commit is contained in:
2026-02-25 10:26:39 +01:00
parent 82ecc9cfe2
commit a8e5f2e05a
9 changed files with 1735 additions and 128 deletions

38
tailwind.config.ts Normal file
View File

@@ -0,0 +1,38 @@
import type { Config } from 'tailwindcss'
export default {
content: [
'./app/**/*.{vue,js,ts}',
'./**/*.story.{vue,js,ts}',
'./histoire.setup.ts',
'./histoire.config.ts',
],
safelist: [
{
pattern: /(sm:|md:|lg:|xl:|2xl:)?(text|rounded|w)-.+/,
},
],
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>)',
},
},
fontFamily: {
sans: ['"Helvetica Neue"', 'Helvetica', 'Arial', 'sans-serif'],
},
},
},
} satisfies Partial<Config>