Skip to content

Commit

Permalink
markdown, scss, json improvements
Browse files Browse the repository at this point in the history
  • Loading branch information
josefaidt committed Mar 5, 2018
1 parent 9d51cde commit 1fdcea8
Show file tree
Hide file tree
Showing 6 changed files with 87 additions and 18 deletions.
2 changes: 1 addition & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ node_modules/
bower_components/
samples/
*.log

copy.sh
build/
dist/
.DS_Store
10 changes: 10 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,16 @@ All notable changes to the "rouge-theme" extension will be documented in this fi

## [Released]
---
## [1.3.4] - 2018-03-05
### Added
- syntax: Markdown - inline code rendered with punctuation color (bright green) for visibility

### Fixed
- syntax: better JSON property name support
- syntax: CSS property name support
- syntax: Markdown fenced code support
- syntax: Markdown - embedded JSON support

## [1.3.3] - 2018-02-23
### Changed
- editor: brightened hover widget background to match peek view results background
Expand Down
41 changes: 27 additions & 14 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
[![Version](https://vsmarketplacebadge.apphb.com/version/josef.rouge-theme.svg)](https://marketplace.visualstudio.com/items?itemName=josef.rouge-theme)

VSCode theme created for a dark, material feel with a flushed color palette, optimized for use with Operator Mono font.
Inspiration was drawn from Atom's Material Theme tweaked to my liking, and [loved-syntax](https://github.com/DanielPintilei/atom-loved-syntax) for Atom.
Inspiration was drawn from Atom's Material Theme and [loved-syntax](https://github.com/DanielPintilei/atom-loved-syntax) for Atom.

### Changelog
[CHANGELOG.MD](https://github.com/josefaidt/rouge-theme/blob/master/CHANGELOG.md)
Expand Down Expand Up @@ -31,28 +31,41 @@ Create an issue on the [repository](https://github.com/josefaidt/rouge-theme/iss
### Recommended Settings
I prefer to use the colorless version of [file-icons](https://marketplace.visualstudio.com/items?itemName=file-icons.file-icons) and the settings below. If you do not have Operator Mono installed, Fira Code works well also, though the italics are optimized for use with Operator Mono.


"workbench.iconTheme": "file-icons-colourless",
"editor.fontFamily": "Operator Mono, Consolas, 'Courier New', monospace"
```json
{
"workbench.iconTheme": "file-icons-colourless",
"editor.fontFamily": "Operator Mono, Consolas, 'Courier New', monospace"
}
```


### Options
#### Sidebar Headers
As of version [1.1.0](https://github.com/josefaidt/rouge-theme/blob/master/CHANGELOG.md#110---2017-10-11) the sidebar header colors ("Open Editors" and "Projects") have been flattened. If you preferred the Rouge colored headers, add the following to your `User Settings`

"workbench.colorCustomizations": {
"sideBarSectionHeader.background": "#c6797edf",
"sideBarSectionHeader.foreground": "#fff"
}
```json
"workbench.colorCustomizations": {
"sideBarSectionHeader.background": "#c6797edf",
"sideBarSectionHeader.foreground": "#fff"
}
```

![Screenshot](https://raw.githubusercontent.com/josefaidt/rouge-theme/master/img/screenshot04b.png)![Screenshot](https://raw.githubusercontent.com/josefaidt/rouge-theme/master/img/screenshot04a.png)

#### Activity Bar Icons
In version [1.3.3](https://github.com/josefaidt/rouge-theme/releases/tag/v1.3.3) the activity bar icons were re-colored to silver for better contrast amongst the icon badges. If you preferred the Rouge colored icons, please add the following to your `User Settings`
```json
"workbench.colorCustomizations": {
"activityBar.foreground": "#c6797e",
}
```
![Screenshotbadges1](https://raw.githubusercontent.com/josefaidt/rouge-theme/master/img/rouge-ed-badges-1_3_2.png)![Screenshotbadges2](https://raw.githubusercontent.com/josefaidt/rouge-theme/master/img/rouge-ed-badges-1_3_3.png)

### Supported Languages
- C#
- Java
- JavaScript
- JSX
- JavaScript (React/JSX)
- JSON
- HTML
- CSS, SCSS, LESS
Expand All @@ -63,8 +76,8 @@ As of version [1.1.0](https://github.com/josefaidt/rouge-theme/blob/master/CHANG
1. Ensure your copy of VSCode is above v1.15
2. Download/unzip contents of this project
3. Copy folder to your profile's extensions folder
- Windows: `C:\Users\<yourprofile>\.vscode\extensions`
- macOS: `~/.vscode/extensions`
- Windows: `C:\Users\<yourprofile>\.vscode\extensions`
- macOS: `~/.vscode/extensions`
4. Reload the VSCode window (`Command Palette` > `Reload Window`)
5. Select **Rouge** (`Command Palette` > `Preferences: Color Theme`)

Expand Down
Binary file added img/rouge-ed-badges-1_3_2.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added img/rouge-ed-badges-1_3_3.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
52 changes: 49 additions & 3 deletions themes/rouge-theme-syntax.json
Original file line number Diff line number Diff line change
Expand Up @@ -395,6 +395,16 @@
"foreground": "#A3B09A"
}
},
{
"name": "[CSS/SCSS] - Property List Keys",
"scope": [
"meta.property-list.scss",
"meta.property-list.css"
],
"settings": {
"foreground": "#bbb"
}
},
{
"name": "[SCSS/LESS] - Property Values",
"scope": [
Expand Down Expand Up @@ -523,19 +533,41 @@
"settings": {
"foreground": "#bbb"
}
},
{
"name": "[JSON] - Meta",
"scope": [
"meta.embedded.block.json"
],
"settings": {
"foreground": "#D0D6B5"
// "foreground": "#bbb"
}
},
{
"name": "[JSON] - Support",
"scope": "source.json support",
"scope": [
"source.json support",
"support.json"
],
"settings": {
"foreground": "#bbb"
}
},
{
"name": "[JSON] - Property Names",
"scope": [
"support.type.property-name.json"
],
"settings": {
"foreground": "#bbb"
}
},
{
"name": "[JSON] - String",
"scope": [
"source.json string",
"source.json punctuation.definition.string"
"source.json string.json",
"source.json punctuation.definition.string.json"
],
"settings": {
"foreground": "#A3B09A"
Expand Down Expand Up @@ -600,6 +632,20 @@
"foreground": "#D0D6B5"
}
},
{
"name": "[MARKDOWN] - Fenced Code",
"scope": "markup.fenced_code.block.markdown",
"settings": {
"foreground": "#bbb"
}
},
{
"name": "[MARKDOWN] - Inline Code",
"scope": "markup.inline.raw.string.markdown",
"settings": {
"foreground": "#D0D6B5"
}
},
{
"name": "[MARKDOWN] - Emphasis Bold",
"scope": "markup.bold.markdown",
Expand Down

0 comments on commit 1fdcea8

Please sign in to comment.