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
25 lines
498 B
Plaintext
25 lines
498 B
Plaintext
<div vg-attr='utils.AttributesAppend{AttrMap: c.AttrMap, Classes: "d3c-1634593574"}'>
|
|
<vg-comp expr="c.DefaultSlot"></vg-comp>
|
|
</div>
|
|
|
|
<style>
|
|
.d3c-1634593574 {
|
|
margin: 1em;
|
|
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 Container struct {
|
|
AttrMap vugu.AttrMap
|
|
|
|
DefaultSlot vugu.Builder `vugu:"data"`
|
|
}
|
|
</script>
|