Skip to content

Commit

Permalink
Merge pull request #2 from colinkautz/feature/1.2
Browse files Browse the repository at this point in the history
Feature/1.2
  • Loading branch information
colinkautz authored Jun 24, 2021
2 parents 2cbdf8c + 8361ae7 commit d1ea68b
Show file tree
Hide file tree
Showing 3 changed files with 130 additions and 54 deletions.
16 changes: 12 additions & 4 deletions Horizon.novaextension/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,15 @@
## Version 1.1
Adding/verifying support for the following:
## Version 1.2
JS: fixing keyword.self and escape characters

Adding/verifying support for the following:
Perl, SQL, TypeScript, YAML

Miscellaneous style fixes

---

## Version 1.1
Adding/verifying support for the following:
CoffeeScript, Diff, Haml, INI, Less, Lua

---
Expand All @@ -17,8 +26,7 @@ JS: fixing collection.array, comma, and semicolon colors

## Version 1.0

Initial release, with optimized syntax support for the following languages:

Initial release, with optimized syntax support for the following languages:
C# ¹, CSS, HTML, JavaScript, JSON, Markdown, PHP, Python, Ruby, SCSS, Vue ², XML

¹: requires C# extension by Gareth Redman
Expand Down
166 changes: 117 additions & 49 deletions Horizon.novaextension/Themes/horizon.css
Original file line number Diff line number Diff line change
Expand Up @@ -39,13 +39,13 @@ meta.textfield {
}

meta.textfield.highlighted {
background-color: #232530;
background-color: #2E303E;
border-color: #2E303E;
}

/* Document styles */
meta.document {
background-color: #1c1e26;
background-color: #1C1E26;
border-color: #2E303E;
}

Expand All @@ -63,13 +63,13 @@ meta.document.button.highlighted {
}

meta.document.textfield {
background-color: hsl(210, 5%, 10%);
border-color: hsl(210, 5%, 19%);
background-color: #1C1E26;
border-color: #2E303E;
}

meta.document.textfield.highlighted {
background-color: hsl(210, 5%, 10%);
border-color: hsl(210, 5%, 19%);
background-color: #2E303E;
border-color: #2E303E;
}

