Skip to content

Use class for custom icon dimensions#3469

Merged
sea-snake merged 1 commit intomainfrom
sea-snake/custom-icon-dimensions-in-class
Nov 5, 2025
Merged

Use class for custom icon dimensions#3469
sea-snake merged 1 commit intomainfrom
sea-snake/custom-icon-dimensions-in-class

Conversation

@sea-snake
Copy link
Copy Markdown
Contributor

@sea-snake sea-snake commented Nov 4, 2025

Use class for custom icon dimensions instead of size prop, this allows for css size overrides without !important e.g. !size-6 in tailwind.

Tests

The size prop wasn't used yet, so no other changes were needed.

…s for css size overrides without !important.
@sea-snake sea-snake requested a review from lmuntaner November 4, 2025 15:11
Copy link
Copy Markdown
Contributor

@lmuntaner lmuntaner left a comment

Choose a reason for hiding this comment

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

Minor comment, already approving.

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Where is this icon used? Can't we remove it?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

Yeah, we can probably remove it. I'll do a PR to cleanup this and other related unused things after the access methods (so it's just a single delete files PR).

@sea-snake sea-snake added this pull request to the merge queue Nov 5, 2025
Merged via the queue into main with commit 5aef37f Nov 5, 2025
76 checks passed
@sea-snake sea-snake deleted the sea-snake/custom-icon-dimensions-in-class branch November 5, 2025 09:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants