Skip to content

Commit

Permalink
fix: Adapt spelling of gradient macros to other svg macros
Browse files Browse the repository at this point in the history
This is a breaking change!
  • Loading branch information
klemens committed May 9, 2020
1 parent 0674789 commit 1f8038a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/shortcuts.rs
Original file line number Diff line number Diff line change
Expand Up @@ -189,7 +189,7 @@ element_svg! {
// missing-glyph => MissingGlyph; // todo unable to populate with macro due to hyphen
pattern => Pattern; svg => Svg; switch => Switch; symbol => Symbol; unknown => Unknown;
// SVG gradient elements
linear_gradient => LinearGradient; radial_gradient => RadialGradient; mesh_gradient => MeshGradient;
linearGradient => LinearGradient; radialGradient => RadialGradient; meshGradient => MeshGradient;
stop => Stop;
// SVG graphics elements
image => Image;
Expand Down

0 comments on commit 1f8038a

Please # to comment.