David Vogel
6fbc00655f
- Add example colors page - Store all theme colors in CSS variables - Add layer container component - Use accent color for active pagination page - Automatically use layer-1 color in sidebar, sidebar menu and code containers - Adjust tag padding - Add base color scheme/theme
39 lines
1.2 KiB
Plaintext
39 lines
1.2 KiB
Plaintext
<svg viewBox="0 0 16 16" vg-attr='utils.AttributesAppend{AttrMap: c.AttrMap, Classes: "d3c-icon d3-lineicon"}'>
|
|
<circle class="d3c-icon-stroke" cx="4.5" cy="13.5" r="2" stroke-width="1" stroke-linejoin="round" stroke-linecap="round" fill="none"/>
|
|
<circle class="d3c-icon-stroke" cx="11.5" cy="13.5" r="2" stroke-width="1" stroke-linejoin="round" stroke-linecap="round" fill="none"/>
|
|
<path class="d3c-icon-stroke" d="M5.549 11.797l2.452 -3.983m1.072 -1.743l3.427 -5.571" stroke-width="1" stroke-linejoin="round" stroke-linecap="round" fill="none"/>
|
|
<line class="d3c-icon-stroke" x1="10.452" y1="11.797" x2="3.5" y2= "0.5" stroke-width="1" stroke-linejoin="round" stroke-linecap="round" fill="none"/>
|
|
</svg>
|
|
|
|
<style>
|
|
.d3c-icon {
|
|
height: 1em;
|
|
}
|
|
|
|
.d3c-icon-stroke {
|
|
stroke: var(--d3c-color-text);
|
|
}
|
|
|
|
.d3c-icon-fill {
|
|
fill: var(--d3c-color-text);
|
|
}
|
|
|
|
.d3c-icon-use-color .d3c-icon-stroke {
|
|
stroke: var(--d3c-color-background);
|
|
}
|
|
|
|
.d3c-icon-use-color .d3c-icon-fill {
|
|
fill: var(--d3c-color-background);
|
|
}
|
|
</style>
|
|
|
|
<script type="application/x-go">
|
|
import (
|
|
"git.d3nexus.de/Dadido3/D3vugu-components/utils"
|
|
)
|
|
|
|
type LCut struct{
|
|
AttrMap vugu.AttrMap
|
|
}
|
|
</script>
|