Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: adding icon bg color param #1095

Merged
merged 1 commit into from
Dec 11, 2024
Merged

Conversation

JonnCharpentier
Copy link
Contributor

No description provided.

@JonnCharpentier JonnCharpentier changed the title SC-62586 Feat: adding icon bg color param Feat: adding icon bg color param Dec 11, 2024
@JonnCharpentier JonnCharpentier changed the title Feat: adding icon bg color param feat: adding icon bg color param Dec 11, 2024
@@ -11,7 +11,7 @@ export interface IconProps extends AriaAttributes, DOMProps {
/** The size of the icon in increments, i.e. 1 == 8px, default is 3 == 24px. */
inc?: number;
/** Styles overrides */
xss?: Xss<Margin | "visibility" | "flexShrink">;
xss?: Xss<Margin | "visibility" | "flexShrink" | "backgroundColor">;
Copy link
Contributor

Choose a reason for hiding this comment

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

I think a bgColor: Palette prop would be better/more of a guardrail until we really have a strong need for "any random color".

@JonnCharpentier JonnCharpentier merged commit d5d181a into main Dec 11, 2024
6 checks passed
@JonnCharpentier JonnCharpentier deleted the sc-62586/icon-bg-color branch December 11, 2024 16:29
homebound-team-bot pushed a commit that referenced this pull request Dec 11, 2024
## [2.373.0](v2.372.1...v2.373.0) (2024-12-11)

### Features

* adding icon bg color param ([#1095](#1095)) ([d5d181a](d5d181a))
@homebound-team-bot
Copy link

🎉 This PR is included in version 2.373.0 🎉

The release is available on:

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants