Source Code Perseverance of vsc-material-theme
Find a file
Mattia Astorino 9907cc8c67
Develop (#185)
* chore: Update meta and readme

* chore. Update README

* Refactor/linting - tslint-xo (#178)

* refactor(deps): added tslint, cleanup, and activationEvents modified

* refactor(lint): linting...

* refactor(changelog): changelo method refactor (should be tested)

* refactor(theme-icons):  linting and small refactor

* refactor(accents-setter): linting and small refactor

* chore(travis): added travis file

* fix(Lighter): Fix folders icon association

* chore: Clean test files

* fix(Icons): Add icon to .spec.ts files

* chore: Update git icon

* Update issue templates (#184)
2018-05-07 16:23:17 +02:00
.github Develop (#185) 2018-05-07 16:23:17 +02:00
.gulp Develop (#185) 2018-05-07 16:23:17 +02:00
.vscode Develop (#185) 2018-05-07 16:23:17 +02:00
assets unlock files 2018-04-20 20:07:36 +02:00
extensions Develop (#185) 2018-05-07 16:23:17 +02:00
src Develop (#185) 2018-05-07 16:23:17 +02:00
test Develop (#185) 2018-05-07 16:23:17 +02:00
typings unlock files 2018-04-20 20:07:36 +02:00
.babelrc unlock files 2018-04-20 20:07:36 +02:00
.eslintrc unlock files 2018-04-20 20:07:36 +02:00
.gitignore chore: Update gitignore 2018-04-20 21:31:15 +02:00
.npmrc unlock files 2018-04-20 20:07:36 +02:00
.travis.yml Develop (#185) 2018-05-07 16:23:17 +02:00
.vscodeignore unlock files 2018-04-20 20:07:36 +02:00
.yarnrc unlock files 2018-04-20 20:07:36 +02:00
CHANGELOG.md chore(release): 2.0.1 2018-04-23 23:47:19 +02:00
CODE_OF_CONDUCT.md unlock files 2018-04-20 20:07:36 +02:00
CONTRIBUTING.md unlock files 2018-04-20 20:07:36 +02:00
gulpfile.babel.ts Develop (#185) 2018-05-07 16:23:17 +02:00
iconlist.json unlock files 2018-04-20 20:07:36 +02:00
LICENSE unlock files 2018-04-20 20:07:36 +02:00
logo.png chore: Update logo 2018-04-22 23:00:29 +02:00
package.json Develop (#185) 2018-05-07 16:23:17 +02:00
README.md Develop (#185) 2018-05-07 16:23:17 +02:00
tsconfig.json Develop (#185) 2018-05-07 16:23:17 +02:00
tslint.json Develop (#185) 2018-05-07 16:23:17 +02:00
yarn.lock Develop (#185) 2018-05-07 16:23:17 +02:00

Twitter GitHub tag

The most epic theme meets Visual Studio Code. You can help by reporting issues here

Getting started

You can install this awesome theme through the Visual Studio Code Marketplace.

Installation

Launch Quick Open

Paste the following command and press Enter:

ext install vsc-material-theme

Packaged VSIX Extension

Download the latest .vsix release file from the GitHub repository and install it from the command line

code --install-extension vsc-material-theme-*.*.*.vsix

or from within VS Code by launching Quick Open and running the Install from VSIX... command.

GitHub Repository Clone

Change to your .vscode/extensions VS Code extensions directory. Depending on your platform it is located in the following folders:

  • Linux ~/.vscode/extensions
  • macOs ~/.vscode/extensions
  • Windows %USERPROFILE%\.vscode\extensions

Clone the Material Theme repository as Equinusocio.vsc-material-theme:

git clone https://github.com/equinusocio/vsc-material-theme.git Equinusocio.vsc-material-theme

Activate theme

Launch Quick Open,

Type theme and choose Preferences: Color Theme, then select one of the Material Theme variant from the list. After the activation the theme will set the correct icons theme for you, based on your picked theme variant.

Fix File Icons

If you notice that the folder icons does not match the material theme active variant you can fix it with just a command.

Launch Quick Open,

type material theme and select Material Theme: Fix file icons from the drop-down menu, this command will set the correct icon theme based on your active material theme variant.

Set the accent color

Launch Quick Open,

Type material theme and choose Material Theme: Set accent color and pick one color from the list.

Override theme colors

You can override the material theme ui and schemes colors by adding these theme-specific settings to your configuration. For advanced customisation please check the relative section on the vs code documentation

Color Scheme override

Basic example

"editor.tokenColorCustomizations": {
    "[Material Theme]": {
        "comments": "#229977"
    }
},

Advanced example

"editor.tokenColorCustomizations": {
    "[Material Theme VARIANT]": {
        "textMateRules": [
            {
                "scope": [
                    "punctuation.definition.comment",
                    "comment.block",
                    "comment.line",
                    "comment.block.documentation"
                ],
                "settings": {
                    "foreground": "#FF0000"
                }
            }
        ]
    },
},

UI Overrides

"workbench.colorCustomizations": {
    "[Material Theme]": {
        "sideBar.background": "#347890"
    },
}

Recommended settings for a better experience

{
    // Controls the font family.
    "editor.fontFamily": "Operator Mono",
    // Controls the line height. Use 0 to compute the lineHeight from the fontSize.
    "editor.lineHeight": 24,
    // Enables font ligatures
    "editor.fontLigatures": true,
    // Controls if file decorations should use badges.
    "explorer.decorations.badges": false
}

Official Portings

Thanks to the Material Theme community you can use is with other softwares, here the official portings:

Other resources

  • AppIcon: Download the official Material Theme app icon for Visual Studio code

Contributors

This project exists thanks to all the people who contribute. [Contribute].

Backers

Thank you to all our backers! 🙏 [Become a backer]

Sponsors

Support this project by becoming a sponsor. Your logo will show up here with a link to your website. [Become a sponsor]


Copyright © 2017 Mattia Astorino