Skip to content

Commit

Permalink
minor editor changes, xml support
Browse files Browse the repository at this point in the history
  • Loading branch information
josefaidt committed Mar 14, 2018
1 parent b8dcaa5 commit b8e7c75
Show file tree
Hide file tree
Showing 3 changed files with 79 additions and 5 deletions.
11 changes: 11 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,17 @@ All notable changes to the "rouge-theme" extension will be documented in this fi

## [Released]
---
## [1.3.5] - 2018-03-13
### Added
- editor: *New* Notification Center
- editor: list focus background and foreground
- editor: focus border coloring to match hover border
- syntax: better XML support, styled like HTML
- symtax: JS typeof italicized

### Changed
- editor: debugging background: reduced alpha

## [1.3.4] - 2018-03-05
### Added
- syntax: Markdown - inline code rendered with punctuation color (bright green) for visibility
Expand Down
33 changes: 29 additions & 4 deletions themes/rouge-theme-editor.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
"type": "dark",
// "include": "./base-dark-vs.json",
"colors": {
"focusBorder": "#758095",
//
// activity bar
//
Expand Down Expand Up @@ -36,6 +37,10 @@
"editorCodeLens.foreground": "#758095",
"badge.background": "#a06468df",
"badge.foreground": "#fff",
// "editor.rangeHighlightBorder": "",
// "editor.rangeHighlightBackground": "",
// "editorWhitespace.foreground": "",

//
// brackets
//
Expand Down Expand Up @@ -136,8 +141,8 @@
"list.activeSelectionBackground": "#c6797edf",
"list.activeSelectionForeground": "#fff",
"list.dropBackground": "#44495580",
// "list.focusBackground": "#fff",
// "list.focusForeground": "",
"list.focusBackground": "#75809533",
"list.focusForeground": "#c6cad2",
"list.hoverBackground": "#44495580",
"list.hoverForeground": "#a7acb9",
"list.inactiveFocusBackground": "#44495580",
Expand Down Expand Up @@ -201,7 +206,7 @@
// "statusBar.background": "#c6797e",
"statusBar.background": "#172030",
"statusBar.foreground": "#c6cad2",
"statusBar.debuggingBackground": "#97a38f",
"statusBar.debuggingBackground": "#97a38fe6",
"statusBar.debuggingForeground": "#fff",
"statusBarItem.activeBackground": "#c6797e",
"statusBarItem.activeForeground": "#fff",
Expand All @@ -210,7 +215,6 @@
"statusBarItem.prominentHoverBackground": "#b18bb1",
// "statusBar.noFolderBackground": "#f7987e",
"statusBar.noFolderBackground": "#c6797edf",
"statusBar.noFolderForeground": "#fff",
//
// title bar
//
Expand All @@ -233,6 +237,17 @@
"notification.warningBackground": "#eabe9a",
"notification.warningForeground": "#1A2335",
//
// notification ^1.21
//
"notificationCenter.border": "#c6797e",
"notificationCenterHeader.foreground": "#A7ACB9",
"notificationCenterHeader.background": "#1F2A3F",
"notificationToast.border": "#758095",
"notifications.foreground": "#c6cad2",
"notifications.background": "#1B2638",
"notifications.border": "#c6797e",
"notificationLink.foreground": "#c6cad2",
//
// picker group
//
"list.highlightForeground": "#eabe9a",
Expand Down Expand Up @@ -279,5 +294,15 @@
"gitDecoration.untrackedResourceForeground": "#ADB9A4",
"gitDecoration.ignoredResourceForeground": "#6e94b9e6",
"gitDecoration.conflictingResourceForeground": "#d19498"
//
// text colors
//
// "textBlockQuote.background": "",
// "textBlockQuote.border": "",
// "textCodeBlock.background": "",
// "textLink.activeForeground": "",
// "textLink.foreground": "",
// "textPreformat.foreground": "",
// "textSeparator.foreground": ""
}
}
40 changes: 39 additions & 1 deletion themes/rouge-theme-syntax.json
Original file line number Diff line number Diff line change
Expand Up @@ -470,7 +470,37 @@
"settings": {
"foreground": "#bbb"
}
},
},
{
"name": "[XML] - Brackets for tags: < and >",
"scope": [
"punctuation.definition.tag.xml",
"punctuation.definition.tag.begin.xml",
"punctuation.definition.tag.end.xml",
// below is the fix for opening < on </path>
"meta.scope.between-tag-pair.xml"
],
"settings": {
"foreground": "#808080"
}
},
{
"name": "[XML] - Equals sign",
"scope": [
"meta.tag.xml",
"meta.tag.preprocessor.xml"
],
"settings": {
"foreground": "#bbb"
}
},
{
"name": "[XML] - Attributes",
"scope": "entity.other.attribute-name.localname.xml",
"settings": {
"fontStyle": "italic"
}
},
{
"name": "[JS/JSX] - React Tag Names",
"scope": [
Expand Down Expand Up @@ -535,6 +565,14 @@
}
},
{
"name": "[JS] - `Typeof` Operator",
"scope": "keyword.operator.expression.typeof.js",
"settings": {
"foreground": "#D0D6B5",
"fontStyle": "italic"
}
},
{
"name": "[JSON] - Meta",
"scope": [
"meta.embedded.block.json"
Expand Down

0 comments on commit b8e7c75

Please sign in to comment.