This application uses a consistent color palette system across all views. The colors are organized into three main categories:
- Main brand color
- Used for primary actions, main navigation, and important UI elements
- Ranges from 50 (lightest) to 900 (darkest)
- Used for secondary UI elements, backgrounds, and text
- Provides depth and hierarchy to the interface
- Ranges from 50 (lightest) to 900 (darkest)
- Used for highlights, alerts, and calls to action
- Adds visual interest and draws attention to key elements
- Ranges from 50 (lightest) to 900 (darkest)
We've created standardized components that use these colors consistently:
-
Buttons:
.btn btn-primary
.btn btn-secondary
.btn btn-accent
-
Alerts:
.alert-success
.alert-warning
.alert-error
-
Navigation:
.nav-link
.nav-link.active
-
Cards:
.card
.card-header
-
Form Elements:
.form-input
.form-label
-
Badges:
.badge-primary
.badge-secondary
.badge-accent
The color system is implemented through:
- Tailwind CSS classes (e.g.,
text-primary-600
,bg-secondary-100
) - CSS Variables (e.g.,
var(--color-primary-500)
) - Component classes that use the color system
To maintain consistency, always use these predefined colors and components rather than creating new color values.