themes.json 3.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133
  1. {
  2. "title": "Theme",
  3. "jupyter.lab.setting-icon-label": "Theme Manager",
  4. "jupyter.lab.menus": {
  5. "main": [
  6. {
  7. "id": "jp-mainmenu-settings",
  8. "items": [
  9. {
  10. "type": "submenu",
  11. "submenu": {
  12. "id": "jp-mainmenu-settings-apputilstheme",
  13. "label": "Theme",
  14. "items": [
  15. { "type": "separator" },
  16. {
  17. "command": "apputils:theme-scrollbars"
  18. },
  19. { "type": "separator" },
  20. {
  21. "command": "apputils:incr-font-size",
  22. "args": {
  23. "key": "code-font-size"
  24. }
  25. },
  26. {
  27. "command": "apputils:decr-font-size",
  28. "args": {
  29. "key": "code-font-size"
  30. }
  31. },
  32. { "type": "separator" },
  33. {
  34. "command": "apputils:incr-font-size",
  35. "args": {
  36. "key": "content-font-size1"
  37. }
  38. },
  39. {
  40. "command": "apputils:decr-font-size",
  41. "args": {
  42. "key": "content-font-size1"
  43. }
  44. },
  45. { "type": "separator" },
  46. {
  47. "command": "apputils:incr-font-size",
  48. "args": {
  49. "key": "ui-font-size1"
  50. }
  51. },
  52. {
  53. "command": "apputils:decr-font-size",
  54. "args": {
  55. "key": "ui-font-size1"
  56. }
  57. }
  58. ]
  59. },
  60. "rank": 0
  61. }
  62. ]
  63. }
  64. ]
  65. },
  66. "description": "Theme manager settings.",
  67. "type": "object",
  68. "additionalProperties": false,
  69. "definitions": {
  70. "cssOverrides": {
  71. "type": "object",
  72. "additionalProperties": false,
  73. "description": "The description field of each item is the CSS property that will be used to validate an override's value",
  74. "properties": {
  75. "code-font-family": {
  76. "type": ["string", "null"],
  77. "description": "font-family"
  78. },
  79. "code-font-size": {
  80. "type": ["string", "null"],
  81. "description": "font-size"
  82. },
  83. "content-font-family": {
  84. "type": ["string", "null"],
  85. "description": "font-family"
  86. },
  87. "content-font-size1": {
  88. "type": ["string", "null"],
  89. "description": "font-size"
  90. },
  91. "ui-font-family": {
  92. "type": ["string", "null"],
  93. "description": "font-family"
  94. },
  95. "ui-font-size1": {
  96. "type": ["string", "null"],
  97. "description": "font-size"
  98. }
  99. }
  100. }
  101. },
  102. "properties": {
  103. "theme": {
  104. "type": "string",
  105. "title": "Selected Theme",
  106. "description": "Application-level visual styling theme",
  107. "default": "JupyterLab Light"
  108. },
  109. "theme-scrollbars": {
  110. "type": "boolean",
  111. "title": "Scrollbar Theming",
  112. "description": "Enable/disable styling of the application scrollbars",
  113. "default": false
  114. },
  115. "overrides": {
  116. "title": "Theme CSS Overrides",
  117. "description": "Override theme CSS variables by setting key-value pairs here",
  118. "$ref": "#/definitions/cssOverrides",
  119. "default": {
  120. "code-font-family": null,
  121. "code-font-size": null,
  122. "content-font-family": null,
  123. "content-font-size1": null,
  124. "ui-font-family": null,
  125. "ui-font-size1": null
  126. }
  127. }
  128. }
  129. }