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

fix(config): added extension id, publisher and changed default theme … #13

Merged
merged 1 commit into from
Apr 26, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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