Colors
Overview
In the Alza Design System (ADS), we have two main types of colors: Basic Colors and Semantic Colors. These colors serve different purposes in our design system and help create a cohesive, user-friendly experience across our applications.
Basic Colors
Basic colors represent the fundamental color palette used throughout the design system. They remain consistent across both light and dark modes.
Basic Color Palette
neutral
blueLight
blueDark
steel
violet
green
yellow
orange
red
b2b
Semantic Colors
Semantic colors are used to convey meaning in the user interface. These colors are context-driven and help users quickly understand the significance of elements, such as success messages, warnings, or errors. Each semantic color has both light and dark mode variants to ensure accessibility and visual consistency across different themes.
Semantic Color Palette
text
headlineNeutral
headlineNeutralOnDark
headlinePositive
headlineWarning
headlineNegative
bodyNeutral
bodyNeutralOnDark
bodyAdditional
bodyDisabled
bodyPositive
bodyWarning
bodyNegative
bodyCurrentPrice
bodyOriginalPrice
availability
inStock
forOrder
account
bronze
silver
gold
benefit
b2b
isic
alzaPlus
alzaPremium
link
primary
secondary
tertiary
positive
negative
background
primary
secondary
tertiary
dark
disabled
selected
dialog
positiveLight
positiveDark
negativeLight
negativeDark
warningLight
warningDark
brandLight
brandDark
alzaPlus
alzaPlusLight
border
neutral
brand
positive
warning
negative
focused
selected
alzaPlus
Light and Dark Mode Variants
To support both light and dark modes, the semantic colors are defined with separate values for each mode. This ensures that all elements are readable and visually consistent across different environments.