foundry-ironsworn icon indicating copy to clipboard operation
foundry-ironsworn copied to clipboard

svg widgets: normalize fills + tidy components

Open rsek opened this issue 2 years ago • 2 comments

adjusts SVG widgets (rank pips + clocks) to make them more flexible when re-styled (whether internally or via a user stylesheet).

  • stroke and fill are now currentColor, so they'll be whatever the css color is for that element
  • hover, selected, and active fills are now changed by altering the fill-opacity attribute

rsek avatar Sep 16 '22 05:09 rsek

  • housekeeping: added {{themeClass}} to hbs templates that were still using a static theme-ironsworn
  • hover "preview" effect for rank pips and clock wedges is now pure CSS, instead of adding/removing classes
  • pip shape now changes with theme. starforged uses its thematic hexes, while classic ironsworn uses circles (less strongly established than hex pips are for SF, but more "on theme" given that ironsworn uses circles in almost every place SF uses a hex)
Screen Shot 2022-09-16 at 6 18 20 PM Screen Shot 2022-09-16 at 6 23 31 PM

rsek avatar Sep 17 '22 01:09 rsek

Needs a rebase after merging #466

ben avatar Sep 17 '22 14:09 ben