Skip to content

Conversation

@JonasBa
Copy link
Member

@JonasBa JonasBa commented Dec 18, 2025

The ColorOrAlias type is problematic since it creates a coupling between how the theme is structured and which colors are available. Along the same lines, organizing our theme with a flat key list isn't a scalable long term approach.


Developers should use variants to encapsulate meanings or access colors directly on the theme if they need to.

@JonasBa JonasBa requested review from a team as code owners December 18, 2025 22:59
@github-actions github-actions bot added the Scope: Frontend Automatically applied to PRs that change frontend components label Dec 18, 2025
<Flex align="center">
{rule.detectionType !== AlertRuleComparisonType.DYNAMIC && (
<IconArrow color={iconColor} direction={iconDirection} />
<IconArrow color={iconVariant} direction={iconDirection} />

This comment was marked as outdated.

@JonasBa
Copy link
Member Author

JonasBa commented Dec 19, 2025

I'm going to hold off on merging until we figure out the warning variant usage

@JonasBa JonasBa added the Do Not Merge Don't merge label Dec 19, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Do Not Merge Don't merge 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