Skip to content

Commit

Permalink
Updates to the theme after a long while
Browse files Browse the repository at this point in the history
  • Loading branch information
lancewilhelm committed Jun 29, 2024
1 parent 2fa6eb6 commit a235618
Show file tree
Hide file tree
Showing 8 changed files with 461 additions and 42 deletions.
10 changes: 10 additions & 0 deletions .vscode/settings.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
{
"json.schemas": [
{
"fileMatch": [
"**/*.json"
],
"url": "./schema.json"
}
]
}
6 changes: 6 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,12 @@

All notable changes to the "horizon-extended" extension will be documented in this file.

## [0.2.0]

- Added a new dark theme variant which removes the italics from the editor. This is in response to issue #8.
- Slightly modified the selection colors to make selections more visible.
- Added `string.unquoted` to the list of scopes that are colored green in the dark themes.

## [0.1.7]

- Fixed the ignored git file foreground color so they are actually visible. Response to issue #4.
Expand Down
4 changes: 3 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,8 @@ I love the color themes and warm tone of Horizon, but it was missing a couple th

Recommended Font: Fira Code w/ ligatures enabled

I only have the main dark theme and a light theme that is based primarily off of the highlighting colors from the dark theme. The light theme struggles with bracket colorizer 2 as the brackets are hard to see. Some customization may be needed for bracket colors. Also, the light theme is VERY colorful. If you are not ready to taste the rainbow then stay away from the light theme. A better readme and more features/themes will come as the theme is used and tested.
There is only the main theme and a light theme that is based primarily off of the highlighting colors from the dark theme. The light theme is an attempt at a light theme, but honestly the colors from the dark theme do not lend themselves to the light theme. This may be addressed in a future update.

**Enjoy!**

