D3vugu-components/icons/l-more.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

42 lines
956 B
Plaintext

<svg viewBox="0 0 16 16" vg-attr='utils.AttributesAppend{AttrMap: c.AttrMap, Classes: "d3c-icon d3-lineicon"}'>
<circle class="d3c-icon-fill" cx="1.5" cy="8.5" r="1" stroke="none" fill="black"/>
<circle class="d3c-icon-fill" cx="7.5" cy="8.5" r="1" stroke="none" fill="black"/>
<circle class="d3c-icon-fill" cx="13.5" cy="8.5" r="1" stroke="none" fill="black"/>
</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 LMore struct{
AttrMap vugu.AttrMap
}
</script>