jupyterlab_vscode_icons_extension 1.0.44 → 1.0.46

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 CHANGED
@@ -384,8 +384,8 @@ const plugin = {
384
384
  .jp-DirListing-item[data-file-type="notebook"][data-jupytext-py] .jp-DirListing-itemIcon::before {
385
385
  content: '';
386
386
  display: inline-block;
387
- width: 18px;
388
- height: 18px;
387
+ width: calc(var(--jp-ui-font-size1, 13px) * var(--jp-custom-icon-scale, 1.5));
388
+ height: calc(var(--jp-ui-font-size1, 13px) * var(--jp-custom-icon-scale, 1.5));
389
389
  background-image: url('${pythonDataUri}');
390
390
  background-size: contain;
391
391
  background-repeat: no-repeat;
@@ -400,8 +400,8 @@ const plugin = {
400
400
  .jp-DirListing-item[data-file-type="notebook"][data-jupytext-md] .jp-DirListing-itemIcon::before {
401
401
  content: '';
402
402
  display: inline-block;
403
- width: 18px;
404
- height: 18px;
403
+ width: calc(var(--jp-ui-font-size1, 13px) * var(--jp-custom-icon-scale, 1.5));
404
+ height: calc(var(--jp-ui-font-size1, 13px) * var(--jp-custom-icon-scale, 1.5));
405
405
  background-image: url('${markdownDataUri}');
406
406
  background-size: contain;
407
407
  background-repeat: no-repeat;
@@ -416,8 +416,8 @@ const plugin = {
416
416
  .jp-DirListing-item[data-file-type="notebook"][data-claude-md] .jp-DirListing-itemIcon::before {
417
417
  content: '';
418
418
  display: inline-block;
419
- width: 18px;
420
- height: 18px;
419
+ width: calc(var(--jp-ui-font-size1, 13px) * var(--jp-custom-icon-scale, 1.5));
420
+ height: calc(var(--jp-ui-font-size1, 13px) * var(--jp-custom-icon-scale, 1.5));
421
421
  background-image: url('${claudeDataUri}');
422
422
  background-size: contain;
423
423
  background-repeat: no-repeat;
@@ -433,8 +433,8 @@ const plugin = {
433
433
  .jp-DirListing-item[data-file-type="notebook"][data-readme-md] .jp-DirListing-itemIcon::before {
434
434
  content: '';
435
435
  display: inline-block;
436
- width: 20px;
437
- height: 20px;
436
+ width: calc(var(--jp-ui-font-size1, 13px) * var(--jp-custom-icon-scale, 1.5));
437
+ height: calc(var(--jp-ui-font-size1, 13px) * var(--jp-custom-icon-scale, 1.5));
438
438
  background-image: url('${readmeDataUri}');
439
439
  background-size: contain;
440
440
  background-repeat: no-repeat;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "jupyterlab_vscode_icons_extension",
3
- "version": "1.0.44",
3
+ "version": "1.0.46",
4
4
  "description": "Jupyterlab extension with a shameless rip-off of the vscode-icons into our beloved environment",
5
5
  "keywords": [
6
6
  "jupyter",
package/src/index.ts CHANGED
@@ -431,8 +431,8 @@ const plugin: JupyterFrontEndPlugin<void> = {
431
431
  .jp-DirListing-item[data-file-type="notebook"][data-jupytext-py] .jp-DirListing-itemIcon::before {
432
432
  content: '';
433
433
  display: inline-block;
434
- width: 18px;
435
- height: 18px;
434
+ width: calc(var(--jp-ui-font-size1, 13px) * var(--jp-custom-icon-scale, 1.5));
435
+ height: calc(var(--jp-ui-font-size1, 13px) * var(--jp-custom-icon-scale, 1.5));
436
436
  background-image: url('${pythonDataUri}');
437
437
  background-size: contain;
438
438
  background-repeat: no-repeat;
@@ -447,8 +447,8 @@ const plugin: JupyterFrontEndPlugin<void> = {
447
447
  .jp-DirListing-item[data-file-type="notebook"][data-jupytext-md] .jp-DirListing-itemIcon::before {
448
448
  content: '';
449
449
  display: inline-block;
450
- width: 18px;
451
- height: 18px;
450
+ width: calc(var(--jp-ui-font-size1, 13px) * var(--jp-custom-icon-scale, 1.5));
451
+ height: calc(var(--jp-ui-font-size1, 13px) * var(--jp-custom-icon-scale, 1.5));
452
452
  background-image: url('${markdownDataUri}');
453
453
  background-size: contain;
454
454
  background-repeat: no-repeat;
@@ -463,8 +463,8 @@ const plugin: JupyterFrontEndPlugin<void> = {
463
463
  .jp-DirListing-item[data-file-type="notebook"][data-claude-md] .jp-DirListing-itemIcon::before {
464
464
  content: '';
465
465
  display: inline-block;
466
- width: 18px;
467
- height: 18px;
466
+ width: calc(var(--jp-ui-font-size1, 13px) * var(--jp-custom-icon-scale, 1.5));
467
+ height: calc(var(--jp-ui-font-size1, 13px) * var(--jp-custom-icon-scale, 1.5));
468
468
  background-image: url('${claudeDataUri}');
469
469
  background-size: contain;
470
470
  background-repeat: no-repeat;
@@ -480,8 +480,8 @@ const plugin: JupyterFrontEndPlugin<void> = {
480
480
  .jp-DirListing-item[data-file-type="notebook"][data-readme-md] .jp-DirListing-itemIcon::before {
481
481
  content: '';
482
482
  display: inline-block;
483
- width: 20px;
484
- height: 20px;
483
+ width: calc(var(--jp-ui-font-size1, 13px) * var(--jp-custom-icon-scale, 1.5));
484
+ height: calc(var(--jp-ui-font-size1, 13px) * var(--jp-custom-icon-scale, 1.5));
485
485
  background-image: url('${readmeDataUri}');
486
486
  background-size: contain;
487
487
  background-repeat: no-repeat;