Add and fix icons

- Add warehouse icon
- Fix chevron up icon
- Add deliver icon
This commit is contained in:
David Vogel 2023-05-09 12:28:07 +02:00
parent a573067168
commit dddc2c3ca3
7 changed files with 124 additions and 2 deletions

View File

@ -1,5 +1,5 @@
<svg viewBox="0 0 16 16" vg-attr="c.AttrMap"> <svg viewBox="0 0 16 16" vg-attr="c.AttrMap">
<polyline class="d3c-icon-stroke" points="1.5,10.5 7.5,4.5 13.5,10.5 " stroke-width="1" stroke-linejoin="round" stroke-linecap="round" fill="none"/> <polyline class="d3c-icon-stroke" points="1.5,10.5 7.5,4.5 13.5,10.5 " stroke="black" stroke-width="1" stroke-linejoin="round" stroke-linecap="round" fill="none"/>
</svg> </svg>
<script type="application/x-go"> <script type="application/x-go">

Before

Width:  |  Height:  |  Size: 298 B

After

Width:  |  Height:  |  Size: 313 B

View File

@ -27,7 +27,7 @@ func (c *LChevronUp) Build(vgin *vugu.BuildIn) (vgout *vugu.BuildOut) {
_ = vgparent _ = vgparent
vgn = &vugu.VGNode{Type: vugu.VGNodeType(1), Data: "\n\t"} vgn = &vugu.VGNode{Type: vugu.VGNodeType(1), Data: "\n\t"}
vgparent.AppendChild(vgn) vgparent.AppendChild(vgn)
vgn = &vugu.VGNode{Type: vugu.VGNodeType(3), Namespace: "svg", Data: "polyline", Attr: []vugu.VGAttribute{vugu.VGAttribute{Namespace: "", Key: "class", Val: "d3c-icon-stroke"}, vugu.VGAttribute{Namespace: "", Key: "points", Val: "1.5,10.5 7.5,4.5 13.5,10.5 "}, vugu.VGAttribute{Namespace: "", Key: "stroke-width", Val: "1"}, vugu.VGAttribute{Namespace: "", Key: "stroke-linejoin", Val: "round"}, vugu.VGAttribute{Namespace: "", Key: "stroke-linecap", Val: "round"}, vugu.VGAttribute{Namespace: "", Key: "fill", Val: "none"}}} vgn = &vugu.VGNode{Type: vugu.VGNodeType(3), Namespace: "svg", Data: "polyline", Attr: []vugu.VGAttribute{vugu.VGAttribute{Namespace: "", Key: "class", Val: "d3c-icon-stroke"}, vugu.VGAttribute{Namespace: "", Key: "points", Val: "1.5,10.5 7.5,4.5 13.5,10.5 "}, vugu.VGAttribute{Namespace: "", Key: "stroke", Val: "black"}, vugu.VGAttribute{Namespace: "", Key: "stroke-width", Val: "1"}, vugu.VGAttribute{Namespace: "", Key: "stroke-linejoin", Val: "round"}, vugu.VGAttribute{Namespace: "", Key: "stroke-linecap", Val: "round"}, vugu.VGAttribute{Namespace: "", Key: "fill", Val: "none"}}}
vgparent.AppendChild(vgn) vgparent.AppendChild(vgn)
vgn = &vugu.VGNode{Type: vugu.VGNodeType(1), Data: "\n"} vgn = &vugu.VGNode{Type: vugu.VGNodeType(1), Data: "\n"}
vgparent.AppendChild(vgn) vgparent.AppendChild(vgn)

12
icons/l-deliver.vugu Normal file
View File

@ -0,0 +1,12 @@
<svg viewBox="0 0 16 16" vg-attr="c.AttrMap">
<polyline class="fil1 str0" points="14.41,13.5 15.5,13.5 15.5,9.5 13.5,7.5 10.5,7.5 10.5,13.5 11.59,13.5 " width="3.0" height="3.0" stroke="black" stroke-width="1" stroke-linejoin="round" stroke-linecap="round" fill="none"/>
<circle class="fil1 str0" cx="3" cy="14" r="1.5" width="3.0" height="3.0" stroke="black" stroke-width="1" stroke-linejoin="round" stroke-linecap="round" fill="none"/>
<circle class="fil1 str0" cx="13" cy="14" r="1.5" width="3.0" height="3.0" stroke="black" stroke-width="1" stroke-linejoin="round" stroke-linecap="round" fill="none"/>
<polyline class="fil1 str0" points="1.59,13.5 0.5,13.5 0.5,4.5 10.5,4.5 10.5,13.5 4.41,13.5 " width="3.0" height="3.0" stroke="black" stroke-width="1" stroke-linejoin="round" stroke-linecap="round" fill="none"/>
</svg>
<script type="application/x-go">
type LDeliver struct{
AttrMap vugu.AttrMap
}
</script>

After

Width:  |  Height:  |  Size: 922 B

54
icons/l-deliver_vgen.go Normal file
View File

@ -0,0 +1,54 @@
package icons
// Code generated by vugu via vugugen. Please regenerate instead of editing or add additional code in a separate file. DO NOT EDIT.
import "fmt"
import "reflect"
import "github.com/vugu/vjson"
import "github.com/vugu/vugu"
import js "github.com/vugu/vugu/js"
type LDeliver struct {
AttrMap vugu.AttrMap
}
func (c *LDeliver) Build(vgin *vugu.BuildIn) (vgout *vugu.BuildOut) {
vgout = &vugu.BuildOut{}
var vgiterkey interface{}
_ = vgiterkey
var vgn *vugu.VGNode
vgn = &vugu.VGNode{Type: vugu.VGNodeType(3), Namespace: "svg", Data: "svg", Attr: []vugu.VGAttribute{vugu.VGAttribute{Namespace: "", Key: "viewBox", Val: "0 0 16 16"}}}
vgout.Out = append(vgout.Out, vgn) // root for output
vgn.AddAttrList(c.AttrMap)
{
vgparent := vgn
_ = vgparent
vgn = &vugu.VGNode{Type: vugu.VGNodeType(1), Data: "\n\t"}
vgparent.AppendChild(vgn)
vgn = &vugu.VGNode{Type: vugu.VGNodeType(3), Namespace: "svg", Data: "polyline", Attr: []vugu.VGAttribute{vugu.VGAttribute{Namespace: "", Key: "class", Val: "fil1 str0"}, vugu.VGAttribute{Namespace: "", Key: "points", Val: "14.41,13.5 15.5,13.5 15.5,9.5 13.5,7.5 10.5,7.5 10.5,13.5 11.59,13.5 "}, vugu.VGAttribute{Namespace: "", Key: "width", Val: "3.0"}, vugu.VGAttribute{Namespace: "", Key: "height", Val: "3.0"}, vugu.VGAttribute{Namespace: "", Key: "stroke", Val: "black"}, vugu.VGAttribute{Namespace: "", Key: "stroke-width", Val: "1"}, vugu.VGAttribute{Namespace: "", Key: "stroke-linejoin", Val: "round"}, vugu.VGAttribute{Namespace: "", Key: "stroke-linecap", Val: "round"}, vugu.VGAttribute{Namespace: "", Key: "fill", Val: "none"}}}
vgparent.AppendChild(vgn)
vgn = &vugu.VGNode{Type: vugu.VGNodeType(1), Data: "\n\t"}
vgparent.AppendChild(vgn)
vgn = &vugu.VGNode{Type: vugu.VGNodeType(3), Namespace: "svg", Data: "circle", Attr: []vugu.VGAttribute{vugu.VGAttribute{Namespace: "", Key: "class", Val: "fil1 str0"}, vugu.VGAttribute{Namespace: "", Key: "cx", Val: "3"}, vugu.VGAttribute{Namespace: "", Key: "cy", Val: "14"}, vugu.VGAttribute{Namespace: "", Key: "r", Val: "1.5"}, vugu.VGAttribute{Namespace: "", Key: "width", Val: "3.0"}, vugu.VGAttribute{Namespace: "", Key: "height", Val: "3.0"}, vugu.VGAttribute{Namespace: "", Key: "stroke", Val: "black"}, vugu.VGAttribute{Namespace: "", Key: "stroke-width", Val: "1"}, vugu.VGAttribute{Namespace: "", Key: "stroke-linejoin", Val: "round"}, vugu.VGAttribute{Namespace: "", Key: "stroke-linecap", Val: "round"}, vugu.VGAttribute{Namespace: "", Key: "fill", Val: "none"}}}
vgparent.AppendChild(vgn)
vgn = &vugu.VGNode{Type: vugu.VGNodeType(1), Data: "\n\t"}
vgparent.AppendChild(vgn)
vgn = &vugu.VGNode{Type: vugu.VGNodeType(3), Namespace: "svg", Data: "circle", Attr: []vugu.VGAttribute{vugu.VGAttribute{Namespace: "", Key: "class", Val: "fil1 str0"}, vugu.VGAttribute{Namespace: "", Key: "cx", Val: "13"}, vugu.VGAttribute{Namespace: "", Key: "cy", Val: "14"}, vugu.VGAttribute{Namespace: "", Key: "r", Val: "1.5"}, vugu.VGAttribute{Namespace: "", Key: "width", Val: "3.0"}, vugu.VGAttribute{Namespace: "", Key: "height", Val: "3.0"}, vugu.VGAttribute{Namespace: "", Key: "stroke", Val: "black"}, vugu.VGAttribute{Namespace: "", Key: "stroke-width", Val: "1"}, vugu.VGAttribute{Namespace: "", Key: "stroke-linejoin", Val: "round"}, vugu.VGAttribute{Namespace: "", Key: "stroke-linecap", Val: "round"}, vugu.VGAttribute{Namespace: "", Key: "fill", Val: "none"}}}
vgparent.AppendChild(vgn)
vgn = &vugu.VGNode{Type: vugu.VGNodeType(1), Data: "\n\t"}
vgparent.AppendChild(vgn)
vgn = &vugu.VGNode{Type: vugu.VGNodeType(3), Namespace: "svg", Data: "polyline", Attr: []vugu.VGAttribute{vugu.VGAttribute{Namespace: "", Key: "class", Val: "fil1 str0"}, vugu.VGAttribute{Namespace: "", Key: "points", Val: "1.59,13.5 0.5,13.5 0.5,4.5 10.5,4.5 10.5,13.5 4.41,13.5 "}, vugu.VGAttribute{Namespace: "", Key: "width", Val: "3.0"}, vugu.VGAttribute{Namespace: "", Key: "height", Val: "3.0"}, vugu.VGAttribute{Namespace: "", Key: "stroke", Val: "black"}, vugu.VGAttribute{Namespace: "", Key: "stroke-width", Val: "1"}, vugu.VGAttribute{Namespace: "", Key: "stroke-linejoin", Val: "round"}, vugu.VGAttribute{Namespace: "", Key: "stroke-linecap", Val: "round"}, vugu.VGAttribute{Namespace: "", Key: "fill", Val: "none"}}}
vgparent.AppendChild(vgn)
vgn = &vugu.VGNode{Type: vugu.VGNodeType(1), Data: "\n"}
vgparent.AppendChild(vgn)
}
return vgout
}
// 'fix' unused imports
var _ fmt.Stringer
var _ reflect.Type
var _ vjson.RawMessage
var _ js.Value

10
icons/l-warehouse.vugu Normal file
View File

@ -0,0 +1,10 @@
<svg viewBox="0 0 16 16" vg-attr="c.AttrMap">
<path class="d3c-icon-stroke" d="M14.5 15.5l-2 0 0 -9.0 -9.0 0 0 9.0 -2 -0c-0.272,0 -0.512,-0.1 -0.707,-0.293 -0.195,-0.195 -0.292,-0.433 -0.292,-0.708l0.015 -9 7 -5 1 0 6.982 5 0 9c0,0.54 -0.461,1 -1,1z" stroke="black" stroke-width="1" stroke-linejoin="round" stroke-linecap="round" fill="none"/>
<path class="d3c-icon-stroke" d="M3.5 15.5l3 0 0 -3 -3 0 0 3zm3 0l3 0 0 -3 -3 0 0 3zm-1 -3l3 0 0 -3 -3 0 0 3z" width="3.0" height="3.0" stroke="black" stroke-width="1" stroke-linejoin="round" stroke-linecap="round" fill="none"/>
</svg>
<script type="application/x-go">
type LWarehouse struct{
AttrMap vugu.AttrMap
}
</script>

After

Width:  |  Height:  |  Size: 677 B

46
icons/l-warehouse_vgen.go Normal file
View File

@ -0,0 +1,46 @@
package icons
// Code generated by vugu via vugugen. Please regenerate instead of editing or add additional code in a separate file. DO NOT EDIT.
import "fmt"
import "reflect"
import "github.com/vugu/vjson"
import "github.com/vugu/vugu"
import js "github.com/vugu/vugu/js"
type LWarehouse struct {
AttrMap vugu.AttrMap
}
func (c *LWarehouse) Build(vgin *vugu.BuildIn) (vgout *vugu.BuildOut) {
vgout = &vugu.BuildOut{}
var vgiterkey interface{}
_ = vgiterkey
var vgn *vugu.VGNode
vgn = &vugu.VGNode{Type: vugu.VGNodeType(3), Namespace: "svg", Data: "svg", Attr: []vugu.VGAttribute{vugu.VGAttribute{Namespace: "", Key: "viewBox", Val: "0 0 16 16"}}}
vgout.Out = append(vgout.Out, vgn) // root for output
vgn.AddAttrList(c.AttrMap)
{
vgparent := vgn
_ = vgparent
vgn = &vugu.VGNode{Type: vugu.VGNodeType(1), Data: "\n\t"}
vgparent.AppendChild(vgn)
vgn = &vugu.VGNode{Type: vugu.VGNodeType(3), Namespace: "svg", Data: "path", Attr: []vugu.VGAttribute{vugu.VGAttribute{Namespace: "", Key: "class", Val: "d3c-icon-stroke"}, vugu.VGAttribute{Namespace: "", Key: "d", Val: "M14.5 15.5l-2 0 0 -9.0 -9.0 0 0 9.0 -2 -0c-0.272,0 -0.512,-0.1 -0.707,-0.293 -0.195,-0.195 -0.292,-0.433 -0.292,-0.708l0.015 -9 7 -5 1 0 6.982 5 0 9c0,0.54 -0.461,1 -1,1z"}, vugu.VGAttribute{Namespace: "", Key: "stroke", Val: "black"}, vugu.VGAttribute{Namespace: "", Key: "stroke-width", Val: "1"}, vugu.VGAttribute{Namespace: "", Key: "stroke-linejoin", Val: "round"}, vugu.VGAttribute{Namespace: "", Key: "stroke-linecap", Val: "round"}, vugu.VGAttribute{Namespace: "", Key: "fill", Val: "none"}}}
vgparent.AppendChild(vgn)
vgn = &vugu.VGNode{Type: vugu.VGNodeType(1), Data: "\n\t"}
vgparent.AppendChild(vgn)
vgn = &vugu.VGNode{Type: vugu.VGNodeType(3), Namespace: "svg", Data: "path", Attr: []vugu.VGAttribute{vugu.VGAttribute{Namespace: "", Key: "class", Val: "d3c-icon-stroke"}, vugu.VGAttribute{Namespace: "", Key: "d", Val: "M3.5 15.5l3 0 0 -3 -3 0 0 3zm3 0l3 0 0 -3 -3 0 0 3zm-1 -3l3 0 0 -3 -3 0 0 3z"}, vugu.VGAttribute{Namespace: "", Key: "width", Val: "3.0"}, vugu.VGAttribute{Namespace: "", Key: "height", Val: "3.0"}, vugu.VGAttribute{Namespace: "", Key: "stroke", Val: "black"}, vugu.VGAttribute{Namespace: "", Key: "stroke-width", Val: "1"}, vugu.VGAttribute{Namespace: "", Key: "stroke-linejoin", Val: "round"}, vugu.VGAttribute{Namespace: "", Key: "stroke-linecap", Val: "round"}, vugu.VGAttribute{Namespace: "", Key: "fill", Val: "none"}}}
vgparent.AppendChild(vgn)
vgn = &vugu.VGNode{Type: vugu.VGNodeType(1), Data: "\n"}
vgparent.AppendChild(vgn)
}
return vgout
}
// 'fix' unused imports
var _ fmt.Stringer
var _ reflect.Type
var _ vjson.RawMessage
var _ js.Value

Binary file not shown.