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

Update the icons' CSS style property to support currentcolor #229

Open
ibirisol opened this issue Dec 21, 2024 · 0 comments · May be fixed by #230
Open

Update the icons' CSS style property to support currentcolor #229

ibirisol opened this issue Dec 21, 2024 · 0 comments · May be fixed by #230
Labels
enhancement New feature or request

Comments

@ibirisol
Copy link

Organization

NA

Scope

Change all SVG icons to support CSS color attribute.
This update will help with color setup when using those icons on web pages, allowing appropriate theme homogenization.

Technical checks

All SVG images will only differ from the original by a change in the "" object attribute style, which need to be specified as shown in the example below:

-       style="stroke-width:0.264583" />
+       style="fill:currentColor;stroke-width:0.264583" />

By doing this change, we can achieve the following results using icons.

Before changing
Before changing

After changing
After changing

Triggered by mouse
Triggered by mouse

@ibirisol ibirisol added the enhancement New feature or request label Dec 21, 2024
ibirisol added a commit to ibirisol/academicons that referenced this issue Dec 21, 2024
@ibirisol ibirisol linked a pull request Dec 21, 2024 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant