D3vugu-components/components/view/code-inline.vugu
David Vogel 114a7d893c Add input field and a lot of other fixes
- Add input field and general data binding
- Rename SymbolSlot to IconSlot
- Remove d3c-color-accent
- Update icons page
- Add input example page
- Update button to support highlighting
- Update navigation entry to support highlighting
- Add d3c-button-only-icon to button and let sidebar use that
- Use d3c-button-transparent in sidebar
- Add focus indicator to buttons
- Rename CSS color variables and change definition of some
- Let pagination use input:Button
- Add some padding to the inline code component
2023-05-25 15:59:13 +02:00

25 lines
556 B
Plaintext

<span vg-attr='utils.AttributesAppend{AttrMap: c.AttrMap, Classes: "d3c-1634910850 d3c-color-layer-1"}'><vg-comp expr="c.DefaultSlot"></vg-comp></span>
<style>
.d3c-1634910850 {
padding: 0 0.25em;
border-radius: 4px;
font-family: monospace;
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 CodeInline struct {
AttrMap vugu.AttrMap
DefaultSlot vugu.Builder
}
</script>