**This theme is sparsely maintained. I will try to address issues as they come up, but I am not actively developing this theme.*
13 changes: 9 additions & 4 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"name": "horizon-extended",
"displayName": "Horizon Extended Theme",
"description": "A dark theme based on the Horizon theme. This provides some much need additions included semantic highlighting.",
"version": "0.1.7",
"version": "0.2.0",
"publisher": "lancewilhelm",
"engines": {
"vscode": "^1.55.0"
Expand All @@ -14,7 +14,7 @@
"url": "https://lancewilhelm.com"
},
"repository": {
"url": "https://github.com/PlanetaryMotion/horizon-extended",
"url": "https://github.com/lancewilhelm/horizon-extended",
"type": "git"
},
"categories": [
Expand All @@ -32,12 +32,17 @@
{
"label": "Horizon Extended",
"uiTheme": "vs-dark",
"path": "./themes/Horizon Extended-color-theme.json"
"path": "./themes/original.json"
},
{
"label": "Horizon Extended Light",
"uiTheme": "vs",
"path": "./themes/Horizon Extended Light-color-theme.json"
"path": "./themes/light.json"
},
{
"label": "Horizon Extended - No Italics",
"uiTheme": "vs-dark",
"path": "./themes/original_no_italics.json"
}
]
}
Expand Down
34 changes: 34 additions & 0 deletions schema.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
{
"$schema": "http://json-schema.org/draft-07/schema#",
"type": "object",
"properties": {
"colors": {
"type": "object",
"patternProperties": {
".+": {
"type": "string",
"format": "color"
}
}
},
"tokenColors": {
"type": "array",
"items": {
"type": "object",
"properties": {
"settings": {
"type": "object",
"properties": {
"foreground": {
"type": "string",
"format": "color"
},
"background": {
"type": "string",
"format": "color"
}
}
}
}
}
}
File renamed without changes.
74 changes: 37 additions & 37 deletions themes/Horizon Extended-color-theme.json → themes/original.json
Original file line number Diff line number Diff line change
Expand Up @@ -57,8 +57,8 @@
"editorLineNumber.activeForeground": "#D5D8DA80",
"editorCursor.background": "#1C1E26",
"editorCursor.foreground": "#fe5e78",
"editor.selectionBackground": "#2E303EB3",
"editor.selectionHighlightBackground": "#6C6F934D",
"editor.selectionBackground": "#7d81a3b3",
"editor.selectionHighlightBackground": "#8f93bd4d",
"editor.wordHighlightBackground": "#6C6F9380",
"editor.wordHighlightStrongBackground": "#6C6F9380",
"editor.findMatchBackground": "#6C6F9380",
Expand Down Expand Up @@ -148,60 +148,60 @@
{
"name": "Variables",
"scope": "variable",
"settings": { "foreground": "#F09483E6" }
"settings": { "foreground": "#f09383" }
},
{
"name": "Constants",
"scope": "constant",
"settings": { "foreground": "#F09483E6" }
"settings": { "foreground": "#f09383" }
},
{
"name": "Escape characters",
"scope": "constant.character.escape",
"settings": { "foreground": "#25B0BCE6" }
"settings": { "foreground": "#25afbc" }
},
{
"name": "Named entities",
"scope": "entity.name",
"settings": { "foreground": "#ffd486e6" }
"settings": { "foreground": "#ffd586" }
},
{
"name": "Function names",
"scope": "entity.name.function",
"settings": { "foreground": "#25B0BCE6" }
"settings": { "foreground": "#25afbc" }
},
{
"name": "Tags",
"scope": "entity.name.tag",
"settings": { "foreground": "#E95678E6"}
"settings": { "foreground": "#e95678"}
},
{
"name": "Static types",
"scope": ["entity.name.type", "storage.type.cs"],
"settings": { "foreground": "#ffd486e6" }
"settings": { "foreground": "#ffd586" }
},
{
"name": "Tag attributes",
"scope": "entity.other.attribute-name",
"settings": { "foreground": "#F09483E6", "fontStyle": "italic" }
"settings": { "foreground": "#f09383", "fontStyle": "italic" }
},
{
"name": "Inherited classes",
"scope": "entity.other.inherited-class",
"settings": { "foreground": "#ffd486e6" }
"settings": { "foreground": "#ffd586" }
},
{
"name": "CSS ID selectors",
"scope": "entity.other.attribute-name.id",
"settings": { "foreground": "#25B0BCE6" }
"settings": { "foreground": "#25afbc" }
},
{
"name": "Pseudo CSS",
"scope": [
"entity.other.attribute-name.pseudo-element",
"entity.other.attribute-name.pseudo-class"
],
"settings": { "foreground": "#FAB795E6" }
"settings": { "foreground": "#fab795" }
},
{
"name": "Variable names",
Expand All @@ -211,7 +211,7 @@
{
"name": "Constant",
"scope": ["variable.other.constant"],
"settings": { "foreground": "#ffd486e6" }
"settings": { "foreground": "#ffd586" }
},
{
"name": "Keywords",
Expand All @@ -231,82 +231,82 @@
"keyword.operator.logical",
"keyword.operator.delete"
],
"settings": { "foreground": "#B877DBE6" }
"settings": { "foreground": "#b877db" }
},
{
"name": "Units",
"scope": "keyword.other.unit",
"settings": { "foreground": "#F09483E6" }
"settings": { "foreground": "#f09383" }
},
{
"name": "Markup quotes",
"scope": "markup.quote",
"settings": { "foreground": "#FAB795B3", "fontStyle": "italic" }
"settings": { "foreground": "#fab795", "fontStyle": "italic" }
},
{
"name": "Markup headings",
"scope": ["markup.heading", "entity.name.section"],
"settings": { "foreground": "#E95678E6" }
"settings": { "foreground": "#e95678" }
},
{
"name": "Markup bold",
"scope": "markup.bold",
"settings": { "foreground": "#B877DBE6", "fontStyle": "bold" }
"settings": { "foreground": "#b877db", "fontStyle": "bold" }
},
{
"name": "Markup italics",
"scope": "markup.italic",
"settings": { "foreground": "#25B0BCE6", "fontStyle": "italic" }
"settings": { "foreground": "#25afbc", "fontStyle": "italic" }
},
{
"name": "Markup code",
"scope": ["markup.inline.raw", "markup.fenced_code.block"],
"settings": { "foreground": "#F09483E6" }
"settings": { "foreground": "#f09383" }
},
{
"name": "Markup links",
"scope": "markup.underline.link",
"settings": { "foreground": "#FAB795E6" }
"settings": { "foreground": "#fab795" }
},
{
"name": "Storage keywords",
"scope": "storage",
"settings": { "foreground": "#B877DBE6", "fontStyle": "italic" }
"settings": { "foreground": "#b877db", "fontStyle": "italic" }
},
{
"name": "Strings",
"scope": ["string.quoted", "string.template"],
"settings": { "foreground": "#9ad479e6" }
"scope": ["string.quoted", "string.template", "string.unquoted"],
"settings": { "foreground": "#9ad479" }
},
{
"name": "Regex",
"scope": "string.regexp",
"settings": { "foreground": "#F09483E6" }
"settings": { "foreground": "#f09383" }
},
{
"name": "Markup link descriptions",
"scope": "string.other.link",
"settings": { "foreground": "#F09483E6" }
"settings": { "foreground": "#f09383" }
},
{
"name": "Provided (support) values",
"scope": "support",
"settings": { "foreground": "#FAC29AE6" }
"settings": { "foreground": "#fac29a" }
},
{
"name": "Provided functions",
"scope": "support.function",
"settings": { "foreground": "#25B0BCE6" }
"settings": { "foreground": "#25afbc" }
},
{
"name": "Provided variables",
"scope": "support.variable",
"settings": { "foreground": "#FAC29AE6" }
"settings": { "foreground": "#fac29a" }
},
{
"name": "Object/JSON property names",
"scope": ["support.type.property-name", "meta.object-literal.key"],
"settings": { "foreground": "#E95678E6" }
"settings": { "foreground": "#e95678" }
},
{
"name": "CSS property names",
Expand All @@ -316,7 +316,7 @@
{
"name": "Language variables",
"scope": ["variable.language"],
"settings": { "foreground": "#FAC29AE6", "fontStyle": "italic" }
"settings": { "foreground": "#fac29a", "fontStyle": "italic" }
},
{
"name": "Parameters",
Expand All @@ -331,7 +331,7 @@
{
"name": "Tag brackets",
"scope": "punctuation.definition.tag",
"settings": { "foreground": "#E95678B3" }
"settings": { "foreground": "#e95678" }
},
{
"name": "Key/value separators",
Expand All @@ -341,22 +341,22 @@
{
"name": "Template expressions",
"scope": "punctuation.definition.template-expression",
"settings": { "foreground": "#B877DBE6" }
"settings": { "foreground": "#b877db" }
},
{
"name": "Embedded section punctuation",
"scope": "punctuation.section.embedded",
"settings": { "foreground": "#B877DBE6" }
"settings": { "foreground": "#b877db" }
},
{
"name": "Markup list punctuation",
"scope": "punctuation.definition.list",
"settings": { "foreground": "#F09483E6" }
"settings": { "foreground": "#f09383" }
},
{
"name": "Python Function Call",
"scope": "meta.function-call.generic.python",
"settings": { "foreground": "#25B0BCE6" }
"settings": { "foreground": "#25afbc" }
}
]
}
Loading

0 comments on commit a235618

Please sign in to comment.