@perspective-dev/viewer 5.3.0 → 5.4.0

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.
Files changed (265) hide show
  1. package/dist/cdn/perspective-viewer.js +8 -8
  2. package/dist/cdn/perspective-viewer.js.map +3 -3
  3. package/dist/css/blueprint.css +1 -0
  4. package/dist/css/botanical.css +1 -1
  5. package/dist/css/dracula.css +1 -1
  6. package/dist/css/eggplant.css +1 -0
  7. package/dist/css/gruvbox-dark.css +1 -1
  8. package/dist/css/gruvbox.css +1 -1
  9. package/dist/css/icons.css +1 -1
  10. package/dist/css/intl/ar.css +1 -0
  11. package/dist/css/intl/de.css +1 -1
  12. package/dist/css/intl/es.css +1 -1
  13. package/dist/css/intl/fr.css +1 -1
  14. package/dist/css/intl/ja.css +1 -1
  15. package/dist/css/intl/pt.css +1 -1
  16. package/dist/css/intl/zh.css +1 -1
  17. package/dist/css/intl.css +1 -1
  18. package/dist/css/ledger.css +1 -0
  19. package/dist/css/monokai.css +1 -1
  20. package/dist/css/nord.css +1 -0
  21. package/dist/css/phosphor.css +1 -1
  22. package/dist/css/pro-dark.css +1 -1
  23. package/dist/css/pro.css +1 -1
  24. package/dist/css/solarized-dark.css +1 -1
  25. package/dist/css/solarized.css +1 -1
  26. package/dist/css/themes.css +1 -1
  27. package/dist/css/vaporwave.css +1 -1
  28. package/dist/css/velvet.css +1 -0
  29. package/dist/docs/perspective-docs.json +1 -1
  30. package/dist/esm/column-format.d.ts +16 -3
  31. package/dist/esm/extensions.d.ts +0 -5
  32. package/dist/esm/perspective-viewer.inline.js +7 -7
  33. package/dist/esm/perspective-viewer.inline.js.map +3 -3
  34. package/dist/esm/perspective-viewer.js +8 -8
  35. package/dist/esm/perspective-viewer.js.map +3 -3
  36. package/dist/esm/ts-rs/ViewOnUpdateResp.d.ts +1 -1
  37. package/dist/wasm/perspective-viewer.d.ts +62 -73
  38. package/dist/wasm/perspective-viewer.js +230 -238
  39. package/dist/wasm/perspective-viewer.wasm +0 -0
  40. package/dist/wasm/perspective-viewer.wasm.d.ts +18 -28
  41. package/package.json +7 -7
  42. package/src/css/_context_menu.css +1 -1
  43. package/src/css/_dropdown_menu.css +1 -1
  44. package/src/css/_viewer_bundle.css +7 -8
  45. package/src/css/column-dropdown.css +0 -3
  46. package/src/css/column-selector.css +8 -5
  47. package/src/css/column-settings-panel.css +0 -206
  48. package/src/css/column-style.css +95 -0
  49. package/src/css/config-selector.css +18 -10
  50. package/src/css/filter-dropdown.css +5 -5
  51. package/src/css/form/debug.css +28 -4
  52. package/src/css/function-dropdown.css +5 -5
  53. package/src/css/panel-tab.css +23 -0
  54. package/src/css/plugin-selector.css +6 -5
  55. package/src/css/render-warning.css +1 -1
  56. package/src/css/status-bar.css +52 -21
  57. package/src/css/type-icon.css +1 -3
  58. package/src/css/{containers → ui/containers}/context-menu.css +22 -16
  59. package/src/css/ui/containers/dropdown-menu-items.css +66 -0
  60. package/src/css/{containers → ui/containers}/dropdown-menu.css +8 -53
  61. package/src/css/{containers → ui/containers}/tabs.css +13 -3
  62. package/src/css/{dom → ui/dom}/select.css +19 -8
  63. package/src/css/viewer.css +32 -31
  64. package/src/rust/agent/tools.rs +5 -2
  65. package/src/rust/components/chat_panel.rs +1 -1
  66. package/src/rust/components/{form/code_editor.rs → code_editor.rs} +4 -2
  67. package/src/rust/components/column_dropdown.rs +2 -2
  68. package/src/rust/components/column_selector/active_column.rs +15 -9
  69. package/src/rust/components/column_selector/aggregate_selector.rs +1 -1
  70. package/src/rust/components/column_selector/config_selector.rs +2 -2
  71. package/src/rust/components/column_selector/filter_column.rs +8 -5
  72. package/src/rust/components/column_selector/inactive_column.rs +4 -2
  73. package/src/rust/components/column_selector/pivot_column.rs +4 -3
  74. package/src/rust/components/column_selector/sort_column.rs +7 -4
  75. package/src/rust/components/column_selector.rs +3 -3
  76. package/src/rust/components/column_settings_sidebar/style_tab/agg_depth_selector.rs +1 -1
  77. package/src/rust/components/column_settings_sidebar/style_tab/primitive_field.rs +15 -17
  78. package/src/rust/components/column_settings_sidebar/style_tab/symbol/symbol_selector.rs +1 -1
  79. package/src/rust/components/column_settings_sidebar/style_tab.rs +296 -238
  80. package/src/rust/components/column_settings_sidebar.rs +3 -4
  81. package/src/rust/components/copy_dropdown.rs +1 -1
  82. package/src/rust/components/datetime_column_style/custom.rs +1 -3
  83. package/src/rust/components/datetime_column_style/simple.rs +16 -6
  84. package/src/rust/components/datetime_column_style.rs +51 -12
  85. package/src/rust/components/{form/debug.rs → debug_panel.rs} +5 -5
  86. package/src/rust/components/{containers/dragdrop_list.rs → dragdrop_list.rs} +2 -10
  87. package/src/rust/components/export_dropdown.rs +1 -1
  88. package/src/rust/components/expression_editor.rs +1 -1
  89. package/src/rust/components/filter_dropdown.rs +2 -2
  90. package/src/rust/components/function_dropdown.rs +2 -2
  91. package/src/rust/components/main_panel/frame_theme.rs +3 -59
  92. package/src/rust/components/main_panel/reconcile.rs +9 -4
  93. package/src/rust/components/main_panel/render.rs +62 -11
  94. package/src/rust/components/main_panel/update.rs +39 -10
  95. package/src/rust/components/main_panel.rs +26 -2
  96. package/src/rust/components/mod.rs +5 -7
  97. package/src/rust/components/new_panel_menu.rs +97 -0
  98. package/src/rust/components/number_series_style.rs +2 -3
  99. package/src/rust/components/panel_menu.rs +61 -87
  100. package/src/rust/components/panel_tab.rs +100 -43
  101. package/src/rust/components/plugin_tab.rs +125 -87
  102. package/src/rust/components/render_warning.rs +2 -2
  103. package/src/rust/components/{status_bar_counter.rs → rows_counter.rs} +10 -10
  104. package/src/rust/components/settings_panel.rs +3 -2
  105. package/src/rust/components/status_bar.rs +113 -20
  106. package/src/rust/components/status_indicator.rs +5 -14
  107. package/src/rust/components/string_column_style.rs +1 -2
  108. package/src/rust/components/{style/mod.rs → style.rs} +32 -15
  109. package/src/rust/components/style_controls/number_string_format/digits_section.rs +25 -15
  110. package/src/rust/components/style_controls/number_string_format/misc_section.rs +7 -3
  111. package/src/rust/components/style_controls/number_string_format/style_section.rs +2 -1
  112. package/src/rust/components/style_controls/number_string_format/types.rs +24 -0
  113. package/src/rust/components/style_controls/number_string_format.rs +37 -14
  114. package/src/rust/components/viewer/msg.rs +43 -30
  115. package/src/rust/components/viewer/panels.rs +50 -19
  116. package/src/rust/components/viewer/render.rs +15 -13
  117. package/src/rust/components/viewer/settings.rs +137 -68
  118. package/src/rust/components/viewer/snapshots.rs +5 -10
  119. package/src/rust/components/viewer/wiring.rs +1 -21
  120. package/src/rust/components/viewer.rs +15 -10
  121. package/src/rust/components/window_editor.rs +8 -9
  122. package/src/rust/config/column_config_schema.rs +358 -52
  123. package/src/rust/config/datetime_column_style.rs +4 -21
  124. package/src/rust/config/mod.rs +0 -2
  125. package/src/rust/config/number_string_format.rs +211 -18
  126. package/src/rust/config/workspace_config.rs +2 -1
  127. package/src/rust/custom_elements/debug_plugin.rs +1 -10
  128. package/src/rust/custom_elements/mod.rs +0 -3
  129. package/src/rust/custom_elements/viewer.rs +0 -18
  130. package/src/rust/js/plugin.rs +0 -86
  131. package/src/rust/lib.rs +12 -15
  132. package/src/rust/presentation/column_locator.rs +3 -7
  133. package/src/rust/presentation.rs +85 -38
  134. package/src/rust/queries/hosted_tables.rs +38 -0
  135. package/src/rust/queries/mod.rs +2 -0
  136. package/src/rust/queries/palette_set.rs +1 -1
  137. package/src/rust/queries/plugin_column_styles.rs +2 -2
  138. package/src/rust/renderer/activate.rs +1 -3
  139. package/src/rust/renderer/dispatch.rs +117 -30
  140. package/src/rust/renderer/limits.rs +24 -5
  141. package/src/rust/renderer/plugin_config.rs +56 -8
  142. package/src/rust/renderer/props.rs +2 -1
  143. package/src/rust/renderer.rs +14 -27
  144. package/src/rust/session/props.rs +4 -3
  145. package/src/rust/session/view_subscription.rs +19 -6
  146. package/src/rust/session.rs +38 -70
  147. package/src/rust/tasks/create_panel.rs +1 -1
  148. package/src/rust/tasks/dismiss_render_warning.rs +1 -1
  149. package/src/rust/tasks/eject.rs +1 -0
  150. package/src/rust/tasks/pipeline.rs +0 -60
  151. package/src/rust/tasks/presize_panels.rs +24 -1
  152. package/src/rust/tasks/restore_and_render.rs +0 -17
  153. package/src/rust/tasks/send_column_config.rs +1 -1
  154. package/src/rust/tasks/send_plugin_config.rs +1 -1
  155. package/src/rust/tasks/set_edit_mode.rs +1 -1
  156. package/src/rust/ui/containers/control_group.rs +113 -0
  157. package/src/rust/{components → ui}/containers/dropdown_menu.rs +5 -2
  158. package/src/rust/{components → ui}/containers/mod.rs +1 -4
  159. package/src/rust/{components → ui}/containers/scroll_panel.rs +0 -22
  160. package/src/rust/{components → ui}/containers/scroll_panel_item.rs +0 -13
  161. package/src/rust/{components → ui}/containers/select.rs +8 -8
  162. package/src/rust/{components → ui}/containers/sidebar.rs +5 -32
  163. package/src/rust/{components → ui}/containers/split_panel.rs +8 -80
  164. package/src/rust/{components → ui}/containers/tab_list.rs +15 -9
  165. package/src/rust/{components → ui}/context_menu.rs +8 -13
  166. package/src/rust/{presentation/drag_helpers.rs → ui/dragdrop.rs} +26 -31
  167. package/src/rust/{components → ui}/font_loader.rs +0 -26
  168. package/src/rust/{components → ui}/form/color_selector.rs +4 -2
  169. package/src/rust/ui/form/intl_label.rs +81 -0
  170. package/src/rust/{components → ui}/form/mirrored_textarea.rs +0 -53
  171. package/src/rust/{components → ui}/form/mod.rs +1 -10
  172. package/src/rust/{components → ui}/form/multi_stop_gradient_selector.rs +4 -5
  173. package/src/rust/{components → ui}/form/named_value_picker.rs +1 -6
  174. package/src/rust/{components → ui}/form/number_field.rs +1 -1
  175. package/src/rust/{components → ui}/form/number_range_field.rs +1 -1
  176. package/src/rust/{components → ui}/form/optional_field.rs +3 -1
  177. package/src/rust/{components → ui}/form/palette_selector.rs +4 -5
  178. package/src/rust/{components → ui}/form/select_enum_field.rs +2 -2
  179. package/src/rust/{components → ui}/form/select_value_field.rs +2 -2
  180. package/src/rust/ui/mod.rs +56 -0
  181. package/src/rust/ui/modal.rs +61 -0
  182. package/src/rust/{components → ui}/portal.rs +174 -79
  183. package/src/rust/{components/style/style_provider.rs → ui/style.rs} +4 -34
  184. package/src/rust/utils/completion.rs +0 -6
  185. package/src/rust/{config/css_scale.rs → utils/css.rs} +38 -35
  186. package/src/rust/utils/mod.rs +2 -0
  187. package/src/rust/workspace.rs +35 -0
  188. package/src/svg/boolean-type.svg +3 -2
  189. package/src/svg/checkbox-checked-icon.svg +4 -7
  190. package/src/svg/checkbox-hover.svg +3 -3
  191. package/src/svg/checkbox-off.svg +2 -3
  192. package/src/svg/checkbox-on.svg +3 -3
  193. package/src/svg/checkbox-unchecked-icon.svg +3 -3
  194. package/src/svg/datagrid-select-column.svg +8 -15
  195. package/src/svg/datagrid-select-region.svg +8 -15
  196. package/src/svg/datagrid-select-row-tree.svg +7 -12
  197. package/src/svg/datagrid-select-row.svg +8 -13
  198. package/src/svg/date-type.svg +4 -23
  199. package/src/svg/drawer-tab-hover.svg +4 -6
  200. package/src/svg/drawer-tab-invert-hover.svg +5 -5
  201. package/src/svg/drawer-tab-invert.svg +3 -5
  202. package/src/svg/drawer-tab.svg +5 -5
  203. package/src/svg/mega-menu-icons-candlestick.svg +5 -37
  204. package/src/svg/mega-menu-icons-ohlc.svg +4 -39
  205. package/src/svg/mega-menu-icons-sunburst.svg +4 -38
  206. package/src/svg/mega-menu-icons-treemap.svg +3 -43
  207. package/src/svg/mega-menu-icons-y-scatter.svg +12 -72
  208. package/src/svg/new-panel-icon.svg +4 -0
  209. package/src/svg/number-type.svg +3 -3
  210. package/src/svg/radio-hover.svg +3 -3
  211. package/src/svg/radio-off.svg +3 -3
  212. package/src/svg/radio-on.svg +3 -3
  213. package/src/svg/status_ok.svg +3 -26
  214. package/src/svg/string-type.svg +4 -8
  215. package/src/svg/theme-icon.svg +5 -5
  216. package/src/themes/blueprint.css +133 -0
  217. package/src/themes/botanical.css +3 -52
  218. package/src/themes/defaults.css +3 -144
  219. package/src/themes/dracula.css +1 -71
  220. package/src/themes/eggplant.css +131 -0
  221. package/src/themes/gruvbox-dark.css +2 -79
  222. package/src/themes/gruvbox.css +2 -40
  223. package/src/themes/icons.css +2 -10
  224. package/src/themes/intl/ar.css +185 -0
  225. package/src/themes/intl/de.css +65 -33
  226. package/src/themes/intl/es.css +60 -28
  227. package/src/themes/intl/fr.css +60 -28
  228. package/src/themes/intl/ja.css +62 -30
  229. package/src/themes/intl/pt.css +58 -26
  230. package/src/themes/intl/zh.css +68 -36
  231. package/src/themes/intl.css +42 -7
  232. package/src/themes/ledger.css +137 -0
  233. package/src/themes/monokai.css +1 -64
  234. package/src/themes/nord.css +131 -0
  235. package/src/themes/phosphor.css +1 -61
  236. package/src/themes/pro-dark.css +1 -52
  237. package/src/themes/pro.css +98 -0
  238. package/src/themes/solarized-dark.css +1 -46
  239. package/src/themes/solarized.css +1 -24
  240. package/src/themes/themes.css +10 -5
  241. package/src/themes/vaporwave.css +1 -57
  242. package/src/themes/velvet.css +132 -0
  243. package/src/ts/column-format.ts +52 -2
  244. package/src/ts/extensions.ts +0 -13
  245. package/src/ts/ts-rs/ViewOnUpdateResp.ts +1 -1
  246. package/src/css/plugin-settings-panel.css +0 -99
  247. package/src/rust/components/modal.rs +0 -177
  248. package/src/rust/custom_elements/copy_dropdown.rs +0 -219
  249. package/src/rust/custom_elements/export_dropdown.rs +0 -216
  250. package/src/rust/custom_elements/modal.rs +0 -299
  251. package/src/svg/dropdown-selector-light.svg +0 -3
  252. /package/dist/wasm/snippets/{perspective-viewer-39c3c3b28e3cbd48 → perspective-viewer-adc6f3f79141112b}/inline0.js +0 -0
  253. /package/dist/wasm/snippets/{perspective-viewer-39c3c3b28e3cbd48 → perspective-viewer-adc6f3f79141112b}/inline1.js +0 -0
  254. /package/dist/wasm/snippets/{perspective-viewer-39c3c3b28e3cbd48 → perspective-viewer-adc6f3f79141112b}/inline2.js +0 -0
  255. /package/dist/wasm/snippets/{perspective-viewer-39c3c3b28e3cbd48 → perspective-viewer-adc6f3f79141112b}/inline3.js +0 -0
  256. /package/dist/wasm/snippets/{perspective-viewer-39c3c3b28e3cbd48 → perspective-viewer-adc6f3f79141112b}/inline4.js +0 -0
  257. /package/dist/wasm/snippets/{perspective-viewer-39c3c3b28e3cbd48 → perspective-viewer-adc6f3f79141112b}/inline5.js +0 -0
  258. /package/src/css/{containers → ui/containers}/scroll-panel.css +0 -0
  259. /package/src/css/{containers → ui/containers}/split-panel.css +0 -0
  260. /package/src/css/{dom → ui/dom}/checkbox.css +0 -0
  261. /package/src/css/{dom → ui/dom}/scrollbar.css +0 -0
  262. /package/src/css/{form → ui/form}/mirrored-textarea.css +0 -0
  263. /package/src/rust/components/{form → code_editor}/highlight.rs +0 -0
  264. /package/src/rust/{components → ui}/containers/sidebar_close_button.rs +0 -0
  265. /package/src/rust/{components → ui}/form/number_input.rs +0 -0
