make sure to npm install before running extension in docs

This commit is contained in:
Daniel Castillo 2020-05-17 15:37:21 +02:00
parent 01696102e0
commit ad3fab1072
No known key found for this signature in database
GPG Key ID: 49E8948E4AEF5C39
1 changed files with 5 additions and 5 deletions

View File

@ -14,13 +14,13 @@ To quickly test something, you can also override this (or any other) theme in yo
## Contribute
1. Clone and open this [repo](https://github.com/primer/github-vscode-theme) in VS Code
2. Press `F5` to open a new window with your extension loaded
3. Open `Code > Preferences > Color Theme` [`⌘k ⌘t`] and pick the "GitHub Light" or "GitHub Dark" theme
4. Run `npm install` to install the Primer CSS color reference and run `npm start` to run the converter.
4. Make changes to the [`/src/theme.js`](https://github.com/primer/github-vscode-theme/blob/master/src/theme.js) file.
2. Run `npm install` to install the Primer CSS color reference and run `npm start` to run the converter.
3. Press `F5` to open a new window with your extension loaded
4. Open `Code > Preferences > Color Theme` [`⌘k ⌘t`] and pick the "GitHub Light" or "GitHub Dark" theme
5. Make changes to the [`/src/theme.js`](https://github.com/primer/github-vscode-theme/blob/master/src/theme.js) file.
- **UI**: For all changes to the "outer UI", like (status bar, file navigation etc.), take a look at the [Theme Color](https://code.visualstudio.com/api/references/theme-color) reference.
- **Syntax**: For changes to the "code highlighting", examine the syntax scopes by invoking the [`Developer: Inspect Editor Tokens and Scopes`](https://code.visualstudio.com/api/language-extensions/syntax-highlight-guide#scope-inspector) command from the Command Palette (`Ctrl+Shift+P` or `Cmd+Shift+P` on Mac) in the Extension Development Host window.
5. Commit your changes and open a PR.
6. Commit your changes and open a PR.
Note: