theme-set

A simple package for managing a light and dark theme

evan-evone

5,873

1

0.2.1

MIT

GitHub

theme-set package

A simple package for managing a light and dark theme. Describe each theme with the appropriate key/value pairs, and then either activate a specific theme or toggle between the themes.

A screenshot of the package

Customization

All customization is done through the config.cson file. There are two objects that allow you to customize the themes used by theme-set: lightTheme and darkTheme. These can be edited as follows:

darkTheme:
  "key1": "val-1A"
  "key2": "val-2A"
  "key3": "val-3A"
  ...
lightTheme:
  "key1": "val-1B"
  "key2": "val-2B"
  "key3": "val-3B"
  ...

By default, these themes are:

darkTheme:
  "core.themes": [
    "one-dark-ui"
    "one-dark-syntax"
  ]
lightTheme:
  "core.themes": [
    "one-light-ui"
    "solarized-light-syntax"
  ]