1.0.8 • Published 6 years ago
simple-buttons v1.0.8
Simple Buttons
This is a simple web-component button built with Stencil.
Installation
npm i simple-buttons
After installing into your project, consult the Stencil docs for guides on how to use web components with your framework of choice.
Usage
<simple-button type="raised" color="primary">Click me</simple-button>
Type: basic, raised, outline, flat (default: basic)
Color: plain, primary, secondary, danger (default: plain)
To customize colors, define the following CSS variables in your application:
- --app-primary-color
- --app-secondary-color
- --app-danger-color
- --app-primary-text-color
- --app-secondary-text-color
- --app-danger-text-color