Skip to content

Conversation

@TkDodo
Copy link
Collaborator

@TkDodo TkDodo commented Jan 14, 2026

those colors were not used inside the button component, so usages have been inlined

those colors were not used inside the button component, so usages have been inlined
@linear
Copy link

linear bot commented Jan 14, 2026

@github-actions github-actions bot added the Scope: Frontend Automatically applied to PRs that change frontend components label Jan 14, 2026
font-family: ${p => p.theme.text.family};
background-color: ${p =>
p.isHovered ? p.theme.button.default.background : p.theme.tokens.background.primary};
background-color: ${p => p.theme.tokens.background.primary};
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this is the only weird case because theme.button.default.background is the same as theme.tokens.background.primary so the whole condition could be removed.

however, there is still a &:hover css selector that changes the backgroundColor so 🤷

@TkDodo TkDodo marked this pull request as ready for review January 14, 2026 15:55
@TkDodo TkDodo requested review from a team as code owners January 14, 2026 15:55
@TkDodo TkDodo merged commit 15fd9e4 into master Jan 14, 2026
54 checks passed
@TkDodo TkDodo deleted the tkdodo/ref/de-318-remove-themebutton branch January 14, 2026 16:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Scope: Frontend Automatically applied to PRs that change frontend components

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants