Skip to content

Conversation

grepsuzette
Copy link
Contributor

@grepsuzette grepsuzette commented Jul 21, 2020

define <use> tag (usable inside <svg> tags).
There is a join PR in tink_svgspec (haxetink/tink_svgspec#1) that defines its attributes.

This enables syntax for using bootstrap svg icons (the variant using css sprites @ https://icons.getbootstrap.com/#usage) to be recognized when compiling views e.g.:

<svg width="32" height="32" fill="currentColor">
  <use href="bootstrap-icons.svg#heart-fill"/>
</svg>

grepsuzette added 2 commits July 21, 2020 17:07
May be controversial, but in needs of "fill" here and doc mentions:
"[Presentation attributes are allowed and]
Most notably: clip-path, clip-rule, color, color-interpolation,
color-rendering, cursor, display, fill, fill-opacity, fill-rule, filter,
mask, opacity, pointer-events, shape-rendering, stroke,
stroke-dasharray, stroke-dashoffset, stroke-linecap, stroke-linejoin,
stroke-miterlimit, stroke-opacity, stroke-width, transform,
vector-effect, visibility"
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