Theme Builder
Personnalisez les design tokens CSS et téléchargez tokens.css à importer par-dessus @brickslab/theme-default.
Polices d'écriture
Choisissez 2 polices pour votre projet. Elles seront incluses en commentaires dans le CSS généré avec les instructions d'import.
Principaletitres, labels, navigation
The quick brown fox
jumps over the lazy dog — 0123456789
ABCDEFGHIJKLM abcdefghijklm
--font-primary: 'Inter', sans-serif
Secondairecorps de texte, paragraphes
The quick brown fox
jumps over the lazy dog — 0123456789
ABCDEFGHIJKLM abcdefghijklm
--font-secondary: 'Merriweather', serif
Palette identitaire
Définissez les 5 couleurs qui expriment le mood du projet. Cliquez sur une couleur pour la modifier. Utilisez Appliquer aux tokens pour propager automatiquement vers les couleurs sémantiques.
Mapping appliqué
Primaire→ --color-brand, --color-error
Secondaire→ --color-info
Accent→ --color-warning, --color-success
Neutre→ --color-muted
Fond→ --color-bg, --c-surface
Couleurs sémantiques
Arrière-plan
--color-bg
Texte principal
--color-fg
Texte secondaire
--color-muted
Brand
--color-brand
Succès
--color-success
Avertissement
--color-warning
Erreur
--color-error
Info
--color-info
Surfaces & Bordures
Surface
--c-surface
Surface élevée
--c-surface-elevated
Bordure
--c-border
Brand subtle
--c-brand-subtle
Brand border
--c-brand-border
Typographie — Tailles fixes
2XS--fontsize-2xs
10pxXS--fontsize-xs
12pxSM--fontsize-sm
14pxMedium--fontsize-medium
16pxTypographie — Tailles fluides (clamp)
LG--fontsize-lg
min 18px
viewport 5vw
max 48px
XL--fontsize-xl
min 20px
viewport 5vw
max 48px
2XL--fontsize-2xl
min 24px
viewport 5vw
max 48px
3XL--fontsize-3xl
min 30px
viewport 5vw
max 48px
4XL--fontsize-4xl
min 36px
viewport 5vw
max 48px
5XL--fontsize-5xl
min 32px
viewport 5vw
max 48px
Typographie — Graisses
Thin
--fontweight-thin
Extralight
--fontweight-extralight
Light
--fontweight-light
Normal
--fontweight-normal
Medium
--fontweight-medium
Semibold
--fontweight-semibold
Bold
--fontweight-bold
Extrabold
--fontweight-extrabold
Black
--fontweight-black
Espacements
space-1
--space-1
space-1-5
--space-1-5
space-2
--space-2
space-3
--space-3
space-4
--space-4
space-5
--space-5
space-6
--space-6
space-7
--space-7
space-8
--space-8
space-10
--space-10
space-12
--space-12
space-15
--space-15
space-20
--space-20
Épaisseurs de bordure
XM (fine)--border-xm
1pxSM--border-sm
2pxMD--border-md
4pxRadius
SM--radius-sm
6pxMD--radius-md
12pxLG--radius-lg
16pxFull (pill)--radius-full
999pxOmbres
--shadow-10 1px 2px rgba(0, 0, 0, 0.06)
Décalage Yy
1pxBlurblur
2pxOpacitéopacity
0.06--shadow-20 10px 30px rgba(0, 0, 0, 0.10)
Décalage Yy
10pxBlurblur
30pxOpacitéopacity
0.10Transitions
--transition-bg
Duréeduration
0.2sEasing
easing
--transition-all
Duréeduration
0.2sEasing
easing
Accessibilité — Focus ring
0 0 0 3px rgba(204, 74, 72, 0.25)
Couleur
focus color
Spreadspread
3pxOpacitéopacity
0.25Z-index
Base
--z-base
Drawer
--z-drawer
Dropdown
--z-dropdown
Modal
--z-modal