STYLES Style Documentation
CSS variable reference for the STYLES component. Customize your styles appearance using these variables.
Overview
default - Domain-level design tokens and styles
Component Details
- Component: domain
- Version: 1.0
- Total Variables: 23
- Variable Groups: 6
How to Use
These variables can be customized through the style customization interface in your application. Each variable controls a specific aspect of the visual design and can be configured to match your brand.
Background Colors
CSS variables for background colors styling in the STYLES component.
--sfs-surface-primary
COLOR
Primary surface color for containers and cards
background-color
#ffffff
--sfs-surface-secondary
COLOR
Secondary surface color for backgrounds
background-color
#f8f9fa
Borders
CSS variables for borders styling in the STYLES component.
--sfs-border-radius
SIZE
Standard border radius
border-radius
0.375rem
--sfs-border-width
SIZE
Standard border width
border-width
1px
Fonts
CSS variables for fonts styling in the STYLES component.
--sfs-font-primary
FONT
Primary font family for body text
font-family
system-ui, sans-serif
--sfs-font-secondary
FONT
Secondary font family for headings
font-family
Georgia, 'Times New Roman', serif
--sfs-font-mono
FONT
Monospace font family for code
font-family
'SF Mono', Monaco, 'Cascadia Code', 'Roboto Mono', Consolas, 'Courier New', monospace
Shadows
CSS variables for shadows styling in the STYLES component.
--sfs-shadow-sm
SHADOW
Small shadow for subtle elevation
box-shadow
0 0.125rem 0.25rem rgba(0, 0, 0, 0.075)
--sfs-shadow-md
SHADOW
Medium shadow for cards and modals
box-shadow
0 0.5rem 1rem rgba(0, 0, 0, 0.15)
--sfs-shadow-lg
SHADOW
Large shadow for elevated elements
box-shadow
0 1rem 3rem rgba(0, 0, 0, 0.175)
Spacing
CSS variables for spacing styling in the STYLES component.
--sfs-spacing-xs
SIZE
Extra small spacing unit
padding
0.25rem
--sfs-spacing-sm
SIZE
Small spacing unit
padding
0.5rem
--sfs-spacing-md
SIZE
Medium spacing unit (base)
padding
1rem
--sfs-spacing-lg
SIZE
Large spacing unit
padding
1.5rem
--sfs-spacing-xl
SIZE
Extra large spacing unit
padding
3rem
Text Colors
CSS variables for text colors styling in the STYLES component.
--sfs-brand-primary
COLOR
Primary brand color used across the application
color
#0d6efd
--sfs-brand-secondary
COLOR
Secondary brand color for supporting elements
color
#6c757d
--sfs-text-primary
COLOR
Primary text color for main content
color
#212529
--sfs-text-secondary
COLOR
Secondary text color for supporting content
color
#6c757d
--sfs-success
COLOR
Success state color
color
#28a745
--sfs-warning
COLOR
Warning state color
color
#ffc107
--sfs-danger
COLOR
Danger/error state color
color
#dc3545
--sfs-info
COLOR
Info state color
color
#17a2b8