jupyterlab_vscode_icons_extension 1.0.43 → 1.0.44
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/index.js +5 -5
- package/package.json +1 -1
- package/src/index.ts +5 -5
package/lib/index.js
CHANGED
|
@@ -339,10 +339,10 @@ const plugin = {
|
|
|
339
339
|
const injectIconOverrideCSS = () => {
|
|
340
340
|
// Get icons: Python (custom SVG), Markdown (custom SVG), Claude (VSCode), README (custom)
|
|
341
341
|
const claudeIcon = createLabIcon('file-type-claude');
|
|
342
|
-
// Custom Markdown icon (from markdown.svg - purple M with arrow)
|
|
342
|
+
// Custom Markdown icon (from markdown.svg - purple M with arrow, darker #7a2491)
|
|
343
343
|
const markdownSvg = `<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 309 327">
|
|
344
|
-
<path fill="#
|
|
345
|
-
<path fill="#
|
|
344
|
+
<path fill="#7a2491" opacity="1" stroke="none" d="m 138.68393,230.48651 c 36.58836,3.1e-4 72.68422,3.1e-4 108.78008,3.1e-4 0.13988,0.49669 0.0821,0.12537 -3.34406,3.81472 -27.34165,24.16766 -54.43119,49.41695 -81.72391,73.62893 -2.65146,2.35216 -4.5582,3.21609 -7.64686,0.37229 -26.89754,-24.76539 -75.191307,-68.40096 -80.889724,-74.12425 -0.744118,-0.74735 -1.274501,-1.57204 -2.95867,-3.69233 23.309236,0 45.299954,0 67.783144,3.3e-4 z"/>
|
|
345
|
+
<path fill="#7a2491" d="m 61.156397,14.443673 h 69.176263 q 14.81059,56.661581 23.29958,97.452667 l 5.96036,-27.150338 q 3.61233,-15.870486 7.76652,-30.954008 l 10.6564,-39.348321 H 248.6367 L 276.09047,189.5437 H 221.90541 L 207.27544,69.137838 173.50009,189.5437 H 136.47364 L 101.07273,68.875516 86.984609,189.5437 H 35.147571 Z"/>
|
|
346
346
|
</svg>`;
|
|
347
347
|
// Custom Python icon (simplified official logo - 50% reduced fidelity)
|
|
348
348
|
const pythonSvg = `<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 110 110">
|
|
@@ -359,9 +359,9 @@ const plugin = {
|
|
|
359
359
|
<path fill="url(#py-b)" d="M55,0C29,0,29,10,29,12v13h27v4H19C11,29,0,34,0,55c0,20,8,27,16,27h9V69c0-6,3-16,16-16h26c4,0,15-2,15-14V14C82,11,82,0,55,0zM40,8c3,0,5,2,5,5s-2,5-5,5-5-2-5-5S37,8,40,8z"/>
|
|
360
360
|
<path fill="url(#py-y)" d="M55,110c26,0,26-10,26-12V85H54v-4h37c8,0,18-5,18-26 0-23-11-27-16-27h-9v13c0,6-3,16-16,16H42c-4,0-15,2-15,14v24c0,3,0,14,28,14zM70,101c-3,0-5-2-5-5s2-5,5-5 5,2,5,5S73,101,70,101z"/>
|
|
361
361
|
</svg>`;
|
|
362
|
-
// Custom README icon (info icon from info2.svg - color #
|
|
362
|
+
// Custom README icon (info icon from info2.svg - color #8f4397, slightly darker)
|
|
363
363
|
const readmeSvg = `<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100">
|
|
364
|
-
<path fill="#
|
|
364
|
+
<path fill="#8f4397" d="m 9.5247234,12.218859 v 75.35612 a 2.9104166,2.9104166 45 0 0 2.9104166,2.910417 l 76.222217,0 a 2.9104166,2.9104166 135 0 0 2.910417,-2.910417 V 12.218859 A 2.9104166,2.9104166 45 0 0 88.657357,9.3084428 H 12.43514 A 2.9104166,2.9104166 135 0 0 9.5247234,12.218859 Z m 37.0053096,8.347863 h 7.83503 a 2.9104166,2.9104166 45 0 1 2.910417,2.910417 v 5.502919 a 2.9104166,2.9104166 135 0 1 -2.910417,2.910417 h -7.83503 a 2.9104166,2.9104166 45 0 1 -2.910417,-2.910417 v -5.502919 a 2.9104166,2.9104166 135 0 1 2.910417,-2.910417 z m -6.168542,18.949514 h 15.147096 a 2.9104166,2.9104166 45 0 1 2.910417,2.910417 v 23.572299 a 2.9104166,2.9104166 45 0 0 2.910417,2.910417 h 4.740796 a 2.9104166,2.9104166 45 0 1 2.910417,2.910417 v 3.979719 a 2.9104166,2.9104166 135 0 1 -2.910417,2.910417 l -26.767059,0 a 2.9104166,2.9104166 45 0 1 -2.910417,-2.910417 v -4.508886 a 2.9104166,2.9104166 135 0 1 2.910417,-2.910417 h 4.439788 a 2.9104166,2.9104166 135 0 0 2.910417,-2.910417 V 52.890044 A 2.9104166,2.9104166 45 0 0 43.742946,49.979627 H 40.361491 A 2.9104166,2.9104166 45 0 1 37.451074,47.06921 v -4.642557 a 2.9104166,2.9104166 135 0 1 2.910417,-2.910417 z"/>
|
|
365
365
|
</svg>`;
|
|
366
366
|
// Get SVG content
|
|
367
367
|
const claudeSvg = claudeIcon.svgstr;
|
package/package.json
CHANGED
package/src/index.ts
CHANGED
|
@@ -381,10 +381,10 @@ const plugin: JupyterFrontEndPlugin<void> = {
|
|
|
381
381
|
// Get icons: Python (custom SVG), Markdown (custom SVG), Claude (VSCode), README (custom)
|
|
382
382
|
const claudeIcon = createLabIcon('file-type-claude');
|
|
383
383
|
|
|
384
|
-
// Custom Markdown icon (from markdown.svg - purple M with arrow)
|
|
384
|
+
// Custom Markdown icon (from markdown.svg - purple M with arrow, darker #7a2491)
|
|
385
385
|
const markdownSvg = `<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 309 327">
|
|
386
|
-
<path fill="#
|
|
387
|
-
<path fill="#
|
|
386
|
+
<path fill="#7a2491" opacity="1" stroke="none" d="m 138.68393,230.48651 c 36.58836,3.1e-4 72.68422,3.1e-4 108.78008,3.1e-4 0.13988,0.49669 0.0821,0.12537 -3.34406,3.81472 -27.34165,24.16766 -54.43119,49.41695 -81.72391,73.62893 -2.65146,2.35216 -4.5582,3.21609 -7.64686,0.37229 -26.89754,-24.76539 -75.191307,-68.40096 -80.889724,-74.12425 -0.744118,-0.74735 -1.274501,-1.57204 -2.95867,-3.69233 23.309236,0 45.299954,0 67.783144,3.3e-4 z"/>
|
|
387
|
+
<path fill="#7a2491" d="m 61.156397,14.443673 h 69.176263 q 14.81059,56.661581 23.29958,97.452667 l 5.96036,-27.150338 q 3.61233,-15.870486 7.76652,-30.954008 l 10.6564,-39.348321 H 248.6367 L 276.09047,189.5437 H 221.90541 L 207.27544,69.137838 173.50009,189.5437 H 136.47364 L 101.07273,68.875516 86.984609,189.5437 H 35.147571 Z"/>
|
|
388
388
|
</svg>`;
|
|
389
389
|
|
|
390
390
|
// Custom Python icon (simplified official logo - 50% reduced fidelity)
|
|
@@ -403,9 +403,9 @@ const plugin: JupyterFrontEndPlugin<void> = {
|
|
|
403
403
|
<path fill="url(#py-y)" d="M55,110c26,0,26-10,26-12V85H54v-4h37c8,0,18-5,18-26 0-23-11-27-16-27h-9v13c0,6-3,16-16,16H42c-4,0-15,2-15,14v24c0,3,0,14,28,14zM70,101c-3,0-5-2-5-5s2-5,5-5 5,2,5,5S73,101,70,101z"/>
|
|
404
404
|
</svg>`;
|
|
405
405
|
|
|
406
|
-
// Custom README icon (info icon from info2.svg - color #
|
|
406
|
+
// Custom README icon (info icon from info2.svg - color #8f4397, slightly darker)
|
|
407
407
|
const readmeSvg = `<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100">
|
|
408
|
-
<path fill="#
|
|
408
|
+
<path fill="#8f4397" d="m 9.5247234,12.218859 v 75.35612 a 2.9104166,2.9104166 45 0 0 2.9104166,2.910417 l 76.222217,0 a 2.9104166,2.9104166 135 0 0 2.910417,-2.910417 V 12.218859 A 2.9104166,2.9104166 45 0 0 88.657357,9.3084428 H 12.43514 A 2.9104166,2.9104166 135 0 0 9.5247234,12.218859 Z m 37.0053096,8.347863 h 7.83503 a 2.9104166,2.9104166 45 0 1 2.910417,2.910417 v 5.502919 a 2.9104166,2.9104166 135 0 1 -2.910417,2.910417 h -7.83503 a 2.9104166,2.9104166 45 0 1 -2.910417,-2.910417 v -5.502919 a 2.9104166,2.9104166 135 0 1 2.910417,-2.910417 z m -6.168542,18.949514 h 15.147096 a 2.9104166,2.9104166 45 0 1 2.910417,2.910417 v 23.572299 a 2.9104166,2.9104166 45 0 0 2.910417,2.910417 h 4.740796 a 2.9104166,2.9104166 45 0 1 2.910417,2.910417 v 3.979719 a 2.9104166,2.9104166 135 0 1 -2.910417,2.910417 l -26.767059,0 a 2.9104166,2.9104166 45 0 1 -2.910417,-2.910417 v -4.508886 a 2.9104166,2.9104166 135 0 1 2.910417,-2.910417 h 4.439788 a 2.9104166,2.9104166 135 0 0 2.910417,-2.910417 V 52.890044 A 2.9104166,2.9104166 45 0 0 43.742946,49.979627 H 40.361491 A 2.9104166,2.9104166 45 0 1 37.451074,47.06921 v -4.642557 a 2.9104166,2.9104166 135 0 1 2.910417,-2.910417 z"/>
|
|
409
409
|
</svg>`;
|
|
410
410
|
|
|
411
411
|
// Get SVG content
|