Skip to content

Commit

Permalink
added patterns for vscode
Browse files Browse the repository at this point in the history
  • Loading branch information
danvirsen committed Jul 6, 2017
1 parent df20074 commit f2a2b2b
Show file tree
Hide file tree
Showing 178 changed files with 41,028 additions and 0 deletions.
1 change: 1 addition & 0 deletions build.xml
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@
<delete dir="${basedir}/xcode"/>
<delete dir="${basedir}/highlightjs"/>
<delete dir="${basedir}/emacs"/>
<delete dir="${basedir}/vscode"/>
</target>

<!-- Generate themes. -->
Expand Down
24 changes: 24 additions & 0 deletions build/resources/patterns/vscode/package.pattern
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
{
"name": "{{ theme.slug }}",
"version": "1.0.0",
"displayName": "Dayle Rees colour Schemes",
"description": "{{ theme.name }} theme by {{ theme.author }}",
"publisher": "Dayle Rees",
"repository": "https://github.com/daylerees/colour-schemes",
"license": "MIT",
"engines": {
"vscode": "^1.13.0"
},
"categories": [
"Themes"
],
"contributes": {
"themes": [
{
"label": "{{ theme.name }}",
"uiTheme": "vs{{ theme.type == 'dark' ? '-dark' : '' }}",
"path": "./{{ theme.slug }}.json"
}
]
}
}
19 changes: 19 additions & 0 deletions build/resources/patterns/vscode/vscode.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
{
"type": "Visual Studio Code Colour Scheme",
"directory": "vscode",

"templates": [
{
"file": "package.pattern",
"name": "daylerees.theme.%theme.slug%/package",
"directory": "",
"extension": ".json"
},
{
"file": "vscode.pattern",
"name": "daylerees.theme.%theme.slug%/%theme.slug%",
"directory": "",
"extension": ".json"
}
]
}
Loading

0 comments on commit f2a2b2b

Please sign in to comment.