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

fix: consistent icon name class #2878

Open
wants to merge 13 commits into
base: main
Choose a base branch
from

Conversation

danteissaias
Copy link

@danteissaias danteissaias commented Mar 8, 2025

Closes #2858

What is the purpose of this pull request?

  • New Icon
  • Bug fix
  • New Feature
  • Documentation update
  • Other:

Description

Thanks for taking the time to look at my previous PR!

Based on our previous discussion, I've implemented a different solution. Instead of modifying the toKebabCase function, I've added a new class that's derived from the icon's name on the filesystem.

The good news is that this change is fully backwards compatible. The new classes will follow this pattern:
lucide lucide-grid3x3 lucide-grid-3x3

This means existing implementations using the current class names will continue to work without any changes needed.

Looking forward to your feedback on this approach.

Before Submitting

@danteissaias danteissaias requested a review from jguddas March 10, 2025 09:42
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.

Inconsistent kebab-casing between class attribute and iconNames
2 participants