D3vugu-components/components/view/code-inline.vugu

25 lines
556 B
Plaintext
Raw Permalink Normal View History

<span vg-attr='utils.AttributesAppend{AttrMap: c.AttrMap, Classes: "d3c-1634910850 d3c-color-layer-1"}'><vg-comp expr="c.DefaultSlot"></vg-comp></span>
2023-05-08 18:43:07 +00:00
<style>
.d3c-1634910850 {
padding: 0 0.25em;
2023-05-08 18:43:07 +00:00
border-radius: 4px;
font-family: monospace;
background-color: var(--d3c-color-background);
color: var(--d3c-color-text);
2023-05-08 18:43:07 +00:00
}
</style>
<script type="application/x-go">
import (
"git.d3nexus.de/Dadido3/D3vugu-components/utils"
"github.com/vugu/vugu"
)
type CodeInline struct {
AttrMap vugu.AttrMap
DefaultSlot vugu.Builder
}
</script>