Skip to content

feat(css): add utility classes#3304

Open
metonym wants to merge 4 commits into
masterfrom
metonym/carbon-utility-classes
Open

feat(css): add utility classes#3304
metonym wants to merge 4 commits into
masterfrom
metonym/carbon-utility-classes

Conversation

@metonym

@metonym metonym commented Jun 13, 2026

Copy link
Copy Markdown
Collaborator

From building out #3302

The new Text/Box utility components help a lot; however, there is still the need for one-off styling for the most fine-grained control (bottom border or bottom margin) or missing gaps (icon fill).

This adds utility classes for Carbon semantic tokens to allow true composition from primitive styles. Heavily Tailwind inspired (should complement it). This avoids having to use all.css and use raw var() access.

Documentation is quite bare; there should be a full reference page of all semantic Carbon utility classes.


Screenshot 2026-06-13 at 10 42 56 AM

@metonym metonym force-pushed the metonym/carbon-utility-classes branch from 52740f0 to 2f5b897 Compare June 13, 2026 17:57
@metonym metonym force-pushed the metonym/carbon-utility-classes branch from 2f5b897 to 291e905 Compare June 14, 2026 06:28
@metonym metonym mentioned this pull request Jun 15, 2026
30 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant