D3vugu-components/icons/l-power-button.vugu
David Vogel 079b29a7fd Use em and rem for most sizes
- Removed d3c-size, elements now all scale by em
- Button text is now centered
- Button height is now fixed
2023-05-15 10:22:29 +02:00

21 lines
752 B
Plaintext

<svg viewBox="0 0 16 16" vg-attr='utils.AttributesAppend{AttrMap: c.AttrMap, Classes: "d3c-icon d3-lineicon"}'>
<line class="d3c-icon-stroke" x1="7.485" y1="0.5" x2="7.485" y2= "7.5" stroke="black" stroke-width="1" stroke-linejoin="round" stroke-linecap="round" fill="none"/>
<path class="d3c-icon-stroke" d="M4.545 2.157c-2.466,1.15 -4.042,3.624 -4.042,6.344 0,3.866 3.134,7 7,7 3.866,0 7,-3.134 7,-7 0,-2.72 -1.576,-5.194 -4.042,-6.344" stroke="black" stroke-width="1" stroke-linejoin="round" stroke-linecap="round" fill="none"/>
</svg>
<style>
.d3c-icon {
height: 1em;
}
</style>
<script type="application/x-go">
import (
"git.d3nexus.de/Dadido3/D3vugu-components/utils"
)
type LPowerButton struct{
AttrMap vugu.AttrMap
}
</script>