Flipova Version 0.2.2
Usage réservé à Flipova.
Licence

Couleurs et thèmes

La palette est faite de rampes, de 50 (la plus claire) à 950. Les thèmes ne la montrent jamais telle quelle : ils attribuent une étape à chaque rôle.

white
#FFFFFF
black
#000000

primary

secondary

gray

success

warning

error

info

neutral

Thème light

Mode light (thème par défaut). 27 rôles : un composant ne nomme jamais une couleur, il nomme un rôle.

background
#FAFAFA
foreground
#18181B
card
#FFFFFF
card-foreground
#18181B
popover
#FFFFFF
popover-foreground
#18181B
primary
#000091
primary-foreground
#FFFFFF
secondary
#475569
secondary-foreground
#FFFFFF
muted
#F4F4F5
muted-foreground
#52525B
accent
#F2F2FA
accent-foreground
#000055
destructive
#DC2626
destructive-foreground
#FFFFFF
border
#E4E4E7
input
#E4E4E7
ring
#3333A7
success
#16A34A
success-foreground
#FFFFFF
warning
#D97706
warning-foreground
#FFFFFF
error
#DC2626
error-foreground
#FFFFFF
info
#0284C7
info-foreground
#FFFFFF

Contraste des paires texte et fond

PaireAperçuRapportWCAG
backgroundAa17.0 : 1AAA
cardAa17.7 : 1AAA
popoverAa17.7 : 1AAA
primaryAa14.9 : 1AAA
secondaryAa7.6 : 1AAA
mutedAa7.0 : 1AAA
accentAa16.7 : 1AAA
destructiveAa4.8 : 1AA
successAa3.3 : 1AA grand texte
warningAa3.2 : 1AA grand texte
errorAa4.8 : 1AA
infoAa4.1 : 1AA grand texte

Thème dark

Mode dark. 27 rôles : un composant ne nomme jamais une couleur, il nomme un rôle.

background
#18181B
foreground
#F4F4F5
card
#27272A
card-foreground
#F4F4F5
popover
#27272A
popover-foreground
#F4F4F5
primary
#3333A7
primary-foreground
#FFFFFF
secondary
#64748B
secondary-foreground
#FFFFFF
muted
#27272A
muted-foreground
#A1A1AA
accent
#000055
accent-foreground
#E5E5F4
destructive
#EF4444
destructive-foreground
#FFFFFF
border
#3F3F46
input
#3F3F46
ring
#6666BD
success
#22C55E
success-foreground
#18181B
warning
#F59E0B
warning-foreground
#18181B
error
#EF4444
error-foreground
#FFFFFF
info
#0EA5E9
info-foreground
#FFFFFF

Contraste des paires texte et fond

PaireAperçuRapportWCAG
backgroundAa16.1 : 1AAA
cardAa13.6 : 1AAA
popoverAa13.6 : 1AAA
primaryAa9.7 : 1AAA
secondaryAa4.8 : 1AA
mutedAa5.8 : 1AA
accentAa14.9 : 1AAA
destructiveAa3.8 : 1AA grand texte
successAa7.8 : 1AAA
warningAa8.2 : 1AAA
errorAa3.8 : 1AA grand texte
infoAa2.8 : 1insuffisant

Thème spring-light

Mode light, variante spring. 27 rôles : un composant ne nomme jamais une couleur, il nomme un rôle.

background
#F0FDF4
foreground
#14532D
card
#FFFFFF
card-foreground
#14532D
popover
#FFFFFF
popover-foreground
#14532D
primary
#16A34A
primary-foreground
#FFFFFF
secondary
#22C55E
secondary-foreground
#FFFFFF
muted
#DCFCE7
muted-foreground
#15803D
accent
#BBF7D0
accent-foreground
#14532D
destructive
#DC2626
destructive-foreground
#FFFFFF
border
#BBF7D0
input
#BBF7D0
ring
#4ADE80
success
#16A34A
success-foreground
#FFFFFF
warning
#D97706
warning-foreground
#FFFFFF
error
#DC2626
error-foreground
#FFFFFF
info
#0284C7
info-foreground
#FFFFFF

Contraste des paires texte et fond

PaireAperçuRapportWCAG
backgroundAa8.7 : 1AAA
cardAa9.1 : 1AAA
popoverAa9.1 : 1AAA
primaryAa3.3 : 1AA grand texte
secondaryAa2.3 : 1insuffisant
mutedAa4.6 : 1AA
accentAa7.5 : 1AAA
destructiveAa4.8 : 1AA
successAa3.3 : 1AA grand texte
warningAa3.2 : 1AA grand texte
errorAa4.8 : 1AA
infoAa4.1 : 1AA grand texte

Thème spring-dark

Mode dark, variante spring. 27 rôles : un composant ne nomme jamais une couleur, il nomme un rôle.

background
#052E16
foreground
#F0FDF4
card
#14532D
card-foreground
#F0FDF4
popover
#14532D
popover-foreground
#F0FDF4
primary
#4ADE80
primary-foreground
#052E16
secondary
#86EFAC
secondary-foreground
#052E16
muted
#14532D
muted-foreground
#BBF7D0
accent
#166534
accent-foreground
#F0FDF4
destructive
#EF4444
destructive-foreground
#FFFFFF
border
#166534
input
#166534
ring
#86EFAC
success
#4ADE80
success-foreground
#052E16
warning
#FBBF24
warning-foreground
#052E16
error
#F87171
error-foreground
#052E16
info
#38BDF8
info-foreground
#052E16

Contraste des paires texte et fond

PaireAperçuRapportWCAG
backgroundAa14.2 : 1AAA
cardAa8.7 : 1AAA
popoverAa8.7 : 1AAA
primaryAa8.6 : 1AAA
secondaryAa10.6 : 1AAA
mutedAa7.5 : 1AAA
accentAa6.8 : 1AA
destructiveAa3.8 : 1AA grand texte
successAa8.6 : 1AAA
warningAa8.9 : 1AAA
errorAa5.4 : 1AA
infoAa7.0 : 1AA