sircus-components-button-paint

css modifier paint module for Sircus Button component.

Usage no npm install needed!

<script type="module">
  import sircusComponentsButtonPaint from 'https://cdn.skypack.dev/sircus-components-button-paint';
</script>

README

sircus-components-button-paint

npm version

Dependencies

Installation

npm:

$ npm install sircus-components-button-paint sircus-global-property sircus-components-button

Usage

cssnext:

input.css

@import "sircus-components-button";
@import "sircus-components-button-paint";
@import "sircus-global-property";

sass:

input.scss

@import "node_modules/sircus-global-property/converted";
@import "node_modules/sircus-components-button/converted";
@import "node_modules/sircus-components-button-paint/converted";

html

<button class="Button Button--paint">...</button>
<a class="Button Button--paint" href="#">...</a>

<button class="Button Button--paint Button--primary">...</button>
<a class="Button Button--paint Button--primary" href="#">...</a>

Contributing

We Need Your Help!

License

Released under the MIT license.