Skip to content

Set default SVG currentColor to white#158

Open
askfalse wants to merge 2 commits intojackTabsCode:mainfrom
askfalse:main
Open

Set default SVG currentColor to white#158
askfalse wants to merge 2 commits intojackTabsCode:mainfrom
askfalse:main

Conversation

@askfalse
Copy link

Most web icon libraries use a fill/stroke set to currentColor with the intention that it will use the current text color - however asphalt renders these SVGs as black.

This PR adds a stylesheet to change the SVG color to white, making it possible to change the color of these icons in-engine via ImageColor3.

SVGs that don't make use of the root currentColor are unaffected.

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.

1 participant