Re: SVG icons: how are you supposed to change fill colour?
Reply #2 – October 01, 2020, 03:48:11 pm
I've attached the current state of the CSS for this thing, meant for running in Stylus or Stylem. Caveats: 1/ It may not be consistent absolutely everywhere, since I've only been using it for browsing on this site and I don't visit every possible page here. I haven't done a serious and comprehensive de-bug on a test site yet. 2/ The CSS is functional as is, but has gone through umpteen stages of being minified to save space, then having extra stuff tacked on the end when I think of something else. then having minified bits expanded when I go back to add another selector in somewhere, etc, etc etc. IOW it works, but it's nasty. Hence the file name.
Re: SVG icons: how are you supposed to change fill colour?
Reply #4 – October 02, 2020, 07:49:46 am
Ohh that picture... Looking forward to trying it out at some point!!!
Re: SVG icons: how are you supposed to change fill colour?
Reply #8 – October 02, 2020, 04:19:54 pm
The basic idea of FA is that as the icons are vectors, rather than raster images, they look good at any scale. So you can use them on high density displays (usually mobiles of some sort) and they won't go blurry, and of course you can do a fair bit of custom styling of them with CSS.
Re: SVG icons: how are you supposed to change fill colour?
Reply #9 – October 03, 2020, 02:02:01 pm
I'll have to do a search on that at some point. Thanks.
Re: SVG icons: how are you supposed to change fill colour?
Reply #14 – September 18, 2021, 01:02:05 am
Aha! Figured it out. On mobile you have some sort of trickery injecting a style tag for elements related to Didomi, and that is killing Stylus's attempt to inject the custom style tag in the same location (ie: just before the closing tag of the body element). So to get Stylus working on this site I would have to use a script blocker to kill the Didomi thing (which frankly does not seem like a useful addition, considering it's not applied to desktop anyway). If that was done, custom stylesheets via Stylus/Android might work on this site.