Skip to content

Conversation

@natemoo-re
Copy link
Member

Came across this in the course of #105851 and decided to refactor AlertBadge to align the logic to the new token structure and simplify the functions.

@natemoo-re natemoo-re requested a review from a team as a code owner January 8, 2026 21:09
@github-actions github-actions bot added the Scope: Frontend Automatically applied to PRs that change frontend components label Jan 8, 2026
@natemoo-re natemoo-re enabled auto-merge (squash) January 8, 2026 21:12
@natemoo-re natemoo-re merged commit d10dfbc into master Jan 8, 2026
52 checks passed
@natemoo-re natemoo-re deleted the core/nm/alertBadge branch January 8, 2026 21:20
natemoo-re added a commit that referenced this pull request Jan 9, 2026
Removes `theme.subText`, closes DE-329

In simple cases with the `color` property, these have been replaced with
`theme.tokens.content.secondary`.

I flagged a handful of non-text CSS Properties, which have been
converted to the semantically appropriate alternative—these are worth
taking a second look at commit-by-commit.

| File | Note |
|
-----------------------------------------------------------------------------------------------------------------------------------------------------
| --------------------- |
|
[alertBadge.tsx](https://github.com/getsentry/sentry/blob/theme/nm/subtext/static/app/components/core/badge/alertBadge.tsx)
| fixed in #105958 |
|
[plainTextQueryInput.tsx](f586dbe)
| caret-color, use `interactive` token |
|
[slider/index.tsx](3e7fc4f#diff-0a69d0a60b1bfaec2dff5b91f6da5671596844b478955f25c985b5b4a2aa0af9R370)
| disabled, use `content.disabled` |
|
[slider/thumb.tsx](3e7fc4f#diff-dcd54696903075c19dd63b3d73eac8e70e71e340ac12406497fb7f7186b6dff0R107-R108)
| disabled, use `content.disabled` |
|
[metricChart.tsx](648acd0)
| background, use `graphics.neutral.vibrant` |
|
[ruleForm.tsx](c0df95d)
| background, use `graphics.neutral.vibrant` |
|
[baseAvatar.tsx](20ff270)
| border, use `border.neutral.vibrant`|

---------

Co-authored-by: getsantry[bot] <66042841+getsantry[bot]@users.noreply.github.com>
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