Skip to content

Commit

Permalink
Refine color scheme for different languages
Browse files Browse the repository at this point in the history
Refine color scheme for different languages

Details
=======

- Refine Javascript spefic color scheme
- Refine Python specific color scheme
- Refine PHP specific color scheme
- Refine Bash specific color scheme
- Refine Sass specific color scheme

Co-authored-by: Roberto Mauro <[email protected]>
  • Loading branch information
erremauro and Roberto Mauro authored Jun 6, 2021
1 parent e342447 commit b7cb2e6
Show file tree
Hide file tree
Showing 9 changed files with 204 additions and 48 deletions.
3 changes: 2 additions & 1 deletion .gitattributes
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,9 @@
.gitattributes export-ignore
.editorconfig export-ignore
package.json export-ignore
yarn.lock export-ignore
src/ export-ignore
scripts/ export-ignore
scripts/ export-ignore
.gitignore merge=ours
.gitattributes merge=ours

16 changes: 13 additions & 3 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,12 +7,21 @@ This change log adheres to standards from [Keep a CHANGELOG].
[Semantic Versioning]: http://semver.org/
[Keep a CHANGELOG]: http://keepachangelog.com

## [1.2.4] 2021-06-07

### :nail_care: Polish
* Refine Javascript spefic color scheme
* Refine Python specific color scheme
* Refine PHP specific color scheme
* Refine Bash specific color scheme
* Refine Sass specific color scheme

## [1.2.3] 2021-06-04

### Fix
### :bug: BugFix
* Fix an issue with the graphic resolution that showed some artifacts on windows.

### Polish
### :nail_care: Polish
* Refine the color scheme.
* Update the tab close icon.

Expand Down Expand Up @@ -60,11 +69,12 @@ This change log adheres to standards from [Keep a CHANGELOG].
* Add Scrollbars (Whoa, magical!)
* Support for 'Skins' plugin.

[1.2.4]: https://github.com/erremauro/TwoDark/compare/v1.2.3...v1.2.4
[1.2.3]: https://github.com/erremauro/TwoDark/compare/v1.2.2...v1.2.3
[1.2.2]: https://github.com/erremauro/TwoDark/compare/v1.2.1...v1.2.2
[1.2.1]: https://github.com/erremauro/TwoDark/compare/v1.2.0...v1.2.1
[1.2.0]: https://github.com/erremauro/TwoDark/compare/v1.1.2...v1.2.0
[1.1.2]: https://github.com/erremauro/TwoDark/compare/v1.1.1...v1.1.2
[1.1.1]: https://github.com/erremauro/TwoDark/compare/v1.1.0...v1.1.1
[1.1.0]: https://github.com/erremauro/TwoDark/compare/v1.0.0...v1.1.0
[1.0.0]: https://github.com/erremauro/TwoDark/releases/tag/v1.0.0

2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# TwoDark

Atom's OneDark-UI inspired theme for [Sublime Text][3].
Atom's OneDark inspired theme for [Sublime Text][3].

## Why?

