β Type of change
π Documentation (updates to the documentation or readme)
π Enhancement (improving an existing functionality like performance)
β¨ New feature (a non-breaking change that adds functionality)
β οΈ Breaking change (fix or feature that would cause existing functionality to change)
π Description
π Checklist
I have updated the documentation accordingly.
What did I do?
Add stroke overwrite attribute to enable changing SVG stroke colors
Add width attribute - manually specify width of SVG
Add height attribute - manually specify height of SVG
Set SVG aspect-ratio to 1:1
Switched icon html to enable dynamic centering of icon on both axis
Updated Documentation to re-shuffle order, add info about sub-folders and provide instructions/examples for attributes
BREAKING CHANGES
Due to the inversion of the fill logic, this may cause some visual changes to icons. - Issue: https://github.com/gitFoxCode/nuxt-icons/issues/4#issue-1271564962Previous Behavior: if you do not set the fill attribute, the SVG will use it's built in colorsNew Behavior: You must explicitly tell the SVG to use it's built in colors
To Fix: remove fill from icons that already have the attribute, and add fill to icons that dont.
+Note: May require some additional CSS wizardry for edge cases*
β Type of change π Documentation (updates to the documentation or readme) π Enhancement (improving an existing functionality like performance) β¨ New feature (a non-breaking change that adds functionality) β οΈ Breaking change (fix or feature that would cause existing functionality to change) π Description
π Checklist I have updated the documentation accordingly.
What did I do?
stroke
overwrite attribute to enable changing SVGstroke
colorsfill
attribute - you must specifyfill
to use the SVG's originalfill
color - Issue: https://github.com/gitFoxCode/nuxt-icons/issues/4#issue-1271564962width
attribute - manually specify width of SVGheight
attribute - manually specify height of SVGaspect-ratio
to1:1
BREAKING CHANGES Due to the inversion of the
fill
logic, this may cause some visual changes to icons. - Issue: https://github.com/gitFoxCode/nuxt-icons/issues/4#issue-1271564962 Previous Behavior: if you do not set thefill
attribute, the SVG will use it's built in colors New Behavior: You must explicitly tell the SVG to use it's built in colors To Fix: removefill
from icons that already have the attribute, and addfill
to icons that dont.+Note: May require some additional CSS wizardry for edge cases*