Conversation
Virtusa
Virtusa
SG
Virtusa
Posted: 1 week 2 days ago
Last activity: 1 week 2 days ago
Last activity: 9 Jan 2026 4:06 EST
Guidance: How to set different CSS for Labels vs Fields in Constellation
Summary We need a clean way to style labels differently from input fields (e.g., font-weight, color, spacing) while staying within Constellation best practices.
What we attempted
- Updated theme typography tokens (global) – this applies broadly but does not clearly differentiate labels vs fields.
Desired Outcome
- Labels: e.g., medium weight, brand color, smaller size.
- Fields: e.g., regular weight, neutral color, base size.
- Approach should be upgrade-safe, token-driven where possible.
Request from Support
- Confirm the recommended token mappings (e.g., specific tokens for label text vs input text) and whether Constellation exposes distinct CSS variables/selectors for these.
- Provide sample selectors or token names that are safe to override