Source Code Perseverance of vsc-material-theme
Find a file
2020-01-14 22:24:56 +01:00
.github Create FUNDING.yml 2019-05-27 09:47:12 +02:00
.vscode Fix vscode tasks 2019-12-26 13:14:55 +01:00
assets unlock files 2018-04-20 20:07:36 +02:00
scripts Improce C++ syntax 2020-01-10 15:08:23 +01:00
src Fix/extension manager init (#442) 2020-01-13 12:01:28 +01:00
types Feat/generator 1 iteration (#397) 2019-12-23 15:54:32 +01:00
.editorconfig Feat/generator 1 iteration (#397) 2019-12-23 15:54:32 +01:00
.eslintrc Feat/generator 2 iteration (#398) 2019-12-23 17:34:01 +01:00
.gitignore Feat/generator 4 iteration (#400) 2019-12-26 11:30:46 +01:00
.npmrc unlock files 2018-04-20 20:07:36 +02:00
.nvmrc Update nvmrc 2019-12-23 18:52:18 +01:00
.travis.yml Refactor/linting - tslint-xo (#178) 2018-05-03 11:39:51 +02:00
.vscodeignore unlock files 2018-04-20 20:07:36 +02:00
.yarnrc unlock files 2018-04-20 20:07:36 +02:00
CODE_OF_CONDUCT.md Update CODE_OF_CONDUCT.md 2020-01-14 22:24:56 +01:00
CONTRIBUTING.md Feat/remove icons (#310) 2019-01-31 21:35:51 +01: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
material-theme.config.json Feat/generator finish (#405) 2020-01-06 12:53:05 +01:00
package.json v32.1 2020-01-14 21:52:28 +01:00
README.md Update readme 2020-01-11 00:10:01 +01:00
tsconfig.json Feat/generator 4 iteration (#400) 2019-12-26 11:30:46 +01:00
yarn.lock Improve variables highlight in python language 2020-01-11 10:45:57 +01:00

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 material theme

And pick the one by Mattia Astorino (Equinusocio) (me) as author.

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/material-theme/vsc-material-theme.git Equinusocio.vsc-material-theme

Activate theme

Launch Quick Open:

Type theme, choose Preferences: Color Theme, and select one of the Material Theme variants from the list. After activation, the theme will set the correct icon theme based on your active theme variant.

Set the accent color

Launch Quick Open:

Type material theme, 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"
                }
            }
        ]
    },
},

"workbench.colorCustomizations": {
	"[Material Theme VARIANT]": {
		"sideBar.background": "#ff0000",
	}
},
{
    // 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 © 2019 Mattia Astorino & Alessio Occhipinti