/wagaku-theme

Primary LanguageJavaScriptMIT LicenseMIT

Screenshots

C++

cpp.png

Python

py.png

Environment



Theme Wagaku

A minimally colorful theme with an oriental twist.

Build

To build from source, clone this repository and run under root directory:

  1. node script/build.js
  2. node script/package.js

which outputs a vsix package under vsix/.

Color

Wagaku features:

  • Neutral/warm color scheme
  • Moderate contrast
  • Minimal semantic colors

and is designed for:

  • blue-light cutting
  • use with low screen brightness

Modification

There are custom configurations in Settings for overriding colors provided by the theme.

Operators

  • Theme Wagaku: Operator Color: (Non-overloaded) operators
  • Theme Wagaku: Overloaded Operator Color: Overloaded operators

Colored as punctuation:

operator_1.png

Non-overloaded operators colored as keywords; Overloaded operators colored as functions (configurations are independent for the two):

operator_2.png

Manual Modification

The custom configurations modifies the settings.json file for you. For modifications other than those provided, you can always edit settings.json manually.

  • To change the color of overloaded operators to magenta #FF00FF:
// settings.json

"editor.tokenColorCustomizations": {
    "[Wagaku Midnight]": {            
        "textMateRules": [

            // Paste here

            {
                "name": "Overloaded Operator",
                "scope": [
                    "entity.name.function.operator"
                ],
                "settings": {
                    "foreground": "#FF00FF" // Desired color: magenta
                }
            }
        ]
    }
},

Refer to the vscode docs for more info, or select scopes from theme/wagaku-midnight-color-theme.json.

Language

Theme Wagaku began as (and probably will remain to be in the near future) a side project mainly for my own C++ programming. Coverage for other languages is not a priority for me right now. Sorry about that.

Copyright

Code

Essential parts of this project is adapted from existing theme Dracula and Material Theme. Those source files are headed with the appropriate notices.

Original Art

This theme is inspired by the album art of Yoen Waso Emaki (妖艶和奏絵巻)