will-stone / Plastic
Programming Languages
Labels
Projects that are alternatives of or similar to Plastic
Plastic
A simple syntax and UI theme for Visual Studio Code.
v3 introduced a new syntax colour: lavender for functions. This helps tone-down the amount of whiskey colour, which is now mainly used for JSX props. The scopes have also been simplified further, separating them into clear types. However, worry not if you preferred v2, this can still be found in the theme-picker under "Plastic Legacy v2".
Please note that v2 is no longer maintained.
Notable features
- Dark UI elements for all-day coding.
- Small colour palette to avoid visual overload.
- Additional deprioritised-punctuation theme; concentrate on the content.
Colours
Inspired by Atom's One Dark theme, yet simpler and darker.
Colour names provided by Chirag Mehta's fantastic Name That Colour website.
Syntax
- Shuttle Gray #5f6672 - Comments
- Cadet Blue #a9b2c3 - Punctuation
- Lavender #b57edc - Functions
- Sunglo #e06c75 - Keywords
- Fountain Blue #56b6c2 - Primitives
- Cornflower Blue #61afef - Storage
- Olivine #98c379 - Strings
- Harvest Gold #e5c07b - Tags
- Iron #d4d7d9 - Variables
- Whiskey #d19a66 - JSX props
Contribute
Themes can always be improved and tweaked so please feel free to log issues and
send pull requests. However, please keep in mind that this theme strives to
remain simple and language agnostic; for example, please do not ask for
blah.blah.php
or blah.blah.c
scopes to be added. Also, and this is purely
personal, I'm a JavaScript developer and therefore anything that alters the
colours for the JavaScript language will receive much more scrutiny before being
merged in.
Clone the repository to .vscode/extenstions/
(remember to remove any other
installed versions of Plastic), run npm i
to install dependencies.
Use Microsoft's theme color reference for UI theming help.
License
MIT
Development
The themes are created using a generator: src/index.js
. The configuration can
be found in the src/theme.js
files.
Build
Install the dependencies using npm v7+:
npm i
Then compile the theme files to the themes
folder using:
npm run build