@@ -1,3 +1,3 @@
1
- <svg width="14" height="14" viewBox="0 0 11 11" fill="none" xmlns="http://www.w3.org/2000/svg">
2
- <circle cx="5.5" cy="5.5" r="3" stroke="#3F4343" />
3
- </svg>
1
+ <svg xmlns="http://www.w3.org/2000/svg" width="14" height="14" viewBox="0 0 11 11" fill="none" stroke="#042121" stroke-width="1" stroke-linecap="round" stroke-linejoin="round">
2
+ <circle cx="5.5" cy="5.5" r="5"/>
3
+ </svg>
@@ -1,4 +1,4 @@
1
- <svg width="14" height="14" viewBox="0 0 11 11" fill="none" xmlns="http://www.w3.org/2000/svg">
2
- <circle cx="5.5" cy="5.5" r="3.5" fill="#3F4343"/>
3
- <rect x="0.5" y="0.5" width="10" height="10" rx="5" stroke="#3F4343"/>
1
+ <svg xmlns="http://www.w3.org/2000/svg" width="14" height="14" viewBox="0 0 11 11" fill="none" stroke="#042121" stroke-width="1" stroke-linecap="round" stroke-linejoin="round">
2
+ <circle cx="5.5" cy="5.5" r="5"/>
3
+ <circle cx="5.5" cy="5.5" r="3" fill="#042121" stroke="none"/>
4
4
  </svg>
