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

Setup icons style to fill using currentcolor #230

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

ibirisol
Copy link

@ibirisol ibirisol commented Dec 21, 2024

This change in the icons to support CSS properties in SVG was made by using the commands below (closes #229):

sed -i 's/style="fill:#000000;/style="fill:currentColor;/g' svg/isni.svg 
sed -i 's/style="color:#000000;/style="fill:currentColor;/g' svg/open-access.svg svg/pubpeer.svg
for svg in $(grep -L 'style=' svg/*); do echo $svg; sed -i 's/<path/<path\n       style=""/g' $svg;done
for svg in $(grep -l 'style=' svg/* | grep -v 'open-access.svg\|pubpeer.svg\|isni.svg'); do echo $svg; sed -i 's/style="/style="fill:currentColor;/g' $svg;done 

@ibirisol ibirisol changed the title update all icons with color property currentcolor (closes #229) Setup icons style with fill using currentcolor Dec 21, 2024
@ibirisol ibirisol changed the title Setup icons style with fill using currentcolor Setup icons style to fill using currentcolor Dec 21, 2024
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.

Update the icons' CSS style property to support currentcolor
1 participant