@fylgja/gradient
v1.1.3
Published
Add gradient's with easy via the gradient utility class
Downloads
57
Readme
Fylgja - Gradient
Add gradient's with ease via the gradient utility class.
This component offers both the background and border versions, which you can modify to your needs.
Installation
npm install @fylgja/gradient
Then include the component in to your code via;
@import "@fylgja/gradient";
// Or via PostCSS import
@import "@fylgja/gradient";
@layer
support
If you need support for @layer
,
use the following import;
@use "@fylgja/gradient" with ($gradient-layer: "components");
// Or via native CSS import, also supported by PostCSS import
@import "@fylgja/gradient" layer("components");
How to use
For more information see the gradient docs on the Fylgja.dev.