Style Guide
Design tokensLight & dark mode
Colour tokens
Primary
--nx-primaryPrimary soft
--nx-primary-softSecondary
--nx-secondarySuccess
--nx-successWarning
--nx-warningDanger
--nx-dangerSurface
--nx-surfaceSurface alt
--nx-surface-altInverse
--nx-surface-inverseBorder
--nx-border-colorText
--nx-text-primaryMuted
--nx-text-mutedTypography
Heading 1 — Display
Heading 2 — Section
Heading 3 — Card title
Heading 4 — Subsection
Heading 5
Heading 6
Lead paragraph — larger intro text for the start of a section.
Body copy uses the body font at a comfortable line height for long-form reading. Inline links are underlined on hover. Bold, italic
and code are supported.
Badges & tags
PrimarySuccessWarningDangerTagActive tag
Alerts
Success — your changes were saved.
Info — scheduled maintenance this Saturday.
Warning — your plan renews in 3 days.
Error — we could not process that request.
Form elements
Tabs
Overview tab content.
Details tab content.
Accordion
Accordions use Bootstrap collapse with proper aria attributes.
Only one item is open at a time.
Cards
98%
Stat card
“Quote card for testimonials.”
JCJane CooperCIO,
Example Co