D3vugu-components/components/view/tag.vugu
David Vogel 6fbc00655f Rework colors and theming
- 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
2023-05-18 13:55:48 +02:00

24 lines
508 B
Plaintext

<span vg-attr='utils.AttributesAppend{AttrMap: c.AttrMap, Classes: "d3c-1684347260"}'><vg-comp expr="c.DefaultSlot"></vg-comp></span>
<style>
.d3c-1684347260 {
padding: 0.1em 0.5em;
border-radius: 4px;
background-color: var(--d3c-color-background);
color: var(--d3c-color-text);
}
</style>
<script type="application/x-go">
import (
"git.d3nexus.de/Dadido3/D3vugu-components/utils"
"github.com/vugu/vugu"
)
type Tag struct {
AttrMap vugu.AttrMap
DefaultSlot vugu.Builder
}
</script>