defaultTextVariants top-level constant
SSUI's text styles (design_systems/ssui/design_system.json, theme .textStyles with its colors), written out so a document needs no
theme: SSUI's own names, and the short words an agent reaches for.
Implementation
const Map<String, Object> defaultTextVariants = {
// SSUI's names.
'pageTitle': {'fontSize': 20, 'fontWeight': 600, 'color': '#FF111827'},
'heading1': {'fontSize': 30, 'fontWeight': 700, 'color': '#FF111827'},
'heading2': {'fontSize': 24, 'fontWeight': 700, 'color': '#FF111827'},
'heading3': {'fontSize': 18, 'fontWeight': 600, 'color': '#FF111827'},
'sectionTitle': {'fontSize': 14, 'fontWeight': 600, 'color': '#FF111827'},
'panelTitle': {'fontSize': 12, 'fontWeight': 600, 'color': '#FF111827'},
'body': {'fontSize': 13, 'color': '#FF111827'},
'bodySecondary': {'fontSize': 12, 'color': '#FF4B5563'},
'fieldLabel': {'fontSize': 11.5, 'fontWeight': 600, 'color': '#FF4B5563'},
'caption': {'fontSize': 11, 'color': '#FF9CA3AF'},
'mono': {'fontSize': 12, 'fontFamily': 'monospace', 'color': '#FF111827'},
// Short words: each is one of SSUI's styles or its body in a role color.
'title': {'fontSize': 20, 'fontWeight': 600, 'color': '#FF111827'},
'heading': {'fontSize': 14, 'fontWeight': 600, 'color': '#FF111827'},
'strong': {'fontSize': 13, 'fontWeight': 600, 'color': '#FF111827'},
'small': {'fontSize': 12, 'color': '#FF4B5563'},
'muted': {'fontSize': 13, 'color': '#FF4B5563'},
'danger': {'fontSize': 13, 'fontWeight': 600, 'color': '#FFDC2626'},
'success': {'fontSize': 13, 'fontWeight': 600, 'color': '#FF16A34A'},
};