Skip to content

Conversation

DRiFTy17
Copy link
Collaborator

No description provided.

@DRiFTy17 DRiFTy17 added minor Increment the minor version when merged skip-release Preserve the current version when merged labels Mar 22, 2025
@DRiFTy17 DRiFTy17 requested a review from a team as a code owner March 22, 2025 03:27
Copy link

Review PR in StackBlitz Codeflow Run & review this pull request in StackBlitz Codeflow.

}
/** The theme of the badge. */
@property({ type: String, reflect: true })
public theme: BadgeTheme = 'default';
Copy link
Collaborator Author

Choose a reason for hiding this comment

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

I chose not to for this first pass, but should we consider also using CSS custom states for these common theme properties across components? What sort of naming convention would we use? :state(theme-primary) or :state(primary)?

Copy link
Contributor

@samrichardsontylertech samrichardsontylertech Mar 27, 2025

Choose a reason for hiding this comment

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

I don't think so. I've been reserving custom states for particular things like disabled, open, etc. It feels cleaner for them to refer to behavioral changes in the components instead of purely stylistic ones. We can always add states later if there's a need, anyway 🤷

@DRiFTy17 DRiFTy17 merged commit 9d28835 into main Mar 27, 2025
13 checks passed
@DRiFTy17 DRiFTy17 deleted the badge-lit-refactor branch March 27, 2025 18:30
Copy link
Contributor

github-actions bot commented Apr 3, 2025

🚀 PR was released in v3.8.0 🚀

@github-actions github-actions bot added the released This issue/pull request has been released. label Apr 3, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
minor Increment the minor version when merged released This issue/pull request has been released. skip-release Preserve the current version when merged
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants