D3vugu-components/icons/l-full-screen.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
881 B
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="M0.5 9.5l0 6 6 0m9 -15l-15 15m9 -15l6 0 0 6" 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 LFullScreen struct{
AttrMap vugu.AttrMap
}
</script>