/* Text */
Expand Down Expand Up @@ -124,11 +124,11 @@ declaration {

bracket,
operator {
color: #bbb;
color: #BBB;
}

invalid {
background-color: hsl(355, 91%, 57%);
background-color: rgba(233, 86, 120, 0.6);
color: hsl(60, 33%, 96%);
}

Expand Down Expand Up @@ -184,13 +184,16 @@ string-template.value {
color: hsl(27, 100%, 64%);
}

regex,
regex {
color: rgba(240, 148, 131, 0.9);
}

regex.escaped {
color: hsl(40, 100%, 64%);
color: rgba(37, 176, 188, 0.9);
}

cdata {
color: #bbb;
color: #BBB;
}

/* Types */
Expand All @@ -208,7 +211,7 @@ definition.struct struct.name {
definition.property property.name,
definition.function function.name,
definition.method method.name {
color: #bbb;
color: #BBB;
}

/* Tags */
Expand All @@ -221,7 +224,7 @@ tag.framework {
}

tag.attribute.equals-sign {
color: #bbb;
color: #BBB;
}

tag.attribute.name {
Expand Down Expand Up @@ -264,7 +267,7 @@ style.string.single-quoted {
}

style.attribute.name {
color: #bbb;
color: #BBB;
}

style.value.number,
Expand All @@ -281,12 +284,16 @@ style.value.keyword.important {
color: rgba(184, 119, 219, 0.9);
}

/* CoffeeScript overrides */

/* Built-In Language Styles */


/* CoffeeScript */
coffeescript.operator.function {
color: rgba(184, 119, 219, 0.9);
}

/* CSS overrides */
/* CSS */
css.style.selector.global.operator,
css.style.media-feature.keyword {
color: rgba(233, 86, 120, 0.9);
Expand All @@ -297,10 +304,10 @@ css.style.media-query-list.keyword.media-type {
}

css.style.selector.operator {
color: #bbb;
color: #BBB;
}

/* Diff overrides */
/* Diff */
diff.change.add {
background-color: rgba(9, 247, 160, 0.1);
color: #27D796;
Expand All @@ -315,7 +322,7 @@ diff.processing.location {
color: rgba(184, 119, 219, 0.9);
}

/* Haml overrides */
/* Haml */
haml.element {
color: rgba(240, 148, 131, 0.9);
}
Expand All @@ -324,12 +331,12 @@ haml.element.tag {
color: rgba(233, 86, 120, 0.9);
}

/* INI overrides */
/* INI */
ini.section {
color: rgba(233, 86, 120, 0.9);
}

/* Markdown overrides */
/* Markdown */
markdown.markup.heading {
color: rgba(233, 86, 120, 0.9);
}
Expand Down Expand Up @@ -366,16 +373,12 @@ markdown.markup.italic.underscore {
color: rgba(37, 176, 188, 0.9);
}

/* JS overrides */
/* JS */
javascript.keyword,
javascript.key-expression {
color: rgba(184, 119, 219, 0.9);
}

javascript.string.regex {
color: rgba(240, 148, 131, 0.9);
}

javascript.key.string,
javascript.identifier.core.global {
color: rgba(250, 183, 149, 0.9);
Expand All @@ -393,31 +396,51 @@ javascript.identifier.method,
javascript.string-literal.inline-expression,
javascript.string.regex.escape,
javascript.identifier.function,
javascript.string.backtick-quoted.escape {
javascript.string.backtick-quoted.escape,
javascript.string.single-quoted.escape {
color: rgba(37, 176, 188, 0.9);
}

javascript.keyword.self {
font-style: italic;
color: rgba(250, 194, 154, 0.9);
}

javascript.identifier.type.class.name {
color: rgba(250, 194, 154, 0.9);
}

javascript.string.regex.delimiter {
color: rgba(184, 119, 219, 0.9);
}

javascript.colon,
javascript.comma,
javascript.semicolon {
color: #bbb;
color: #BBB;
}

/* JSON overrides */
/* JSON */
json.comma {
color: #bbb;
color: #BBB;
}

/* Lua overrides */
/* Lua */
lua.identifier.property {
color: rgba(233, 86, 120, 0.9);
}

/* PHP overrides */
/* Perl */
perl.identifier {
color: rgba(233, 86, 120, 0.9);
}

perl.identifier.function,
perl.keyword.function {
color: rgba(37, 186, 188, 0.9);
}

/* PHP */
php.definition.identifier.method.name {
color: rgba(37, 176, 188, 0.9);
}
Expand All @@ -437,7 +460,7 @@ php.type.identifier.name {
color: rgba(250, 194, 154, 0.9);
}

/* Python overrides */
/* Python */
python.keyword.self {
font-style: italic;
color: rgba(250, 194, 154, 0.9);
Expand All @@ -449,10 +472,10 @@ python.arguments {
}

python.separator {
color: #bbb;
color: #BBB;
}

/* Ruby overrides */
/* Ruby */
ruby.identifier.args {
font-style: italic;
color: rgba(233, 86, 120, 0.9);
Expand All @@ -466,7 +489,7 @@ ruby.identifier.type {
color: rgba(233, 86, 120, 0.9);
}

/* SCSS overrides */
/* SCSS */
scss.style.value.keyword.default {
color: rgba(184, 119, 219, 0.9);
}
Expand All @@ -476,31 +499,51 @@ scss.style.operator {
}

scss.style.selector.operator {
color: #bbb;
color: rgba(187, 187, 187, 0.8);
}

/* C# extension theming */
source.cs.keyword.modifier,
source.cs.keyword.other,
source.cs.variable.other {
/* SQL */
sql.identifier {
color: rgba(240, 148, 131, 0.9);
}

/* Typescript */
typescript.identifier {
color: rgba(233, 86, 120, 0.9);
}

typescript.identifier.method,
typescript.identifier.function {
color: rgba(37, 176, 188, 0.9);
}

typescript.identifier.type.interface.name,
typescript.identifier.type.core {
color: rgba(250, 194, 154, 0.9);
}

typescript.string.regex.delimiter {
color: rgba(184, 119, 219, 0.9);
}

source.cs.identifier.type,
source.cs.keyword.type {
typescript.keyword.self {
font-style: italic;
color: rgba(250, 194, 154, 0.9);
}

source.cs.keyword.operator {
color: #bbb;
/* YAML */
yaml.string.unquoted {
color: #BBB;
}

source.cs.entity.name.variable,
source.cs.entity.name.identifier.argument {
color: rgba(233, 86, 120, 0.9);
yaml.operator.literal {
color: rgba(37, 176, 188, 0.9);
}

/* Terminal */

/* Terminal styles */


terminal.black {
color: #1C1E26;
}
Expand Down Expand Up @@ -564,3 +607,28 @@ terminal.bright-yellow {
terminal.bright-white {
color: #FDF0ED;
}


/* Language Extension Styles */


/* C# */
source.cs.keyword.modifier,
source.cs.keyword.other,
source.cs.variable.other {
color: rgba(184, 119, 219, 0.9);
}

source.cs.identifier.type,
source.cs.keyword.type {
color: rgba(250, 194, 154, 0.9);
}

source.cs.keyword.operator {
color: #BBB;
}

source.cs.entity.name.variable,
source.cs.entity.name.identifier.argument {
color: rgba(233, 86, 120, 0.9);
}
2 changes: 1 addition & 1 deletion Horizon.novaextension/extension.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"name": "Horizon",
"organization": "Colin K.",
"description": "A port of Jonathan Olaleye's Horizon Theme from VS Code.",
"version": "1.1",
"version": "1.2",
"bugs": "https://github.com/colinkautz/horizon-theme-nova/issues",
"repository": "https://github.com/colinkautz/horizon-theme-nova",
"keywords": ["horizon","theme"],
Expand Down

0 comments on commit d1ea68b

Please sign in to comment.