Design Principles Overview
FO UI Framework follows clear design principles to ensure consistency, scalability, and accessibility across all applications. These principles define the foundation of our visual and interaction language, covering color, typography, spacing, and alignment.
Color Principles
Colors in FO Framework are defined using design tokens for flexibility and multi-brand support. All primary and secondary colors maintain WCAG AA contrast ratios for readability. Click to see all colors
| Example | Color Role | Class Name | Usage |
|---|---|---|---|
| Primary | .fo-color-primary | Main brand color for actions (e.g., buttons, links) | |
| Secondary | .fo-color-secondary | Highlight elements or secondary actions | |
| Success | .fo-color-success | Confirmation states, positive actions | |
| Error | .fo-color-error | Error messages, destructive actions |
Tip: Use semantic color classes like fo-color-primary instead of hardcoded hex values.