attheme-js
A package for working with .attheme files in JavaScript. It fully supports the .attheme format.
Installing
npm i attheme-js
Usage
; ; console.logtheme.get`divider`; // { red: 0, green: 0, blue: 0, alpha: 255 }theme.set`checkbox`, ;console.logtheme.get`checkbox`; // { red: 255, green: 146, blue: 13, alpha: 7 } console.logtheme.getWallpaper; // Pretend there is a cats wallpaper here console.logtheme.toString`hex`; /*divider=#ff000000checkbox=#ffffffff WPSPretend there is a cats wallpaper hereWPE */
For the API documentation and tools attheme-js
provides out of the box, please see the documentation section on our Wiki.