@@ -1,26 +1,3 @@
1
- <svg width="20" height="20" viewBox="0 0 20 20" fill="none" xmlns="http://www.w3.org/2000/svg">
2
- <path d="M10 13.5V14.5" stroke="#042121" />
3
- <path d="M9 13.5V14.5" stroke="#042121" />
4
- <path d="M11 13.5V14.5" stroke="#042121" />
5
- <path d="M12 13.5V14.5" stroke="#042121" />
6
- <path d="M13 12.5V13.5" stroke="#042121" />
7
- <path d="M14 11.5V12.5" stroke="#042121" />
8
- <path d="M14 10.5V11.5" stroke="#042121" />
9
- <path d="M14 9.5V10.5" stroke="#042121" />
10
- <path d="M14 8.5V9.5" stroke="#042121" />
11
- <path d="M14 7.5V8.5" stroke="#042121" />
12
- <path d="M13 6.5V7.5" stroke="#042121" />
13
- <path d="M12 5.5V6.5" stroke="#042121" />
14
- <path d="M11 5.5V6.5" stroke="#042121" />
15
- <path d="M10 5.5V6.5" stroke="#042121" />
16
- <path d="M9 5.5V6.5" stroke="#042121" />
17
- <path d="M8 5.5V6.5" stroke="#042121" />
18
- <path d="M7 6.5V7.5" stroke="#042121" />
19
- <path d="M6 7.5V8.5" stroke="#042121" />
20
- <path d="M6 8.5V9.5" stroke="#042121" />
21
- <path d="M6 9.5V10.5" stroke="#042121" />
22
- <path d="M6 10.5V11.5" stroke="#042121" />
23
- <path d="M6 11.5V12.5" stroke="#042121" />
24
- <path d="M7 12.5V13.5" stroke="#042121" />
25
- <path d="M8 13.5V14.5" stroke="#042121" />
26
- </svg>
1
+ <svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 20 20" fill="none" stroke="#042121" stroke-width="1" stroke-linecap="round" stroke-linejoin="round">
2
+ <circle cx="10" cy="10" r="4.5"/>
3
+ </svg>
@@ -1,8 +1,4 @@
1
- <svg width="13" height="13" viewBox="0 0 13 13" fill="none" xmlns="http://www.w3.org/2000/svg">
2
- <defs></defs>
3
- <path d="M 6.283 5.275 L 6.309 5.275 L 6.792 6.855 L 5.806 6.855 L 6.283 5.275 Z M 7.295 8.501 L 8.144 8.501 L 6.825 4.387 L 5.819 4.387 L 4.5 8.501 L 5.303 8.501 L 5.61 7.489 L 6.988 7.489 L 7.295 8.501 Z" fill="#042121"></path>
4
- <mask id="path-2-inside-1_720_7867" fill="white">
5
- <rect width="10" height="9" rx="0.833" x="1.5" y="2"></rect>
6
- </mask>
7
- <rect width="10" height="9" rx="0.833" stroke="#042121" stroke-width="2" mask="url(#path-2-inside-1_720_7867)" x="1.5" y="2"></rect>
8
- </svg>
1
+ <svg xmlns="http://www.w3.org/2000/svg" width="13" height="13" viewBox="0 0 13 13" fill="none" stroke="#042121" stroke-width="1" stroke-linecap="round" stroke-linejoin="round">
2
+ <rect x="1.5" y="2" width="10" height="9" rx="1"/>
3
+ <path d="M4.5 8.5l2-4.5 2 4.5M5.2 7h2.6" stroke-width="0.9"/>
4
+ </svg>
@@ -1,5 +1,5 @@
1
- <svg width="21" height="21" viewBox="0 0 21 21" fill="none" xmlns="http://www.w3.org/2000/svg">
2
- <rect x="6" y="5" width="8.43346" height="1.9167" rx="0.766678" stroke="#042121"/>
3
- <path d="M14.2021 6.15002H14.4333C14.8567 6.15002 15.2 6.49328 15.2 6.9167V8.47955C15.2 8.90297 14.8567 9.24623 14.4333 9.24623H10.9832C10.5598 9.24623 10.2166 9.58948 10.2166 10.0129V11.9001" stroke="#042121"/>
4
- <path d="M9.06665 12.2834C9.06665 12.0717 9.23828 11.9 9.44999 11.9H10.6C10.8117 11.9 10.9833 12.0717 10.9833 12.2834V15.7334C10.9833 16.1568 10.6401 16.5001 10.2167 16.5001H9.83333C9.4099 16.5001 9.06665 16.1568 9.06665 15.7334V12.2834Z" stroke="#042121"/>
5
- </svg>
1
+ <svg xmlns="http://www.w3.org/2000/svg" width="21" height="21" viewBox="0 0 21 21" fill="none" stroke="#042121"
2
+ stroke-width="1" stroke-linecap="round" stroke-linejoin="round">
3
+ <circle cx="10.5" cy="10.5" r="5" />
4
+ <path d="M10.5 5.5a5 5 0 0 1 0 10z" fill="#042121" stroke="none" />
5
+ </svg>
@@ -0,0 +1,133 @@
1
+ /* ┏━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┓
2
+ * ┃ ██████ ██████ ██████ █ █ █ █ █ █▄ ▀███ █ ┃
3
+ * ┃ ▄▄▄▄▄█ █▄▄▄▄▄ ▄▄▄▄▄█ ▀▀▀▀▀█▀▀▀▀▀ █ ▀▀▀▀▀█ ████████▌▐███ ███▄ ▀█ █ ▀▀▀▀▀ ┃
4
+ * ┃ █▀▀▀▀▀ █▀▀▀▀▀ █▀██▀▀ ▄▄▄▄▄ █ ▄▄▄▄▄█ ▄▄▄▄▄█ ████████▌▐███ █████▄ █ ▄▄▄▄▄ ┃
5
+ * ┃ █ ██████ █ ▀█▄ █ ██████ █ ███▌▐███ ███████▄ █ ┃
6
+ * ┣━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┫
7
+ * ┃ Copyright (c) 2017, the Perspective Authors. ┃
8
+ * ┃ ╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌ ┃
9
+ * ┃ This file is part of the Perspective library, distributed under the terms ┃
10
+ * ┃ of the [Apache License 2.0](https://www.apache.org/licenses/LICENSE-2.0). ┃
11
+ * ┗━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┛ */
12
+
13
+ @import "./defaults.css";
14
+
15
+ perspective-viewer,
16
+ perspective-viewer[theme="Blueprint"],
17
+ perspective-viewer [theme="Blueprint"] {
18
+ --psp-theme-name: "Blueprint";
19
+ }
20
+
21
+ perspective-viewer[theme="Blueprint"],
22
+ perspective-viewer [theme="Blueprint"] {
23
+ --theme-bg0: #0c2f6b;
24
+ --theme-bg1: #103a80;
25
+ --theme-bg2: #1b478f;
26
+ --theme-bg3: #2a58a8;
27
+
28
+ --theme-fg0: #e6f0ff;
29
+ --theme-fg1: #a9c4ee;
30
+ --theme-fg2: #5b84c6;
31
+
32
+ --theme-line: #3b6fc4;
33
+ --theme-cyan: #7fd3ff;
34
+ --theme-yellow: #ffd166;
35
+ --theme-orange: #ff8a65;
36
+ --theme-green: #b8e986;
37
+ --theme-pink: #ff9ecf;
38
+ --theme-white: #ffffff;
39
+ --theme-lavender: #c3b1ff;
40
+ --theme-mint: #5ee7c7;
41
+ --theme-magenta: #f6a6ff;
42
+ --theme-sky: #9cc3ff;
43
+
44
+ background-color: var(--theme-bg0);
45
+ color: var(--theme-fg0);
46
+ color-scheme: dark;
47
+ --psp--color: var(--theme-fg0);
48
+ --psp-active--color: var(--theme-cyan);
49
+ --psp-error--color: var(--theme-orange);
50
+ --psp-inactive--color: var(--theme-fg2);
51
+ --psp-inactive--border-color: var(--theme-bg3);
52
+ --psp--background-color: var(--theme-bg0);
53
+ --psp-active--background: rgba(127, 211, 255, 0.3);
54
+ --psp-expression--operator--color: var(--theme-fg1);
55
+ --psp-expression--function--color: var(--theme-cyan);
56
+ --psp-expression--psp-error--color: var(--theme-orange);
57
+ --psp-calendar--filter: invert(1);
58
+ --psp-input--filter: invert(1);
59
+ --psp-warning--color: var(--theme-bg0);
60
+ --psp-warning--background: var(--theme-yellow);
61
+
62
+ --psp-status-icon--connected--color: var(--theme-green);
63
+ --psp-status-icon--initializing--color: var(--theme-yellow);
64
+ --psp-status-icon--psp-error--color: var(--theme-orange);
65
+
66
+ --psp-code-editor--symbol--color: var(--theme-fg0);
67
+ --psp-code-editor--literal--color: var(--theme-cyan);
68
+ --psp-code-editor--operator--color: var(--theme-yellow);
69
+ --psp-code-editor--comment--color: var(--theme-fg2);
70
+ --psp-code-editor--column--color: var(--theme-green);
71
+
72
+ --psp-datagrid--pos-cell--color: var(--theme-cyan);
73
+ --psp-datagrid--neg-cell--color: var(--theme-orange);
74
+ --psp-datagrid--hover--border-color: var(--theme-line);
75
+
76
+ --psp-charts--legend--color: var(--theme-fg1);
77
+ --psp-charts--treemap--labels: var(--theme-fg0);
78
+ --psp-charts--treemap--hover-highlight: var(--theme-white);
79
+ --psp-charts--tooltip--color: var(--theme-fg0);
80
+ --psp-charts--axis-ticks--color: var(--theme-fg0);
81
+ --psp-charts--axis-lines--color: var(--theme-fg2);
82
+ --psp-charts--gridline--color: var(--theme-bg2);
83
+ --psp-charts--tooltip--background: var(--theme-bg1);
84
+ --psp-charts--tooltip--border-color: var(--theme-line);
85
+ --psp-charts--legend--background: var(--psp--background-color);
86
+
87
+ --psp-charts--series--color: var(--theme-cyan);
88
+ --psp-charts--series-1--color: var(--theme-cyan);
89
+ --psp-charts--series-2--color: var(--theme-yellow);
90
+ --psp-charts--series-3--color: var(--theme-orange);
91
+ --psp-charts--series-4--color: var(--theme-green);
92
+ --psp-charts--series-5--color: var(--theme-pink);
93
+ --psp-charts--series-6--color: var(--theme-white);
94
+ --psp-charts--series-7--color: var(--theme-lavender);
95
+ --psp-charts--series-8--color: var(--theme-mint);
96
+ --psp-charts--series-9--color: var(--theme-magenta);
97
+ --psp-charts--series-10--color: var(--theme-sky);
98
+ --psp-datagrid--series-1--color: var(--theme-cyan);
99
+ --psp-datagrid--series-2--color: var(--theme-yellow);
100
+ --psp-datagrid--series-3--color: var(--theme-orange);
101
+ --psp-datagrid--series-4--color: var(--theme-green);
102
+ --psp-datagrid--series-5--color: var(--theme-pink);
103
+ --psp-datagrid--series-6--color: var(--theme-white);
104
+ --psp-datagrid--series-7--color: var(--theme-lavender);
105
+ --psp-datagrid--series-8--color: var(--theme-mint);
106
+ --psp-datagrid--series-9--color: var(--theme-magenta);
107
+ --psp-datagrid--series-10--color: var(--theme-sky);
108
+
109
+ --psp-charts--gradient--background: linear-gradient(
110
+ var(--theme-orange) 0%,
111
+ var(--theme-bg0) 50%,
112
+ var(--theme-cyan) 100%
113
+ );
114
+
115
+ --psp-openlayers--tile-url: "http://{a-c}.basemaps.cartocdn.com/dark_all/{z}/{x}/{y}.png";
116
+ --psp-openlayers--attribution--filter: invert(1) hue-rotate(180deg);
117
+ --psp-openlayers--element--background: var(--theme-bg1);
118
+ --psp-openlayers--category-1--color: var(--theme-cyan);
119
+ --psp-openlayers--category-2--color: var(--theme-yellow);
120
+ --psp-openlayers--category-3--color: var(--theme-orange);
121
+ --psp-openlayers--category-4--color: var(--theme-green);
122
+ --psp-openlayers--category-5--color: var(--theme-pink);
123
+ --psp-openlayers--category-6--color: var(--theme-white);
124
+ --psp-openlayers--category-7--color: var(--theme-lavender);
125
+ --psp-openlayers--category-8--color: var(--theme-mint);
126
+ --psp-openlayers--category-9--color: var(--theme-magenta);
127
+ --psp-openlayers--category-10--color: var(--theme-sky);
128
+ --psp-openlayers--gradient--background: linear-gradient(
129
+ var(--theme-orange) 0%,
130
+ var(--theme-bg0) 50%,
131
+ var(--theme-cyan) 100%
132
+ );
133
+ }
@@ -8,7 +8,8 @@
8
8
  * ┃ ╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌ ┃