Expand Down
22 changes: 11 additions & 11 deletions TwoDark.skins
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
{
"TwoDark - Default":
{
"Preferences":
{
"color_scheme": "Packages/Theme - TwoDark/TwoDark.sublime-color-scheme",
"theme": "TwoDark.sublime-theme",
"draw_shadows": false,
"highlight_modified_tabs": true,
"caret_extra_width": 1
}
}
"TwoDark - Default": {
"Preferences": {
"theme": "TwoDark.sublime-theme",
"color_scheme": "Packages/Theme - TwoDark/TwoDark.sublime-color-scheme",
"draw_shadows": false,
"highlight_modified_tabs": true,
"caret_extra_width": 1,
"caret_style": "smooth",
"highlight_line": true
}
}
}
126 changes: 98 additions & 28 deletions TwoDark.sublime-color-scheme
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
"blue": "hsl(210, 73%, 68%)",
"dark_blue": "hsl(222, 29%, 30%)",
"cyan": "hsl(189, 39%, 59%)",
"yellow": "hsl(40, 94%, 68%)",
"yellow": "hsl(40, 59%, 70%)",
"green": "hsl(90, 34%, 63%)",
"mocha": "hsl(55, 5%, 43%)"
},
Expand Down Expand Up @@ -59,7 +59,7 @@
},
{
"name": "Comment",
"scope": "comment, punctuation.definition.comment",
"scope": "comment, punctuation.definition.comment, entity.other.attribute-name.documentation",
"foreground": "var(light_grey)",
"font_style": "italic"
},
Expand Down Expand Up @@ -88,6 +88,11 @@
"scope": "variable.member",
"foreground": "var(red)"
},
{
"name": "Language Variable",
"scope": "variable.language",
"foreground": "var(red)"
},
{
"name": "Function",
"scope": "entity.name.function, meta.require, support.function, support.macro",
Expand Down Expand Up @@ -126,7 +131,7 @@
{
"name": "Support",
"scope": "support.function",
"foreground": "var(cyan)"
"foreground": "var(blue)"
},
{
"name": "String",
Expand Down Expand Up @@ -310,55 +315,120 @@
"background": "var(mocha)",
"foreground": "var(darker_grey)"
},
// Javascript specific color scheme
{
"name": "Javascript Dollar",
"scope": "variable.other.dollar.only.js, variable.other.object.dollar.only.js, variable.type.dollar.only.js, support.class.dollar.only.js",
"foreground": "var(blue)"
},
{
"name": "Python logical keyword",
"scope": "source.python keyword.operator.logical.python",
"name": "Javascript Constant",
"scope": "support.constant.builtin",
"foreground": "var(orange)"
},
{
"name": "Node Constant",
"scope": "support.constant.node.js",
"foreground": "var(red)"
},
{
"name": "Javascript Builtin Function",
"scope": "support.function.dom, support.function.node",
"foreground": "var(cyan)"
},
// Python specific color scheme
{
"name": "Python Builtin Function",
"scope": "support.type.python, support.function.builtin.python",
"foreground": "var(cyan)"
},
{
"name": "Python Function Call",
"scope": "meta.function-call.python",
"foreground": "var(white)"
},
{
"name": "Python Function Brackets",
"scope": "meta.function.parameters.python punctuation.section.parameters.begin.python, meta.function.parameters.python punctuation.section.parameters.end.python",
"foreground": "var(white)"
},
{
"name": "Python Meta Decorator",
"scope": "meta.annotation.python",
"foreground": "var(blue)"
},
// PHP specific color scheme
{
"name": "PHP Variable Dollar",
"scope": "punctuation.definition.variable.php",
"foreground": "var(white)"
},
{
"name": "PHP Arrow Accessor",
"scope": "punctuation.accessor.arrow.php",
"foreground": "var(pink)"
},
{
"name": "Python function parameter",
"scope": "meta.function-call.python, meta.function.parameters.python, variable.parameter.function.python",
"foreground": "var(orange)"
"name": "PHP Variable",
"scope": "source.php variable",
"foreground": "var(red)"
},
{
"name": "Python class begin",
"scope": "source.python meta.class.python punctuation.definition.inheritance.begin.python",
"foreground": "var(orange)"
"name": "PHP Namespace Path",
"scope": "meta.namespace.php meta.path.php",
"foreground": "var(yellow)"
},
{
"name": "Python class end",
"scope": "source.python meta.class.python punctuation.definition.inheritance.end.python",
"foreground": "var(orange)"
"name": "PHP Namespace Path Separator",
"scope": "meta.path.php punctuation.separator.namespace.php",
"foreground": "var(white)"
},
// Bash specific color scheme
{
"name": "Javascript meta constant",
"scope": "source.js meta.function.js support.constant.js",
"foreground": "var(orange)"
"name": "Bash Variable",
"scope": "variable.other.readwrite.shell",
"foreground": "var(red)"
},
{
"name": "Laravel Blade Punctuation Begin",
"scope": "text.blade punctuation.section.embedded.begin.blade, text.blade punctuation.section.embedded.end.blade",
"name": "Shebang constant",
"scope": "comment.line.shebang.shell constant.language.shebang.shell",
"foreground": "var(light_grey)"
},
{
"name": "Shell Double Bracket",
"scope": "support.function.double-brace.begin.shell, support.function.double-brace.end.shell, support.function.test.begin.shell, support.function.test.end.shell",
"foreground": "var(white)"
},
{
"name": "Shell Function",
"scope": "support.function.echo.shell, support.function.set.shell",
"foreground": "var(cyan)"
},
{
"name": "Laravel Blade Tag",
"scope": "text.html.blade entity.name.tag.blade",
"foreground": "var(green)"
"name": "Shell Tilde",
"scope": "variable.language.tilde.shell",
"foreground": "var(white)"
},
// SASS Specific syntax
{
"name": "Laravel Blade @",
"scope": "text.html.blade constant.other.inline-data.html",
"foreground": "var(pink)"
"name": "Sass Property Name",
"scope": "support.type.property-name.css",
"foreground": "var(white)"
},
{
"name": "Laravel Blade @",
"scope": "custom.compiler.blade.php support.function",
"foreground": "var(pink)"
"name": "Sass Variable",
"scope": "variable.declaration.sass, variable.other.sass",
"foreground": "var(red)"
},
{
"name": "Sass Selector",
"scope": "meta.selector.css",
"foreground": "var(orange)"
},
{
"name": "Sass Ampersand",
"scope": "keyword.operator.ampersand.sass",
"foreground": "var(red)"
}
]
}
5 changes: 3 additions & 2 deletions Widget - TwoDark.sublime-settings
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
{
"color_scheme": "Packages/Theme - TwoDark/Widget - TwoDark.stTheme",
"draw_shadows": false,
"caret_extra_width": 1,
"highlight_modified_tabs": true,
"caret_extra_width": 1,
"caret_style": "smooth",
"highlight_line": true
}

1 change: 1 addition & 0 deletions messages.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,4 +7,5 @@
"1.2.1": "messages/1.2.1.txt",
"1.2.2": "messages/1.2.2.txt",
"1.2.3": "messages/1.2.3.txt",
"1.2.4": "messages/1.2.4.txt",
}
73 changes: 73 additions & 0 deletions messages/1.2.4.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,73 @@
TwoDark v1.2.2 is here!

This version migrate to `sublime-color-scheme` format! Head over to your
preferences and make the following changes:

{
"theme": "TwoDark.sublime-theme",
"color_scheme": "Packages/Theme - TwoDark/TwoDark.sublime-color-scheme",
"draw_shadows": false,
"highlight_modified_tabs": true,
"caret_extra_width": 1,
"caret_style": "smooth",
"highlight_line": true
}

TwoDark Changelog
==================

## [1.2.4] 2021-06-07

### Polish
* Refine Javascript spefic color scheme
* Refine Python specific color scheme
* Refine PHP specific color scheme
* Refine Bash specific color scheme
* Refine Sass specific color scheme

## [1.2.3] 2021-06-04

### Fix
* Fix an issue with the graphic resolution that showed some artifacts on windows.

### Polish
* Refine the color scheme.
* Update the tab close icon.

## [1.2.2] 2021-06-03

### Fix
* Fix laravel blade template syntax

## [1.2.1] 2021-06-03

### Enhancement
* All rules are now updated to `sublime-color-scheme`.
* Slightly lighten minimap color.

### Internal
* Update installation information.

## [1.2.0] 2021-06-03

### Enhancement

* Convert color theme to `sublime-color-scheme`.
* Add @3x retina icons resolution.

### BugFix

* Fix Sidebar icons color.

## [1.1.1] 2016-12-08

### Enhancement

* Scrollbars background color has been darkened to match the general ui palette.

## [1.1.0] 2016-12-08

### Enhancement

* Add Scrollbars (Whoa, magical!)
* Support for 'Skins' plugin.
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "TwoDark",
"version": "1.2.2",
"description": "It's like OneDark for Atom, but it's called TwoDark and works for SublimeText",
"version": "1.2.4",
"description": "Atom's OneDark inspired theme for Sublime Text",
"author": "Roberto Mauro <[email protected]>",
"homepage": "https://github.com/erremauro/TwoDark#readme",
"license": "MIT",
Expand Down

0 comments on commit b7cb2e6

Please sign in to comment.