You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Enhance component API with responsive props, color propagation, and typography utilities #650
Add shorthand padding/margin props (p, px, py, pt, pr, pb, pl, m, mx, my, mt, mr, mb, ml) to layout components that map to the space scale:
<Boxp="4"mx="auto"mt="6">
3. Systematic color Prop
Extend the color prop to all visual components (Badge, Callout, Text, Avatar, Chip, etc.), not just Button. Color should propagate to children through nesting, automatically adjusting internal tokens.
4. highContrast Prop
Add a highContrast boolean to all components that accept a color prop. This shifts colors to steps 9–12 of the scale for better contrast against the page background.
5. Typography Utility Props
Add the following props to Text and Headline:
trim — remove leading/trailing whitespace for precise vertical alignment
truncate — single-line ellipsis truncation
wrap — control text wrapping (wrap, nowrap, balance, pretty)
align — text alignment (left, center, right)
Expand font weight options to 4 levels: light (300), regular (400), medium (500), bold (700)
6. Section Layout Component
Add a Section component for consistent vertical spacing between major page sections, with predefined size variants (small, medium, large).
Activity
rohanchkrabrty commentedon Feb 22, 2026
Are the breakpoints fixed on a design system level? Or can they be customised by user during usage?
If customisation is a requirement we have to move towards runtime style generation, which we should avoid.
@ravisuhag
rohilsurana commentedon Apr 24, 2026
Point 5 is already supported.