9
9
  * ┃ This file is part of the Perspective library, distributed under the terms ┃
10
10
  * ┃ of the [Apache License 2.0](https://www.apache.org/licenses/LICENSE-2.0). ┃
11
- * ┗━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┛ */
11
+ * ┗━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┛
12
+ */
12
13
 
13
14
  @import "./defaults.css";
14
15
 
@@ -24,6 +25,7 @@ perspective-viewer [theme="Botanical"] {
24
25
  /* perspective-viewer-botanical--colors */
25
26
  background-color: #1a2e1a;
26
27
  color: #e0ead8;
28
+ color-scheme: dark;
27
29
  --psp--color: #e0ead8;
28
30
  --psp-active--color: #5a9e4b;
29
31
  --psp-error--color: #e8836a;
@@ -39,14 +41,6 @@ perspective-viewer [theme="Botanical"] {
39
41
  --psp-warning--color: #1a2e1a;
40
42
  --psp-warning--background: var(--psp--color);
41
43
 
42
- --psp-icon--select-arrow--mask-image: var(
43
- --psp-icon--select-arrow-light--mask-image
44
- );
45
-
46
- --psp-icon--select-arrow-hover--mask-image: var(
47
- --psp-icon--select-arrow-dark--mask-image
48
- );
49
-
50
44
  /* Syntax */
51
45
  --psp-code-editor--symbol--color: #e0ead8;
52
46
  --psp-code-editor--literal--color: #a8d8a0;
@@ -101,46 +95,3 @@ perspective-viewer [theme="Botanical"] {
101
95
  --psp-charts--map-tiles--url: "http://{a-c}.basemaps.cartocdn.com/dark_all/{z}/{x}/{y}.png";
102
96
  --psp-charts--map-tiles--attribution-: "I <3 Open Source";
103
97
  }
104
-
105
- perspective-context-menu[theme="Botanical"],
106
- perspective-copy-menu[theme="Botanical"],
107
- perspective-export-menu[theme="Botanical"],
108
- perspective-dropdown[theme="Botanical"],
109
- perspective-date-column-style[theme="Botanical"],
110
- perspective-datetime-column-style[theme="Botanical"],
111
- perspective-number-column-style[theme="Botanical"],
112
- perspective-string-column-style[theme="Botanical"] {
113
- /* perspective-viewer-botanical--colors */
114
- background-color: #1a2e1a;
115
- color: #e0ead8;
116
- --psp--color: #e0ead8;
117
- --psp-active--color: #5a9e4b;
118
- --psp-error--color: #e8836a;
119
- --psp-inactive--color: #526b4a;
120
- --psp-inactive--border-color: #3d5c3d;
121
- --psp--background-color: #1a2e1a;
122
- --psp-active--background: rgba(90, 158, 75, 0.5);
123
- --psp-expression--operator--color: #b8c9ad;
124
- --psp-expression--function--color: #7bc96f;
125
- --psp-expression--psp-error--color: rgb(232, 131, 106);
126
- --psp-calendar--filter: invert(1);
127
- --psp-input--filter: invert(1);
128
- --psp-warning--color: #1a2e1a;
129
- --psp-warning--background: var(--psp--color);
130
-
131
- --psp-icon--select-arrow--mask-image: var(
132
- --psp-icon--select-arrow-light--mask-image
133
- );
134
-
135
- --psp-icon--select-arrow-hover--mask-image: var(
136
- --psp-icon--select-arrow-dark--mask-image
137
- );
138
-
139
- --psp-code-editor--symbol--color: #e0ead8;
140
- --psp-code-editor--literal--color: #a8d8a0;
141
- --psp-code-editor--operator--color: rgb(206, 176, 104);
142
- --psp-code-editor--comment--color: rgb(120, 160, 100);
143
- --psp-code-editor--column--color: #c9a0d8;
144
-
145
- border: 1px solid #3d5c3d;
146
- }
@@ -8,55 +8,14 @@
8
8
  * ┃ ╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌ ┃
9
9
  * ┃ This file is part of the Perspective library, distributed under the terms ┃
10
10
  * ┃ of the [Apache License 2.0](https://www.apache.org/licenses/LICENSE-2.0). ┃
11
- * ┗━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┛ */
11
+ * ┗━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┛
12
+ */
12
13
 
13
14
  @import "./icons.css";
14
15
  @import "./intl.css";
15
16
 
16
17
  perspective-viewer,
17
- /* Per-panel light-DOM descendants (the plugin + `<PanelTab>`, both carrying a
18
- `theme` attribute) get the complete base too — so each panel resolves real
19
- `color`/`font-family` and every `--psp-*` from its OWN theme instead of
20
- inheriting the active panel's. Theme overrides refine this via the matching
21
- `perspective-viewer [theme="X"]` rule.
22
-
23
- `:where()` gives this clause ZERO specificity, so the panel's own
24
- `[theme="X"]` override (specificity 0,1,1) ALWAYS wins over this default base.
25
- Without it the two would tie at (0,1,1) and import order would decide — and
26
- because every theme file `@import`s `defaults.css`, the base is inlined after
27
- later overrides and the default would leak over the panel's theme. A
28
- zero-specificity rule still beats inheritance, so the base values apply where
29
- the override is silent. */
30
- :where(perspective-viewer [theme]),
31
- perspective-context-menu,
32
- perspective-copy-menu,
33
- perspective-export-menu,
34
- perspective-dropdown,
35
- perspective-date-column-style,
36
- perspective-datetime-column-style,
37
- perspective-number-column-style,
38
- perspective-string-column-style {
39
- /* Colors */
40
- --psp--color: #161616;
41
-
42
- color: var(--psp--color);
43
-
44
- --psp-inactive--color: #ababab;
45
- --psp-inactive--border-color: #dadada;
46
- --psp-active--color: #2670a9;
47
- --psp-error--color: #ff471e;
48
- --psp--background-color: #ffffff;
49
- --psp-icon-overflow-hint--color: rgba(0, 0, 0, 0.2);
50
- --psp-select--background-color: none;
51
- --psp-warning--background: #042121;
52
- --psp-warning--color: #fdfffd;
53
-
54
- /* TODO deprecate me */
55
- --psp-icon-overflow-hint--color: #fdfffd;
56
- /* Colors */
57
- --psp-placeholder--background: #8b868045;
58
-
59
- /* Dimensions */
18
+ :where(perspective-viewer [theme]) {
60
19
  --psp-button--font-size: 16px;
61
20
  --psp-config-button--padding: 15px 8px 6px 8px;
62
21
  --psp-column-selector--font-size: 16px;
@@ -65,7 +24,6 @@ perspective-string-column-style {
65
24
  --psp-top-panel-row--display: inline-flex;
66
25
  --psp-button--min-width: 33px;
67
26
 
68
- /* Fonts */
69
27
  font-family:
70
28
  "ui-monospace", "SFMono-Regular", "SF Mono", "Menlo", "Consolas",
71
29
  "Liberation Mono", monospace;
@@ -73,92 +31,9 @@ perspective-string-column-style {
73
31
  "ui-monospace", "SFMono-Regular", "SF Mono", "Menlo", "Consolas",
74
32
  "Liberation Mono", monospace;
75
33
 
76
- /* Colors (select arrow defaults) */
77
- --psp-icon--select-arrow--mask-image: var(
78
- --psp-icon--select-arrow-dark--mask-image
79
- );
80
- --psp-icon--select-arrow-hover--mask-image: var(
81
- --psp-icon--select-arrow-light--mask-image
82
- );
83
-
84
- /* webgl */
85
34
  --psp-label--webgl-y1--content: "arrow_upward";
86
35
  --psp-label--webgl-y2--content: "arrow_downward";
87
- --psp-charts--treemap-axis--lines: none;
88
- --psp-charts--tooltip--background-color: rgba(155, 155, 155, 0.8);
89
- --psp-charts--tooltip--color: #161616;
90
- --psp-charts--tooltip--border-color: #fff;
91
- --psp-charts--tooltip--box-shadow: 0 2px 4px 0 rgb(0 0 0 / 10%);
92
- --psp-charts--gridline--color: #eaedef;
93
- --psp-charts--axis-ticks--color: #161616;
94
- --psp-charts--axis-lines--color: #c5c9d0;
95
- --psp-charts--legend--background: var(--psp--background-color);
96
- --psp-charts--series--color: rgba(31, 119, 180, 0.8);
97
- --psp-charts--series-1--color: #0366d6;
98
- --psp-charts--series-2--color: #ff7f0e;
99
- --psp-charts--series-3--color: #2ca02c;
100
- --psp-charts--series-4--color: #d62728;
101
- --psp-charts--series-5--color: #9467bd;
102
- --psp-charts--series-6--color: #8c564b;
103
- --psp-charts--series-7--color: #e377c2;
104
- --psp-charts--series-8--color: #7f7f7f;
105
- --psp-charts--series-9--color: #bcbd22;
106
- --psp-charts--series-10--color: #17becf;
107
- --psp-datagrid--series-1--color: #0366d6;
108
- --psp-datagrid--series-2--color: #ff7f0e;
109
- --psp-datagrid--series-3--color: #2ca02c;
110
- --psp-datagrid--series-4--color: #d62728;
111
- --psp-datagrid--series-5--color: #9467bd;
112
- --psp-datagrid--series-6--color: #8c564b;
113
- --psp-datagrid--series-7--color: #e377c2;
114
- --psp-datagrid--series-8--color: #7f7f7f;
115
- --psp-datagrid--series-9--color: #bcbd22;
116
- --psp-datagrid--series-10--color: #17becf;
117
- --psp-charts--gradient--background: linear-gradient(
118
- #4d342f 0%,
119
- #e4521b 22.5%,
120
- #feeb65 42.5%,
121
- #f0f0f0 50%,
122
- #dcedc8 57.5%,
123
- #42b3d5 67.5%,
124
- #1a237e 100%
125
- );
126
-
127
- /* Datagrid */
128
- --psp-datagrid--pos-cell--color: #338dcd;
129
- --psp-datagrid--neg-cell--color: #ff471e;
130
-
131
- /* OpenLayers */
132
- --psp-openlayers--tile-url: "http://{a-c}.basemaps.cartocdn.com/light_all/{z}/{x}/{y}.png";
133
- --psp-openlayers--element--background: #fff;
134
- --psp-openlayers--category-1--color: #0366d6;
135
- --psp-openlayers--category-2--color: #ff7f0e;
136
- --psp-openlayers--category-3--color: #2ca02c;
137
- --psp-openlayers--category-4--color: #d62728;
138
- --psp-openlayers--category-5--color: #9467bd;
139
- --psp-openlayers--category-6--color: #8c564b;
140
- --psp-openlayers--category-7--color: #e377c2;
141
- --psp-openlayers--category-8--color: #7f7f7f;
142
- --psp-openlayers--category-9--color: #bcbd22;
143
- --psp-openlayers--category-10--color: #17becf;
144
- --psp-openlayers--gradient--background: linear-gradient(
145
- #4d342f 0%,
146
- #e4521b 22.5%,
147
- #feeb65 42.5%,
148
- #f0f0f0 50%,
149
- #dcedc8 57.5%,
150
- #42b3d5 67.5%,
151
- #1a237e 100%
152
- );
153
36
 
154
- /* Completeness anchors for per-panel theming. These are color/appearance
155
- vars that some themes (e.g. Pro Dark) set but the light default does not
156
- — so without a base value an unthemed/light panel would *inherit* them
157
- from a differently-themed (active) panel, mixing themes. `initial` makes
158
- the custom property the guaranteed-invalid value: consumers fall back to
159
- their own default (identical to the current unthemed rendering) AND the
160
- element no longer inherits a neighboring panel's value. A theme that
161
- wants a real value overrides it in its `[theme="X"]` block as usual. */
162
37
  --psp-active--background: initial;
163
38
  --psp-calendar--filter: initial;
164
39
  --psp-charts--legend--color: initial;
@@ -191,19 +66,3 @@ perspective-string-column-style {
191
66
  --psp-status-icon--initializing--color: initial;
192
67
  --psp-status-icon--psp-error--color: initial;
193
68
  }
194
-
195
- /* Modal defaults */
196
- perspective-context-menu,
197
- perspective-copy-menu,
198
- perspective-export-menu,
199
- perspective-dropdown,
200
- perspective-date-column-style,
201
- perspective-datetime-column-style,
202
- perspective-number-column-style,
203
- perspective-string-column-style {
204
- background-color: white;
205
- border: 1px solid var(--psp-inactive--color);
206
- border-radius: 0 0 2px 2px;
207
- --psp-label--column-style-pos-color--content: "+";
208
- --psp-label--column-style-neg-color--content: "-";
209
- }
@@ -23,6 +23,7 @@ perspective-viewer [theme="Dracula"] {
23
23
  /* perspective-viewer-pro-dark--colors (overrides) */
24
24
  background-color: #242526;
25
25
  color: white;
26
+ color-scheme: dark;
26
27
  --psp--color: white;
27
28
  --psp-active--color: #2770a9;
28
29
  --psp-error--color: #ff9485;
@@ -38,14 +39,6 @@ perspective-viewer [theme="Dracula"] {
38
39
  --psp-warning--color: #242526;
39
40
  --psp-warning--background: var(--psp--color);
40
41
 
41
- --psp-icon--select-arrow--mask-image: var(
42
- --psp-icon--select-arrow-light--mask-image
43
- );
44
-
45
- --psp-icon--select-arrow-hover--mask-image: var(
46
- --psp-icon--select-arrow-dark--mask-image
47
- );
48
-
49
42
  --psp-code-editor--symbol--color: white;
50
43
  --psp-code-editor--literal--color: #7dc3f0;
51
44
  --psp-code-editor--operator--color: rgb(23, 166, 123);
@@ -172,66 +165,3 @@ perspective-viewer [theme="Dracula"] {
172
165
  var(--theme-blue)
173
166
  ) !important;
174
167
  }
175
-
176
- perspective-context-menu[theme="Dracula"],
177
- perspective-copy-menu[theme="Dracula"],
178
- perspective-export-menu[theme="Dracula"],
179
- perspective-dropdown[theme="Dracula"] {
180
- /* perspective-viewer-pro-dark--colors (overrides) */
181
- background-color: #242526;
182
- color: white;
183
- --psp--color: white;
184
- --psp-active--color: #2770a9;
185
- --psp-error--color: #ff9485;
186
- --psp-inactive--color: #61656e;
187
- --psp-inactive--border-color: #4c505b;
188
- --psp--background-color: #242526;
189
- --psp-active--background: rgba(39, 113, 170, 0.5);
190
- --psp-expression--operator--color: #c5c9d0;
191
- --psp-expression--function--color: #22a0ce;
192
- --psp-expression--psp-error--color: rgb(255, 136, 136);
193
- --psp-calendar--filter: invert(1);
194
- --psp-input--filter: invert(1);
195
- --psp-warning--color: #242526;
196
- --psp-warning--background: var(--psp--color);
197
- --psp-icon--select-arrow--mask-image: var(
198
- --psp-icon--select-arrow-light--mask-image
199
- );
200
- --psp-icon--select-arrow-hover--mask-image: var(
201
- --psp-icon--select-arrow-dark--mask-image
202
- );
203
- --psp-code-editor--symbol--color: white;
204
- --psp-code-editor--literal--color: #7dc3f0;
205
- --psp-code-editor--operator--color: rgb(23, 166, 123);
206
- --psp-code-editor--comment--color: rgb(204, 120, 48);
207
- --psp-code-editor--column--color: #e18ee1;
208
-
209
- border: 1px solid #4c505b;
210
-
211
- /* perspective-viewer-dracula--colors */
212
- --theme-bg0: #191a22;
213
- --theme-bg1: #282a36;
214
- --theme-bg2: #44475a;
215
- --theme-gray: #928374;
216
- --theme-fg0: #f8f8f2;
217
- --theme-fg1: #6272a4;
218
- --theme-fg2: #44475a;
219
- --theme-red: #ff5555;
220
- --theme-green: #50fa7b;
221
- --theme-yellow: #f1fa8c;
222
- --theme-blue: #8be9fd;
223
- --theme-purple: #bd93f9;
224
- --theme-orange: #ffb86c;
225
- --theme-pink: #ff79c6;
226
-
227
- color: var(--theme-fg0);
228
- --psp--color: var(--theme-fg1);
229
- --psp-inactive--color: var(--theme-fg2);
230
- --psp-inactive--border-color: var(--theme-bg2);
231
- --psp--background-color: var(--theme-bg1);
232
- --psp-status-icon--connected--color: var(--theme-green);
233
- --psp-status-icon--initializing--color: var(--theme-yellow);
234
- --psp-status-icon--psp-error--color: var(--theme-red);
235
-
236
- background-color: var(--theme-bg0);
237
- }