@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 } } }
*/