Design System
This page documents the visual system used by OptiFlowX: color palette, typography, and component previews.
Color Paletteโ
Primary and semantic colors used across the site.
- Primary:
--md-primary-fg-color(brand blue) - Accent:
--md-accent-fg-color(accent orange) - Success:
--md-success-color - Warning:
--md-warning-color - Danger:
--md-danger-color - Info:
--md-info-color
Swatchesโ
Primary
Primary:
var(--md-primary-fg-color)Accent
Accent:
var(--md-accent-fg-color)Semantic
ย
ย
ย
ย
Typographyโ
- Text font: Inter (variable sizes)
- Code font: JetBrains Mono
Heading scaleโ
H1 โ Heading 1
H2 โ Heading 2โ
H3 โ Heading 3โ
H4 โ Heading 4โ
H5 โ Heading 5โ
H6 โ Heading 6โ
Paragraph text sample:
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Vivamus lacinia odio vitae vestibulum vestibulum.
Inline code example: print("hello world")
Code block sample:
def add(a, b):
return a + b
print(add(2, 3))
Componentsโ
Buttonsโ
Primary button:
Secondary button:
Admonitionsโ
!!! note "Note" This is a note admonition.
!!! tip "Tip" This is a tip admonition.
!!! warning "Warning" This is a warning admonition.
!!! danger "Danger" This is a danger admonition.
Tablesโ
| Column A | Column B |
|---|---|
| Value 1 | Value 2 |
| Value 3 | Value 4 |