D3vugu-components/icons/l-paste.vugu
David Vogel e9c2353da3 Add utils package
- Add AttributesAppend type
- Add icon class and add styles to icons
- Change elements to use AttributesAppend in vg-attr
- Move example icons into their own component
2023-05-15 08:58:12 +02:00

40 lines
1.1 KiB
Plaintext

<svg viewBox="0 0 16 16" vg-attr='utils.AttributesAppend{AttrMap: c.AttrMap, Classes: "d3c-icon d3-lineicon"}'>
<path class="d3c-icon-stroke" d="M9.525 1.5l2 0c0.55,0 1,0.453 1,1l0 1m-7 12l-3 -0c-0.546,-0 -1,-0.45 -1,-1l0 -12c0,-0.551 0.45,-1 1,-1l2.011 -0m1 -1l3 0c0.551,0 1,0.45 1,1 0,0.551 -0.45,1 -1,1l-3 0c-0.551,0 -1,-0.45 -1,-1 0,-0.55 0.449,-1 1,-1zm2.988 5l5 0c0.55,0 1,0.453 1,1l0 7.998c0,0.547 -0.452,1 -1,1l-5 0c-0.547,0 -1,-0.45 -1,-1l0 -7.998c0,-0.55 0.449,-1 1,-1z" stroke="black" stroke-width="1" stroke-linejoin="round" stroke-linecap="round" fill="none"/>
</svg>
<style>
.d3c-icon {
/*margin: 10px;*/
height: 16px;
}
.d3c-size-tiny .d3c-icon {
height: 8px !important;
}
.d3c-size-small .d3c-icon {
height: 12px !important;
}
.d3c-size-large .d3c-icon {
height: 24px !important;
}
.d3c-size-xlarge .d3c-icon {
height: 32px !important;
}
.d3c-size-xxlarge .d3c-icon {
height: 48px !important;
}
.d3c-size-xxxlarge .d3c-icon {
height: 64px !important;
}
</style>
<script type="application/x-go">
import (
"git.d3nexus.de/Dadido3/D3vugu-components/utils"
)
type LPaste struct{
AttrMap vugu.AttrMap
}
</script>