MinimalSCSS

Minimal template for writing Discord themes in SCSS.

View the Project on GitHub MiniDiscordThemes/MinimalSCSS

Minimal SCSS

Minimal template for writing Discord themes in SCSS.

License

This template is licensed under the MIT License.

Retaining the license is only required if you share or modify this to be used as a template by others. Your themes created using this template do not need to retain the license, and can use any license (or no license) as you wish.

Usage

Prerequisites

You will need the following installed:

  1. git
  2. pnpm

Setup

  1. With this repository as a template, create a new repository for your theme.
  2. Clone your repo to your computer.
  3. Run pnpm i to install the dependencies.

Theme editing

Write the theme files inside the scss directory.

Assets

Images and other assets to publish on GitHub Pages should be placed in the asset directory.

Publishing

When your repo is pushed to GitHub, the “Build and deploy CSS” workflow will run automatically. This creates a deploy branch containing the compressed CSS and any theme assets.

For example, for a theme with the following structure on the main branch:

(main)
├── scss
│   └── main.scss
└── asset
    └── img
        └── icon.png

This will be the output on the deploy branch:

(deploy)
├── main.css
└── asset
    └── img
        └── icon.png

To publish the output on GitHub Pages, simply go to the repository’s Settings > Pages, and select the deploy branch as the source.