1.0.1 • Published 3 years ago

@canvacord/stylesheet v1.0.1

Weekly downloads
-
License
MIT
Repository
github
Last release
3 years ago

@canvacord/stylesheet

Stylesheet builder for canvacord.

Installation

$ npm i @canvacord/stylesheet

Example

const Stylesheet = require("@canvacord/stylesheet");
const stylesheet = new Stylesheet.Rank({ overwrite: true });

stylesheet.create({
    avatar: {
        rounded: true
    }
});

console.log(stylesheet.toJSON());

/*
{ name: 'RANK', styles: { avatar: { rounded: true } } }
*/