D3vugu-components/components/view/code.vugu
David Vogel c0f61b57ce Change colors and design
- Make sidebar gray
- Give buttons a line border
- Add active selector to buttons
- Change some margins
- Automatically make buttons transparent when they are in a sidebar
2023-05-15 11:24:25 +02:00

20 lines
412 B
Plaintext

<div vg-attr='utils.AttributesAppend{AttrMap: c.AttrMap, Classes: "d3c-1683741854"}'>
<vg-comp expr="c.DefaultSlot"></vg-comp>
</div>
<style>
.d3c-1683741854 {
border-radius: 4px;
padding: 0.5em;
margin: 1em 0;
font-family: monospace;
background-color: RGBA(127, 127, 127, 0.1);
}
</style>
<script type="application/x-go">
import (
"git.d3nexus.de/Dadido3/D3vugu-components/utils"
)
</script>