Use web components for SVG icons

This commit is contained in:
2019-08-30 16:04:28 +09:00
parent b32005cdee
commit d974156d68
13 changed files with 113 additions and 61 deletions

View File

@ -1,5 +1,5 @@
component Icon(name string)
go:utils.Icon(name)
svg-icon.padded-icon(name=name, class="icon-" + name)
component RawIcon(name string)
go:utils.RawIcon(name)
svg-icon(name=name, class="icon-" + name)