Skip to content
This repository has been archived by the owner on Apr 28, 2024. It is now read-only.

Commit

Permalink
Merge pull request #13 from stencila/fix/extension-setup
Browse files Browse the repository at this point in the history
fix(config): added extension id, publisher and changed default theme …
  • Loading branch information
nokome authored Apr 26, 2024
2 parents 2e10df2 + 6e6781b commit ac5b2dd
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 2 deletions.
4 changes: 3 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
{
"name": "stencila",
"id": "stencila.extension.editor",
"publisher": "stencila",
"displayName": "Stencila",
"description": "Programmable, reproducible, interactive documents",
"version": "0.0.1",
Expand Down Expand Up @@ -61,7 +63,7 @@
],
"themes": [
{
"id": "Stencila Light",
"id": "StencilaLight",
"label": "Stencila light",
"uiTheme": "vs",
"path": "./themes/stencila-light-color-theme.json"
Expand Down
2 changes: 1 addition & 1 deletion src/extension.ts
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ export function activate(context: vscode.ExtensionContext) {
// Define the default theme for this extension.
// Inside your extension's activation code
vscode.workspace.getConfiguration('workbench')
.update('colorTheme', 'Stencila Light', vscode.ConfigurationTarget.Global);
.update('colorTheme', 'StencilaLight', vscode.ConfigurationTarget.Global);

context.subscriptions.push(disposable);
}
Expand Down
1 change: 1 addition & 0 deletions themes/stencila-light-color-theme.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@
"statusBarItem.hoverBackground": "#215DD7",
"statusBar.debuggingBackground": "#2568EF",
"statusBar.noFolderBackground": "#2568EF",
"tab.activeBorderTop": "#2568EF"
},
"tokenColors": [{
"scope": [
Expand Down

0 comments on commit ac5b2dd

Please sign in to comment.