diff --git a/src/sql/media/icons/common-icons.css b/src/sql/media/icons/common-icons.css index af394af723..655f232ce4 100644 --- a/src/sql/media/icons/common-icons.css +++ b/src/sql/media/icons/common-icons.css @@ -249,6 +249,13 @@ background: url("newquery.svg") center center no-repeat; } +.monaco-workbench .codicon.notebook, +.monaco-workbench.hc-light .codicon.notebook, +.monaco-workbench.vs-dark .codicon.notebook, +.monaco-workbench.hc-black .codicon.notebook { + background: url("notebook-blue.svg") center center no-repeat; +} + .vs .codicon.info, .hc-light .codicon.info, .hc-black .codicon.info, diff --git a/src/sql/media/icons/notebook-blue.svg b/src/sql/media/icons/notebook-blue.svg new file mode 100644 index 0000000000..6557616999 --- /dev/null +++ b/src/sql/media/icons/notebook-blue.svg @@ -0,0 +1,3 @@ + + + diff --git a/src/sql/workbench/contrib/notebook/browser/notebook.css b/src/sql/workbench/contrib/notebook/browser/notebook.css index d155a5eb69..c177dc4ad4 100644 --- a/src/sql/workbench/contrib/notebook/browser/notebook.css +++ b/src/sql/workbench/contrib/notebook/browser/notebook.css @@ -225,16 +225,12 @@ } .monaco-workbench .notebook-action.new-notebook, -.monaco-workbench.hc-light .notebook-action.new-notebook, -.monaco-workbench .codicon.new-notebook, -.monaco-workbench.hc-light .codicon.new-notebook { +.monaco-workbench.hc-light .notebook-action.new-notebook { background: url("./media/light/new_notebook.svg") center center no-repeat; } .monaco-workbench.vs-dark .notebook-action.new-notebook, -.monaco-workbench.hc-black .notebook-action.new-notebook, -.monaco-workbench.vs-dark .codicon.new-notebook, -.monaco-workbench.hc-black .codicon.new-notebook { +.monaco-workbench.hc-black .notebook-action.new-notebook { background: url("./media/dark/new_notebook_inverse.svg") center center no-repeat; } diff --git a/src/sql/workbench/contrib/notebook/browser/notebookActions.ts b/src/sql/workbench/contrib/notebook/browser/notebookActions.ts index 6f144c41b5..fbce065e33 100644 --- a/src/sql/workbench/contrib/notebook/browser/notebookActions.ts +++ b/src/sql/workbench/contrib/notebook/browser/notebookActions.ts @@ -860,7 +860,7 @@ async function openNewNotebook( export class NewNotebookTask extends Task { public static ID = 'newNotebook'; public static LABEL = localize('newNotebookTask.newNotebook', "New Notebook"); - public static ICON = 'new-notebook'; + public static ICON = 'notebook'; constructor() { super({