Giter Site home page Giter Site logo

plastic's Introduction

Plastic

A simple syntax and UI theme for Visual Studio Code.


v3 introduces 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 BE AWARE this theme does not currently support Semantic Highlighting and it is suggested you disable Semantic Highlighting in VSCode's settings.


Notable features

  • Dark UI elements for all-day coding.
  • Small colour palette to avoid visual overload.
  • Additional deprioritised-punctuation theme; concentrate on the content.

Screenshot

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

  • #5f6672 Shuttle Gray #5f6672 - Comments
  • #a9b2c3 Cadet Blue #a9b2c3 - Punctuation
  • #b57edc Lavender #b57edc - Functions
  • #e06c75 Sunglo #e06c75 - Keywords
  • #56b6c2 Fountain Blue #56b6c2 - Primitives
  • #61afef Cornflower Blue #61afef - Storage
  • #98c379 Olivine #98c379 - Strings
  • #e5c07b Harvest Gold #e5c07b - Tags
  • #d4d7d9 Iron #d4d7d9 - Variables
  • #d19a66 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 yarn to install dependencies, and yarn docs to serve the documentation page.

Use Microsoft's theme color reference for UI theming help.

You'll notice that the syntax is grouped by colour instead of scope. I find this much nicer to maintain.

Happy hacking :)

License

MIT

Development

The themes are created using a generator: src/build.js. The configuration can be found in the src/config-v*.yaml files.

Build

Install the dependencies using Yarn v1:

yarn

Then compile the theme files to the themes folder using:

yarn build

plastic's People

Contributors

will-stone avatar pkazmier avatar plul avatar kinghat avatar dependabot[bot] avatar lowmess avatar covertbert avatar pursuitofloot avatar ckudera avatar krokofant avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.