1.2.2 • Published 2 months ago

salt-bd-scss v1.2.2

Weekly downloads
-
License
MIT
Repository
github
Last release
2 months ago

Personal modification of Gibbu's bd-scss compiler, for BetterDiscord and Vencord themes.

Usage

Username is hardcoded. You probably want to use the original package with modifiable name. If not, then:

  1. Get and link this package locally.
git clone git@github.com:Saltssaumure/salt-bd-scss.git
cd salt-bd-scss
npm run build
npm link
cd "theme project location"
npm link salt-bd-scss
  1. Add scss-compile.config.js file in the root of your project folder with the following:
/** @type {import('bd-scss/lib/config').Config} */
export default {
    // Theme metadata
    meta: {
        name: MyTheme,               // Official name of the theme.
        scss: main,                  // Name of the base scss file.
        repo: mytheme-discord-theme, // Name of the theme repository.
        version: 1.0                 // Version number.
    };
    // Optional addons for the theme, if any exist.
    addons: [
        ["scss/stuff.scss", 'addons/stuff.css'], // Target, output.
    ];
}
  1. Commands for building theme in theme project folder:
bd-scss dev     # will build .theme.css to your BetterDiscord themes folder.
bd-scss dev:vc  # will build .theme.css to your Vencord themes folder.
bd-scss build   # will build .min.css and addons to project root folder.

License

See the LICENSE file for license rights and limitations (MIT).

1.2.2

2 months ago

1.2.0

6 months ago

1.2.1

6 months ago

1.1.0

9 months ago

1.0.0

1 year ago