-
Notifications
You must be signed in to change notification settings - Fork 30.7k
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
[icon-themes] explore using attribute selectors to allow name patterns and simplify implementation #177650
Comments
Very very nice. I like that this moves the heavy lifting for theme keys back to the file icon side. Minor notes:
I believe I might have thought of this in #12493 but didn't devise it or sketch it out. |
Thanks @zm-cttae. I agree with all your points! Maybe move the dot inside the extension and use the
However, that would limit the patterns that can be used in extensions. |
We can use data attribute and ext class to cover full functionality I think? Sucks we can't do it in one.. |
Would you like me to try refactor #174286 again, see if this could work? |
I've implemented this into #174286, but it does need a change to the icon label API (PR description updated) |
We currently use css classes to match file icons to file names.
Using attribute selectors could simplify this and allow to support name patterns
The text was updated successfully, but these errors were encountered: