Skip to content

Commit 5665872

Browse files
committed
Add support for VSCode
1 parent 1c83a7a commit 5665872

File tree

5 files changed

+44
-4
lines changed

5 files changed

+44
-4
lines changed

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
*.vsix

Chromodynamics.color-theme.json

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
{
2+
"tokenColors": "./Chromodynamics.tmTheme",
3+
"type": "dark",
4+
"colors": {
5+
"activityBarBadge.background": "#007acc",
6+
"sideBarTitle.foreground": "#bbbbbb",
7+
"statusBar.background": "#131313",
8+
"editor.background": "#060606",
9+
"activityBar.background": "#101010",
10+
"menu.background": "#131313",
11+
"sideBar.background": "#131313",
12+
"panel.background": "#131313",
13+
"editorGroupHeader.tabsBackground": "#131313",
14+
"tab.inactiveBackground": "#151515",
15+
"tab.border": "#131313",
16+
}
17+
}

Makefile

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,13 @@
11
.PHONY: release
22

33

4-
release:
4+
atom-release:
55
apm init --theme .atom-build --convert Chromodynamics.tmTheme
66
cp .atom-build/styles/*.less styles/
77
rm -rf .atom-build
88
cat styles/base.less | sed 's/syntax-wrap-guide-color;/syntax-wrap-guide-color;background-color:@syntax-wrap-guide-color !important;/g' | sed 's/atom-text-editor\(.*\).marker/atom-text-editor\1.syntax--marker/' > styles/base.less~
99
mv styles/base.less~ styles/base.less
10+
11+
12+
vscode-release:
13+
vsce package && vsce publish

README.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,3 +15,6 @@ In **Sublime Text** install the `Chromodynamics` package with "Package Control".
1515

1616
In **Atom** find the `Chromodynamics` theme, install it, and enable via
1717
`Themes / Syntax Theme`.
18+
19+
In **Visual Studio Code** find the `Chromodynamics` theme, install it, and
20+
enable via the `Preferences: Color Theme` command.

package.json

Lines changed: 18 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,26 @@
11
{
22
"name": "Chromodynamics",
3+
"displayName": "Chromodynamics Theme",
4+
"description": "A dark color scheme from MagicStack.",
35
"theme": "syntax",
4-
"version": "0.0.11",
5-
"description": "Syntax Theme",
6+
"version": "0.0.12",
67
"repository": "https://github.com/MagicStack/Chromodynamics",
8+
"publisher": "magicstack",
79
"license": "MIT",
810
"engines": {
9-
"atom": ">=1.13.0"
11+
"atom": ">=1.13.0",
12+
"vscode": ">=1.10.0"
13+
},
14+
"categories": [
15+
"Themes"
16+
],
17+
"contributes": {
18+
"themes": [
19+
{
20+
"label": "Chromodynamics",
21+
"uiTheme": "vs-dark",
22+
"path": "./Chromodynamics.color-theme.json"
23+
}
24+
]
1025
}
1126
}

0 commit comments

Comments
 (0)