Open
Conversation
|
balzss
commented
Jan 13, 2026
56040c0 to
a63629b
Compare
a63629b to
4f6a2ed
Compare
Reworked Button, CondensedButton, and IconButton theming: - Removed individual component theme.ts files in favor of centralized BaseButton styles - Updated icon sizing inside buttons - Fixed button active state - Added condensed size and disabled variant styling - Set AI button to use transparent background - Migrated button wrapper components to new theme structure
4f6a2ed to
3360f15
Compare
matyasf
requested changes
Feb 17, 2026
Collaborator
matyasf
left a comment
There was a problem hiding this comment.
See my comments.
Also there might be something off with the primary-inverse button's text color in the dark theme:
Similar issue with the inverse ToggleButton:
- You can delete
BaseButton/theme.ts - What about
CloseButton? Will it be converted later? - Please use the new icons in the examples (the README files)
- Please use the new icons in the regression test
Comment on lines
51
to
55
| /** | ||
| --- | ||
| category: components/utilities | ||
| --- | ||
| **/ |
Collaborator
There was a problem hiding this comment.
This comment must be above the @withStyle decorator, otherwise it will render in the wrong place in the side nav
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
INSTUI-4787
Summary
Migrates Button, CondensedButton, and IconButton to the new v12 centralized theme system.
theme.tsfiles from Button, CondensedButton, and IconButton (they re-exported BaseButton's theme) — theming is now handled centrally viawithStyle(null, 'BaseButton')withStyleReworktowithStyleand from legacygenerateComponentThemeto the new token-based approach (NewComponentTypes/SharedTokens)opacity: 0.5)condensedSmallandcondensedMediumrenderIconWithPropswith proper size mapping per button size::beforepseudo-element mask technique instead of relying on background gradient as borderdisplay: blocktodisplay: flexwithalignItems: centerfor proper vertical alignmentdarken/lightencolor utils with dedicated theme tokens for hover/active statesTest plan
condensedSmall,condensedMedium) render at the correct compact heights