0.1.0 • Published 10 years ago
vcl-token v0.1.0
VCL token
A selectable item from a list of possible items.
Features
- Optional button to remove the token.
- Support for selected and highlighted states.
- A container to get a gaps relative to container's border right.
Usage
A button may be embedded to offer a control to remove the token.
A selected and highlighted state is supported.
Classes
vclTokenvclTokenContainer: Container for tokens to get proper paddings.vclTokenLabel
Modifiers
vclSelectedvclHighlighted
Variables
--token-bg-color--token-border-color--token-border-hover-color--token-border-selected-color--token-bg-selected-color--token-selected-color--token-border-highlighted-color--token-bg-highlighted-color--token-highlighted-color--token-color
Demo
example.html on GH-pages.
0.1.0
10 years ago