-
-
Notifications
You must be signed in to change notification settings - Fork 1.4k
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 simple icons color fill #194
Conversation
✔️ Deploy Preview for dashy-dev ready! 🔨 Explore the source changes: c9fc7e4 🔍 Inspect the deploy log: https://app.netlify.com/sites/dashy-dev/deploys/612e0b4192dceb00079ae165 😎 Browse the preview: https://deploy-preview-194--dashy-dev.netlify.app/ |
Changes preview: |
Looking good! |
Looks like the deploy worked and then git had a failure. And also the yarn lock change task looks like it's failing due to this: |
Yeah, that makes sense. I couldn't find another way of altering the color of the simple icons that didn't involve using javascript to inject into the |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Just 1 small change
Yeah I think the failure in the CI is a permissions thing, it works just fine for me locally so it should be all okay |
Good fix- thank you for implementing :) |
Category:
One of: Bugfix
Overview
I was having problems with the SimpleIcons applying a color tint because the icons being loaded as SVGs via URL were wrapped in an
object
thus not allowing css styling to apply.By including the node package for
simple-icons
we can directly access theSVG
andPATH
in order to be able to set thefill
tocurrentColor
New Vars (if applicable)
Dependency added on
simple-icons:^5.12.0
Screenshot (if applicable)
Before:
After:
Code Quality Checklist (Please complete)