Skip to content

Commit 7e713c6

Browse files
committed
added new teal dashboard icon
1 parent 71ceee7 commit 7e713c6

File tree

2 files changed

+8
-2
lines changed

2 files changed

+8
-2
lines changed

src/icons.ts

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ import greyDashboardSvgstr from '../style/icons/dashboard_icon_filled_grey.svg';
55
import blueDashboardSvgstr from '../style/icons/dashboard_icon_filled_blue.svg';
66
import whiteDashboardOutlineSvgstr from '../style/icons/dashboard_icon_outline_white.svg';
77
import greyDashboardOutlineSvgstr from '../style/icons/dashboard_icon_outline_grey.svg';
8+
import tealDashboardSvgstr from '../style/icons/dashboard_icon_filled_teal.svg';
89
import redoIcon from '../style/icons/redo.svg';
910
import fullscreenIcon from '../style/icons/fullscreen.svg';
1011
import statusIcon from '../style/icons/dummy.svg';
@@ -17,6 +18,11 @@ import resizer2Svgstr from '../style/icons/drag indicator lines.svg';
1718
* Dashboard icons
1819
*/
1920
export namespace DashboardIcons {
21+
export const tealDashboard = new LabIcon({
22+
name: 'pr-icons:teal-dashboard',
23+
svgstr: tealDashboardSvgstr
24+
});
25+
2026
export const whiteDashboard = new LabIcon({
2127
name: 'pr-icons:white-dashboard',
2228
svgstr: whiteDashboardSvgstr

src/index.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,7 @@ const extension: JupyterFrontEndPlugin<IDashboardTracker> = {
8686
contentType: 'file',
8787
extensions: ['.dashboard', '.dash'],
8888
fileFormat: 'text',
89-
icon: DashboardIcons.blueDashboard,
89+
icon: DashboardIcons.tealDashboard,
9090
iconLabel: 'Dashboard',
9191
mimeTypes: ['application/json']
9292
};
@@ -550,7 +550,7 @@ function addCommands(
550550

551551
commands.addCommand(CommandIDs.createNew, {
552552
label: 'Dashboard',
553-
icon: DashboardIcons.blueDashboard,
553+
icon: DashboardIcons.tealDashboard,
554554
execute: async args => {
555555
// A new file is created and opened separately to override the default
556556
// opening behavior when there's a notebook and open the dashboard in a

0 commit comments

Comments
 (0)