@@ -12,8 +12,7 @@
"lib/**/*.d.ts",
"lib/**/*.js.map",
"lib/**/*.js",
- "style/*.css",
- "style/images/*.svg",
+ "style/**/*.{css,eot,gif,html,jpg,json,png,svg,woff2,ttf}",
"schema/*.json"
],
"main": "lib/index.js",
@@ -1,5 +1,5 @@
{
- "jupyter.lab.setting-icon-class": "status-bar-icon",
+ "jupyter.lab.setting-icon-class": "jp-StatusBarIcon",
"jupyter.lab.setting-icon-label": "Status Bar",
"title": "Status Bar",
"description": "Status Bar settings.",
@@ -42,6 +42,8 @@ import { IMainMenu } from '@jupyterlab/mainmenu';
import { Title, Widget } from '@phosphor/widgets';
+import '../style/index.css';
+
export const STATUSBAR_PLUGIN_ID = '@jupyterlab/statusbar-extension:plugin';
/**
@@ -0,0 +1,9 @@
+/*-----------------------------------------------------------------------------
+| Copyright (c) Jupyter Development Team.
+| Distributed under the terms of the Modified BSD License.
+|----------------------------------------------------------------------------*/
+/* A status bar icon */
+.jp-StatusBarIcon {
+ background-image: url('./status-bar-icon.svg');
+}
@@ -0,0 +1,5 @@
+<svg viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
+<path d="M0.75 19.25V0.75H19.25V19.25H0.75Z" transform="translate(2 2)" stroke="#757575" stroke-width="1.5"/>
+<rect width="12.7273" height="12.7273" transform="translate(5.63647 5.63672)" fill="#757575"/>
+<path d="M0 0H11.8182V0.818182C11.8182 1.37047 11.3705 1.81818 10.8182 1.81818H0V0Z" transform="translate(4.72729 13.8164)" fill="white"/>
+</svg>