D3vugu-components/page-icons.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

31 lines
1.1 KiB
Plaintext

<div>
<layout:Container>
<h1>Icons</h1>
<p>Icons are built into the component library as SVG objects. You can scale them by defining their CSS <view:CodeInline>font-size</view:CodeInline>, or recolor them with the <view:CodeInline>d3c-color-*</view:CodeInline> CSS classes. See the colors page for more info about that.</p>
<view:Code>
<pre vg-content='"<icons:LDocument></icons:LDocument>"' style="margin: 0;"></pre>
</view:Code>
<icons:LDocument></icons:LDocument>
<view:Code>
<pre vg-content='"<icons:LDocument style=\"font-size: 4em;\"></icons:LDocument>"' style="margin: 0;"></pre>
</view:Code>
<icons:LDocument style="font-size: 4em;"></icons:LDocument>
<h2>List of icons</h2>
<main:ComponentIcons style="font-size: 2em;"></main:ComponentIcons>
</layout:Container>
</div>
<style>
</style>
<script type="application/x-go">
import (
"git.d3nexus.de/Dadido3/D3vugu-components/components/layout"
"git.d3nexus.de/Dadido3/D3vugu-components/components/view"
"git.d3nexus.de/Dadido3/D3vugu-components/icons"
)
type PageIcons struct {}
</script>