@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.
- package/dist/cdn/perspective-viewer.js +8 -8
- package/dist/cdn/perspective-viewer.js.map +3 -3
- package/dist/css/blueprint.css +1 -0
- package/dist/css/botanical.css +1 -1
- package/dist/css/dracula.css +1 -1
- package/dist/css/eggplant.css +1 -0
- package/dist/css/gruvbox-dark.css +1 -1
- package/dist/css/gruvbox.css +1 -1
- package/dist/css/icons.css +1 -1
- package/dist/css/intl/ar.css +1 -0
- package/dist/css/intl/de.css +1 -1
- package/dist/css/intl/es.css +1 -1
- package/dist/css/intl/fr.css +1 -1
- package/dist/css/intl/ja.css +1 -1
- package/dist/css/intl/pt.css +1 -1
- package/dist/css/intl/zh.css +1 -1
- package/dist/css/intl.css +1 -1
- package/dist/css/ledger.css +1 -0
- package/dist/css/monokai.css +1 -1
- package/dist/css/nord.css +1 -0
- package/dist/css/phosphor.css +1 -1
- package/dist/css/pro-dark.css +1 -1
- package/dist/css/pro.css +1 -1
- package/dist/css/solarized-dark.css +1 -1
- package/dist/css/solarized.css +1 -1
- package/dist/css/themes.css +1 -1
- package/dist/css/vaporwave.css +1 -1
- package/dist/css/velvet.css +1 -0
- package/dist/docs/perspective-docs.json +1 -1
- package/dist/esm/column-format.d.ts +16 -3
- package/dist/esm/extensions.d.ts +0 -5
- package/dist/esm/perspective-viewer.inline.js +7 -7
- package/dist/esm/perspective-viewer.inline.js.map +3 -3
- package/dist/esm/perspective-viewer.js +8 -8
- package/dist/esm/perspective-viewer.js.map +3 -3
- package/dist/esm/ts-rs/ViewOnUpdateResp.d.ts +1 -1
- package/dist/wasm/perspective-viewer.d.ts +62 -73
- package/dist/wasm/perspective-viewer.js +230 -238
- package/dist/wasm/perspective-viewer.wasm +0 -0
- package/dist/wasm/perspective-viewer.wasm.d.ts +18 -28
- package/package.json +7 -7
- package/src/css/_context_menu.css +1 -1
- package/src/css/_dropdown_menu.css +1 -1
- package/src/css/_viewer_bundle.css +7 -8
- package/src/css/column-dropdown.css +0 -3
- package/src/css/column-selector.css +8 -5
- package/src/css/column-settings-panel.css +0 -206
- package/src/css/column-style.css +95 -0
- package/src/css/config-selector.css +18 -10
- package/src/css/filter-dropdown.css +5 -5
- package/src/css/form/debug.css +28 -4
- package/src/css/function-dropdown.css +5 -5
- package/src/css/panel-tab.css +23 -0
- package/src/css/plugin-selector.css +6 -5
- package/src/css/render-warning.css +1 -1
- package/src/css/status-bar.css +52 -21
- package/src/css/type-icon.css +1 -3
- package/src/css/{containers → ui/containers}/context-menu.css +22 -16
- package/src/css/ui/containers/dropdown-menu-items.css +66 -0
- package/src/css/{containers → ui/containers}/dropdown-menu.css +8 -53
- package/src/css/{containers → ui/containers}/tabs.css +13 -3
- package/src/css/{dom → ui/dom}/select.css +19 -8
- package/src/css/viewer.css +32 -31
- package/src/rust/agent/tools.rs +5 -2
- package/src/rust/components/chat_panel.rs +1 -1
- package/src/rust/components/{form/code_editor.rs → code_editor.rs} +4 -2
- package/src/rust/components/column_dropdown.rs +2 -2
- package/src/rust/components/column_selector/active_column.rs +15 -9
- package/src/rust/components/column_selector/aggregate_selector.rs +1 -1
- package/src/rust/components/column_selector/config_selector.rs +2 -2
- package/src/rust/components/column_selector/filter_column.rs +8 -5
- package/src/rust/components/column_selector/inactive_column.rs +4 -2
- package/src/rust/components/column_selector/pivot_column.rs +4 -3
- package/src/rust/components/column_selector/sort_column.rs +7 -4
- package/src/rust/components/column_selector.rs +3 -3
- package/src/rust/components/column_settings_sidebar/style_tab/agg_depth_selector.rs +1 -1
- package/src/rust/components/column_settings_sidebar/style_tab/primitive_field.rs +15 -17
- package/src/rust/components/column_settings_sidebar/style_tab/symbol/symbol_selector.rs +1 -1
- package/src/rust/components/column_settings_sidebar/style_tab.rs +296 -238
- package/src/rust/components/column_settings_sidebar.rs +3 -4
- package/src/rust/components/copy_dropdown.rs +1 -1
- package/src/rust/components/datetime_column_style/custom.rs +1 -3
- package/src/rust/components/datetime_column_style/simple.rs +16 -6
- package/src/rust/components/datetime_column_style.rs +51 -12
- package/src/rust/components/{form/debug.rs → debug_panel.rs} +5 -5
- package/src/rust/components/{containers/dragdrop_list.rs → dragdrop_list.rs} +2 -10
- package/src/rust/components/export_dropdown.rs +1 -1
- package/src/rust/components/expression_editor.rs +1 -1
- package/src/rust/components/filter_dropdown.rs +2 -2
- package/src/rust/components/function_dropdown.rs +2 -2
- package/src/rust/components/main_panel/frame_theme.rs +3 -59
- package/src/rust/components/main_panel/reconcile.rs +9 -4
- package/src/rust/components/main_panel/render.rs +62 -11
- package/src/rust/components/main_panel/update.rs +39 -10
- package/src/rust/components/main_panel.rs +26 -2
- package/src/rust/components/mod.rs +5 -7
- package/src/rust/components/new_panel_menu.rs +97 -0
- package/src/rust/components/number_series_style.rs +2 -3
- package/src/rust/components/panel_menu.rs +61 -87
- package/src/rust/components/panel_tab.rs +100 -43
- package/src/rust/components/plugin_tab.rs +125 -87
- package/src/rust/components/render_warning.rs +2 -2
- package/src/rust/components/{status_bar_counter.rs → rows_counter.rs} +10 -10
- package/src/rust/components/settings_panel.rs +3 -2
- package/src/rust/components/status_bar.rs +113 -20
- package/src/rust/components/status_indicator.rs +5 -14
- package/src/rust/components/string_column_style.rs +1 -2
- package/src/rust/components/{style/mod.rs → style.rs} +32 -15
- package/src/rust/components/style_controls/number_string_format/digits_section.rs +25 -15
- package/src/rust/components/style_controls/number_string_format/misc_section.rs +7 -3
- package/src/rust/components/style_controls/number_string_format/style_section.rs +2 -1
- package/src/rust/components/style_controls/number_string_format/types.rs +24 -0
- package/src/rust/components/style_controls/number_string_format.rs +37 -14
- package/src/rust/components/viewer/msg.rs +43 -30
- package/src/rust/components/viewer/panels.rs +50 -19
- package/src/rust/components/viewer/render.rs +15 -13
- package/src/rust/components/viewer/settings.rs +137 -68
- package/src/rust/components/viewer/snapshots.rs +5 -10
- package/src/rust/components/viewer/wiring.rs +1 -21
- package/src/rust/components/viewer.rs +15 -10
- package/src/rust/components/window_editor.rs +8 -9
- package/src/rust/config/column_config_schema.rs +358 -52
- package/src/rust/config/datetime_column_style.rs +4 -21
- package/src/rust/config/mod.rs +0 -2
- package/src/rust/config/number_string_format.rs +211 -18
- package/src/rust/config/workspace_config.rs +2 -1
- package/src/rust/custom_elements/debug_plugin.rs +1 -10
- package/src/rust/custom_elements/mod.rs +0 -3
- package/src/rust/custom_elements/viewer.rs +0 -18
- package/src/rust/js/plugin.rs +0 -86
- package/src/rust/lib.rs +12 -15
- package/src/rust/presentation/column_locator.rs +3 -7
- package/src/rust/presentation.rs +85 -38
- package/src/rust/queries/hosted_tables.rs +38 -0
- package/src/rust/queries/mod.rs +2 -0
- package/src/rust/queries/palette_set.rs +1 -1
- package/src/rust/queries/plugin_column_styles.rs +2 -2
- package/src/rust/renderer/activate.rs +1 -3
- package/src/rust/renderer/dispatch.rs +117 -30
- package/src/rust/renderer/limits.rs +24 -5
- package/src/rust/renderer/plugin_config.rs +56 -8
- package/src/rust/renderer/props.rs +2 -1
- package/src/rust/renderer.rs +14 -27
- package/src/rust/session/props.rs +4 -3
- package/src/rust/session/view_subscription.rs +19 -6
- package/src/rust/session.rs +38 -70
- package/src/rust/tasks/create_panel.rs +1 -1
- package/src/rust/tasks/dismiss_render_warning.rs +1 -1
- package/src/rust/tasks/eject.rs +1 -0
- package/src/rust/tasks/pipeline.rs +0 -60
- package/src/rust/tasks/presize_panels.rs +24 -1
- package/src/rust/tasks/restore_and_render.rs +0 -17
- package/src/rust/tasks/send_column_config.rs +1 -1
- package/src/rust/tasks/send_plugin_config.rs +1 -1
- package/src/rust/tasks/set_edit_mode.rs +1 -1
- package/src/rust/ui/containers/control_group.rs +113 -0
- package/src/rust/{components → ui}/containers/dropdown_menu.rs +5 -2
- package/src/rust/{components → ui}/containers/mod.rs +1 -4
- package/src/rust/{components → ui}/containers/scroll_panel.rs +0 -22
- package/src/rust/{components → ui}/containers/scroll_panel_item.rs +0 -13
- package/src/rust/{components → ui}/containers/select.rs +8 -8
- package/src/rust/{components → ui}/containers/sidebar.rs +5 -32
- package/src/rust/{components → ui}/containers/split_panel.rs +8 -80
- package/src/rust/{components → ui}/containers/tab_list.rs +15 -9
- package/src/rust/{components → ui}/context_menu.rs +8 -13
- package/src/rust/{presentation/drag_helpers.rs → ui/dragdrop.rs} +26 -31
- package/src/rust/{components → ui}/font_loader.rs +0 -26
- package/src/rust/{components → ui}/form/color_selector.rs +4 -2
- package/src/rust/ui/form/intl_label.rs +81 -0
- package/src/rust/{components → ui}/form/mirrored_textarea.rs +0 -53
- package/src/rust/{components → ui}/form/mod.rs +1 -10
- package/src/rust/{components → ui}/form/multi_stop_gradient_selector.rs +4 -5
- package/src/rust/{components → ui}/form/named_value_picker.rs +1 -6
- package/src/rust/{components → ui}/form/number_field.rs +1 -1
- package/src/rust/{components → ui}/form/number_range_field.rs +1 -1
- package/src/rust/{components → ui}/form/optional_field.rs +3 -1
- package/src/rust/{components → ui}/form/palette_selector.rs +4 -5
- package/src/rust/{components → ui}/form/select_enum_field.rs +2 -2
- package/src/rust/{components → ui}/form/select_value_field.rs +2 -2
- package/src/rust/ui/mod.rs +56 -0
- package/src/rust/ui/modal.rs +61 -0
- package/src/rust/{components → ui}/portal.rs +174 -79
- package/src/rust/{components/style/style_provider.rs → ui/style.rs} +4 -34
- package/src/rust/utils/completion.rs +0 -6
- package/src/rust/{config/css_scale.rs → utils/css.rs} +38 -35
- package/src/rust/utils/mod.rs +2 -0
- package/src/rust/workspace.rs +35 -0
- package/src/svg/boolean-type.svg +3 -2
- package/src/svg/checkbox-checked-icon.svg +4 -7
- package/src/svg/checkbox-hover.svg +3 -3
- package/src/svg/checkbox-off.svg +2 -3
- package/src/svg/checkbox-on.svg +3 -3
- package/src/svg/checkbox-unchecked-icon.svg +3 -3
- package/src/svg/datagrid-select-column.svg +8 -15
- package/src/svg/datagrid-select-region.svg +8 -15
- package/src/svg/datagrid-select-row-tree.svg +7 -12
- package/src/svg/datagrid-select-row.svg +8 -13
- package/src/svg/date-type.svg +4 -23
- package/src/svg/drawer-tab-hover.svg +4 -6
- package/src/svg/drawer-tab-invert-hover.svg +5 -5
- package/src/svg/drawer-tab-invert.svg +3 -5
- package/src/svg/drawer-tab.svg +5 -5
- package/src/svg/mega-menu-icons-candlestick.svg +5 -37
- package/src/svg/mega-menu-icons-ohlc.svg +4 -39
- package/src/svg/mega-menu-icons-sunburst.svg +4 -38
- package/src/svg/mega-menu-icons-treemap.svg +3 -43
- package/src/svg/mega-menu-icons-y-scatter.svg +12 -72
- package/src/svg/new-panel-icon.svg +4 -0
- package/src/svg/number-type.svg +3 -3
- package/src/svg/radio-hover.svg +3 -3
- package/src/svg/radio-off.svg +3 -3
- package/src/svg/radio-on.svg +3 -3
- package/src/svg/status_ok.svg +3 -26
- package/src/svg/string-type.svg +4 -8
- package/src/svg/theme-icon.svg +5 -5
- package/src/themes/blueprint.css +133 -0
- package/src/themes/botanical.css +3 -52
- package/src/themes/defaults.css +3 -144
- package/src/themes/dracula.css +1 -71
- package/src/themes/eggplant.css +131 -0
- package/src/themes/gruvbox-dark.css +2 -79
- package/src/themes/gruvbox.css +2 -40
- package/src/themes/icons.css +2 -10
- package/src/themes/intl/ar.css +185 -0
- package/src/themes/intl/de.css +65 -33
- package/src/themes/intl/es.css +60 -28
- package/src/themes/intl/fr.css +60 -28
- package/src/themes/intl/ja.css +62 -30
- package/src/themes/intl/pt.css +58 -26
- package/src/themes/intl/zh.css +68 -36
- package/src/themes/intl.css +42 -7
- package/src/themes/ledger.css +137 -0
- package/src/themes/monokai.css +1 -64
- package/src/themes/nord.css +131 -0
- package/src/themes/phosphor.css +1 -61
- package/src/themes/pro-dark.css +1 -52
- package/src/themes/pro.css +98 -0
- package/src/themes/solarized-dark.css +1 -46
- package/src/themes/solarized.css +1 -24
- package/src/themes/themes.css +10 -5
- package/src/themes/vaporwave.css +1 -57
- package/src/themes/velvet.css +132 -0
- package/src/ts/column-format.ts +52 -2
- package/src/ts/extensions.ts +0 -13
- package/src/ts/ts-rs/ViewOnUpdateResp.ts +1 -1
- package/src/css/plugin-settings-panel.css +0 -99
- package/src/rust/components/modal.rs +0 -177
- package/src/rust/custom_elements/copy_dropdown.rs +0 -219
- package/src/rust/custom_elements/export_dropdown.rs +0 -216
- package/src/rust/custom_elements/modal.rs +0 -299
- package/src/svg/dropdown-selector-light.svg +0 -3
- /package/dist/wasm/snippets/{perspective-viewer-39c3c3b28e3cbd48 → perspective-viewer-adc6f3f79141112b}/inline0.js +0 -0
- /package/dist/wasm/snippets/{perspective-viewer-39c3c3b28e3cbd48 → perspective-viewer-adc6f3f79141112b}/inline1.js +0 -0
- /package/dist/wasm/snippets/{perspective-viewer-39c3c3b28e3cbd48 → perspective-viewer-adc6f3f79141112b}/inline2.js +0 -0
- /package/dist/wasm/snippets/{perspective-viewer-39c3c3b28e3cbd48 → perspective-viewer-adc6f3f79141112b}/inline3.js +0 -0
- /package/dist/wasm/snippets/{perspective-viewer-39c3c3b28e3cbd48 → perspective-viewer-adc6f3f79141112b}/inline4.js +0 -0
- /package/dist/wasm/snippets/{perspective-viewer-39c3c3b28e3cbd48 → perspective-viewer-adc6f3f79141112b}/inline5.js +0 -0
- /package/src/css/{containers → ui/containers}/scroll-panel.css +0 -0
- /package/src/css/{containers → ui/containers}/split-panel.css +0 -0
- /package/src/css/{dom → ui/dom}/checkbox.css +0 -0
- /package/src/css/{dom → ui/dom}/scrollbar.css +0 -0
- /package/src/css/{form → ui/form}/mirrored-textarea.css +0 -0
- /package/src/rust/components/{form → code_editor}/highlight.rs +0 -0
- /package/src/rust/{components → ui}/containers/sidebar_close_button.rs +0 -0
- /package/src/rust/{components → ui}/form/number_input.rs +0 -0
|
@@ -0,0 +1,137 @@
|
|
|
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="Ledger"],
|
|
17
|
+
perspective-viewer [theme="Ledger"] {
|
|
18
|
+
--psp-theme-name: "Ledger";
|
|
19
|
+
}
|
|
20
|
+
|
|
21
|
+
perspective-viewer[theme="Ledger"],
|
|
22
|
+
perspective-viewer [theme="Ledger"] {
|
|
23
|
+
color-scheme: light;
|
|
24
|
+
--theme-paper-0: #fbf7ec;
|
|
25
|
+
--theme-paper-1: #f4eedd;
|
|
26
|
+
--theme-paper-2: #e6ddc4;
|
|
27
|
+
--theme-rule-0: #dfe7d9;
|
|
28
|
+
--theme-rule-1: #b9cbb3;
|
|
29
|
+
|
|
30
|
+
--theme-ink-0: #2b2a26;
|
|
31
|
+
--theme-ink-1: #5d574b;
|
|
32
|
+
--theme-ink-2: #a29c8e;
|
|
33
|
+
|
|
34
|
+
--theme-blue: #1f4e8c;
|
|
35
|
+
--theme-red: #b3261e;
|
|
36
|
+
--theme-green: #2e6b3a;
|
|
37
|
+
--theme-ochre: #b7791f;
|
|
38
|
+
--theme-violet: #5b3a8c;
|
|
39
|
+
--theme-sepia: #8a5a2b;
|
|
40
|
+
--theme-teal: #1d7a7a;
|
|
41
|
+
--theme-magenta: #a03a6a;
|
|
42
|
+
--theme-olive: #4a6b1f;
|
|
43
|
+
|
|
44
|
+
background-color: var(--theme-paper-1);
|
|
45
|
+
color: var(--theme-ink-0);
|
|
46
|
+
--psp--color: var(--theme-ink-0);
|
|
47
|
+
--psp-active--color: var(--theme-blue);
|
|
48
|
+
--psp-error--color: var(--theme-red);
|
|
49
|
+
--psp-inactive--color: var(--theme-ink-2);
|
|
50
|
+
--psp-inactive--border-color: var(--theme-paper-2);
|
|
51
|
+
--psp--background-color: var(--theme-paper-0);
|
|
52
|
+
--psp-active--background: rgba(31, 78, 140, 0.15);
|
|
53
|
+
--psp-expression--operator--color: var(--theme-ink-1);
|
|
54
|
+
--psp-expression--function--color: var(--theme-blue);
|
|
55
|
+
--psp-expression--psp-error--color: var(--theme-red);
|
|
56
|
+
--psp-warning--color: var(--theme-paper-0);
|
|
57
|
+
--psp-warning--background: var(--theme-ink-0);
|
|
58
|
+
--psp-icon-overflow-hint--color: rgba(43, 42, 38, 0.2);
|
|
59
|
+
--psp-placeholder--background: rgba(162, 156, 142, 0.3);
|
|
60
|
+
|
|
61
|
+
--psp-status-icon--connected--color: var(--theme-green);
|
|
62
|
+
--psp-status-icon--initializing--color: var(--theme-ochre);
|
|
63
|
+
--psp-status-icon--psp-error--color: var(--theme-red);
|
|
64
|
+
|
|
65
|
+
--psp-column-type--float--color: var(--theme-blue);
|
|
66
|
+
--psp-column-type--string--color: var(--theme-red);
|
|
67
|
+
--psp-column-type--date--color: var(--theme-teal);
|
|
68
|
+
--psp-column-type--boolean--color: var(--theme-ochre);
|
|
69
|
+
|
|
70
|
+
--psp-code-editor--symbol--color: var(--theme-ink-0);
|
|
71
|
+
--psp-code-editor--literal--color: var(--theme-blue);
|
|
72
|
+
--psp-code-editor--operator--color: var(--theme-sepia);
|
|
73
|
+
--psp-code-editor--comment--color: var(--theme-ink-2);
|
|
74
|
+
--psp-code-editor--column--color: var(--theme-violet);
|
|
75
|
+
|
|
76
|
+
--psp-datagrid--pos-cell--color: var(--theme-green);
|
|
77
|
+
--psp-datagrid--neg-cell--color: var(--theme-red);
|
|
78
|
+
--psp-datagrid--hover--border-color: var(--theme-rule-1);
|
|
79
|
+
--psp-datagrid--border-color: var(--theme-rule-1);
|
|
80
|
+
|
|
81
|
+
--psp-charts--legend--color: var(--theme-ink-1);
|
|
82
|
+
--psp-charts--treemap--labels: var(--theme-ink-0);
|
|
83
|
+
--psp-charts--treemap--hover-highlight: var(--theme-ink-0);
|
|
84
|
+
--psp-charts--tooltip--color: var(--theme-ink-0);
|
|
85
|
+
--psp-charts--axis-ticks--color: var(--theme-ink-0);
|
|
86
|
+
--psp-charts--axis-lines--color: var(--theme-rule-1);
|
|
87
|
+
--psp-charts--gridline--color: var(--theme-rule-0);
|
|
88
|
+
--psp-charts--tooltip--background: var(--theme-paper-0);
|
|
89
|
+
--psp-charts--tooltip--border-color: var(--theme-paper-2);
|
|
90
|
+
--psp-charts--legend--background: var(--psp--background-color);
|
|
91
|
+
|
|
92
|
+
--psp-charts--series--color: var(--theme-blue);
|
|
93
|
+
--psp-charts--series-1--color: var(--theme-blue);
|
|
94
|
+
--psp-charts--series-2--color: var(--theme-red);
|
|
95
|
+
--psp-charts--series-3--color: var(--theme-green);
|
|
96
|
+
--psp-charts--series-4--color: var(--theme-ochre);
|
|
97
|
+
--psp-charts--series-5--color: var(--theme-violet);
|
|
98
|
+
--psp-charts--series-6--color: var(--theme-sepia);
|
|
99
|
+
--psp-charts--series-7--color: var(--theme-teal);
|
|
100
|
+
--psp-charts--series-8--color: var(--theme-ink-1);
|
|
101
|
+
--psp-charts--series-9--color: var(--theme-magenta);
|
|
102
|
+
--psp-charts--series-10--color: var(--theme-olive);
|
|
103
|
+
--psp-datagrid--series-1--color: var(--theme-blue);
|
|
104
|
+
--psp-datagrid--series-2--color: var(--theme-red);
|
|
105
|
+
--psp-datagrid--series-3--color: var(--theme-green);
|
|
106
|
+
--psp-datagrid--series-4--color: var(--theme-ochre);
|
|
107
|
+
--psp-datagrid--series-5--color: var(--theme-violet);
|
|
108
|
+
--psp-datagrid--series-6--color: var(--theme-sepia);
|
|
109
|
+
--psp-datagrid--series-7--color: var(--theme-teal);
|
|
110
|
+
--psp-datagrid--series-8--color: var(--theme-ink-1);
|
|
111
|
+
--psp-datagrid--series-9--color: var(--theme-magenta);
|
|
112
|
+
--psp-datagrid--series-10--color: var(--theme-olive);
|
|
113
|
+
|
|
114
|
+
--psp-charts--gradient--background: linear-gradient(
|
|
115
|
+
var(--theme-red) 0%,
|
|
116
|
+
var(--theme-paper-1) 50%,
|
|
117
|
+
var(--theme-green) 100%
|
|
118
|
+
);
|
|
119
|
+
|
|
120
|
+
--psp-openlayers--tile-url: "http://{a-c}.basemaps.cartocdn.com/light_all/{z}/{x}/{y}.png";
|
|
121
|
+
--psp-openlayers--element--background: var(--theme-paper-0);
|
|
122
|
+
--psp-openlayers--category-1--color: var(--theme-blue);
|
|
123
|
+
--psp-openlayers--category-2--color: var(--theme-red);
|
|
124
|
+
--psp-openlayers--category-3--color: var(--theme-green);
|
|
125
|
+
--psp-openlayers--category-4--color: var(--theme-ochre);
|
|
126
|
+
--psp-openlayers--category-5--color: var(--theme-violet);
|
|
127
|
+
--psp-openlayers--category-6--color: var(--theme-sepia);
|
|
128
|
+
--psp-openlayers--category-7--color: var(--theme-teal);
|
|
129
|
+
--psp-openlayers--category-8--color: var(--theme-ink-1);
|
|
130
|
+
--psp-openlayers--category-9--color: var(--theme-magenta);
|
|
131
|
+
--psp-openlayers--category-10--color: var(--theme-olive);
|
|
132
|
+
--psp-openlayers--gradient--background: linear-gradient(
|
|
133
|
+
var(--theme-red) 0%,
|
|
134
|
+
var(--theme-paper-1) 50%,
|
|
135
|
+
var(--theme-green) 100%
|
|
136
|
+
);
|
|
137
|
+
}
|
package/src/themes/monokai.css
CHANGED
|
@@ -23,6 +23,7 @@ perspective-viewer [theme="Monokai"] {
|
|
|
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="Monokai"] {
|
|
|
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);
|
|
@@ -186,59 +179,3 @@ perspective-viewer [theme="Monokai"] {
|
|
|
186
179
|
#78dce8 100%
|
|
187
180
|
);
|
|
188
181
|
}
|
|
189
|
-
|
|
190
|
-
perspective-context-menu[theme="Monokai"],
|
|
191
|
-
perspective-copy-menu[theme="Monokai"],
|
|
192
|
-
perspective-export-menu[theme="Monokai"],
|
|
193
|
-
perspective-dropdown[theme="Monokai"],
|
|
194
|
-
perspective-date-column-style[theme="Monokai"],
|
|
195
|
-
perspective-datetime-column-style[theme="Monokai"],
|
|
196
|
-
perspective-number-column-style[theme="Monokai"],
|
|
197
|
-
perspective-string-column-style[theme="Monokai"] {
|
|
198
|
-
/* perspective-viewer-pro-dark--colors (overrides) */
|
|
199
|
-
background-color: #242526;
|
|
200
|
-
color: white;
|
|
201
|
-
--psp--color: white;
|
|
202
|
-
--psp-active--color: #2770a9;
|
|
203
|
-
--psp-error--color: #ff9485;
|
|
204
|
-
--psp-inactive--color: #61656e;
|
|
205
|
-
--psp-inactive--border-color: #4c505b;
|
|
206
|
-
--psp--background-color: #242526;
|
|
207
|
-
--psp-active--background: rgba(39, 113, 170, 0.5);
|
|
208
|
-
--psp-expression--operator--color: #c5c9d0;
|
|
209
|
-
--psp-expression--function--color: #22a0ce;
|
|
210
|
-
--psp-expression--psp-error--color: rgb(255, 136, 136);
|
|
211
|
-
--psp-calendar--filter: invert(1);
|
|
212
|
-
--psp-input--filter: invert(1);
|
|
213
|
-
--psp-warning--color: #242526;
|
|
214
|
-
--psp-warning--background: var(--psp--color);
|
|
215
|
-
--psp-icon--select-arrow--mask-image: var(
|
|
216
|
-
--psp-icon--select-arrow-light--mask-image
|
|
217
|
-
);
|
|
218
|
-
--psp-icon--select-arrow-hover--mask-image: var(
|
|
219
|
-
--psp-icon--select-arrow-dark--mask-image
|
|
220
|
-
);
|
|
221
|
-
--psp-code-editor--symbol--color: white;
|
|
222
|
-
--psp-code-editor--literal--color: #7dc3f0;
|
|
223
|
-
--psp-code-editor--operator--color: rgb(23, 166, 123);
|
|
224
|
-
--psp-code-editor--comment--color: rgb(204, 120, 48);
|
|
225
|
-
--psp-code-editor--column--color: #e18ee1;
|
|
226
|
-
|
|
227
|
-
border: 1px solid #4c505b;
|
|
228
|
-
|
|
229
|
-
/* perspective-viewer-monokai--colors */
|
|
230
|
-
color: #d6d6d6;
|
|
231
|
-
--psp-active--color: #78dce8;
|
|
232
|
-
--psp-error--color: #ff6188;
|
|
233
|
-
--psp-inactive--color: #797979;
|
|
234
|
-
--psp-inactive--border-color: #666666;
|
|
235
|
-
--psp--background-color: #2d2a2e;
|
|
236
|
-
--psp-column-type--float--color: #78dce8;
|
|
237
|
-
--psp-column-type--string--color: #ff6188;
|
|
238
|
-
--psp-column-type--date--color: #a9dc76;
|
|
239
|
-
--psp-column-type--boolean--color: #ffd866;
|
|
240
|
-
--psp-warning--background: #ffd866;
|
|
241
|
-
|
|
242
|
-
background-color: #2d2a2e;
|
|
243
|
-
border: 1px solid #797979;
|
|
244
|
-
}
|
|
@@ -0,0 +1,131 @@
|
|
|
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="Nord"],
|
|
17
|
+
perspective-viewer [theme="Nord"] {
|
|
18
|
+
--psp-theme-name: "Nord";
|
|
19
|
+
}
|
|
20
|
+
|
|
21
|
+
perspective-viewer[theme="Nord"],
|
|
22
|
+
perspective-viewer [theme="Nord"] {
|
|
23
|
+
--theme-bg0: #2e3440;
|
|
24
|
+
--theme-bg1: #3b4252;
|
|
25
|
+
--theme-bg2: #434c5e;
|
|
26
|
+
--theme-bg3: #4c566a;
|
|
27
|
+
|
|
28
|
+
--theme-fg0: #eceff4;
|
|
29
|
+
--theme-fg1: #d8dee9;
|
|
30
|
+
--theme-fg2: #616e88;
|
|
31
|
+
|
|
32
|
+
--theme-frost-0: #8fbcbb;
|
|
33
|
+
--theme-frost-1: #88c0d0;
|
|
34
|
+
--theme-frost-2: #81a1c1;
|
|
35
|
+
--theme-frost-3: #5e81ac;
|
|
36
|
+
|
|
37
|
+
--theme-red: #bf616a;
|
|
38
|
+
--theme-orange: #d08770;
|
|
39
|
+
--theme-yellow: #ebcb8b;
|
|
40
|
+
--theme-green: #a3be8c;
|
|
41
|
+
--theme-purple: #b48ead;
|
|
42
|
+
|
|
43
|
+
background-color: var(--theme-bg0);
|
|
44
|
+
color: var(--theme-fg0);
|
|
45
|
+
color-scheme: dark;
|
|
46
|
+
--psp--color: var(--theme-fg1);
|
|
47
|
+
--psp-active--color: var(--theme-frost-1);
|
|
48
|
+
--psp-error--color: var(--theme-red);
|
|
49
|
+
--psp-inactive--color: var(--theme-bg3);
|
|
50
|
+
--psp-inactive--border-color: var(--theme-bg2);
|
|
51
|
+
--psp--background-color: var(--theme-bg0);
|
|
52
|
+
--psp-active--background: rgba(136, 192, 208, 0.35);
|
|
53
|
+
--psp-expression--operator--color: var(--theme-frost-2);
|
|
54
|
+
--psp-expression--function--color: var(--theme-frost-1);
|
|
55
|
+
--psp-expression--psp-error--color: var(--theme-red);
|
|
56
|
+
--psp-calendar--filter: invert(1);
|
|
57
|
+
--psp-input--filter: invert(1);
|
|
58
|
+
--psp-warning--color: var(--theme-bg0);
|
|
59
|
+
--psp-warning--background: var(--theme-yellow);
|
|
60
|
+
|
|
61
|
+
--psp-status-icon--connected--color: var(--theme-green);
|
|
62
|
+
--psp-status-icon--initializing--color: var(--theme-yellow);
|
|
63
|
+
--psp-status-icon--psp-error--color: var(--theme-red);
|
|
64
|
+
|
|
65
|
+
--psp-code-editor--symbol--color: var(--theme-fg0);
|
|
66
|
+
--psp-code-editor--literal--color: var(--theme-purple);
|
|
67
|
+
--psp-code-editor--operator--color: var(--theme-frost-2);
|
|
68
|
+
--psp-code-editor--comment--color: var(--theme-fg2);
|
|
69
|
+
--psp-code-editor--column--color: var(--theme-green);
|
|
70
|
+
|
|
71
|
+
--psp-datagrid--pos-cell--color: var(--theme-frost-1);
|
|
72
|
+
--psp-datagrid--neg-cell--color: var(--theme-red);
|
|
73
|
+
|
|
74
|
+
--psp-charts--legend--color: var(--theme-fg1);
|
|
75
|
+
--psp-charts--treemap--labels: var(--theme-fg0);
|
|
76
|
+
--psp-charts--treemap--hover-highlight: var(--theme-fg0);
|
|
77
|
+
--psp-charts--tooltip--color: var(--theme-fg0);
|
|
78
|
+
--psp-charts--axis-ticks--color: var(--theme-fg1);
|
|
79
|
+
--psp-charts--axis-lines--color: var(--theme-bg3);
|
|
80
|
+
--psp-charts--gridline--color: var(--theme-bg1);
|
|
81
|
+
--psp-charts--tooltip--background: var(--theme-bg1);
|
|
82
|
+
--psp-charts--tooltip--border-color: var(--theme-bg3);
|
|
83
|
+
--psp-charts--legend--background: var(--psp--background-color);
|
|
84
|
+
|
|
85
|
+
--psp-charts--series--color: var(--theme-frost-1);
|
|
86
|
+
--psp-charts--series-1--color: var(--theme-frost-1);
|
|
87
|
+
--psp-charts--series-2--color: var(--theme-red);
|
|
88
|
+
--psp-charts--series-3--color: var(--theme-green);
|
|
89
|
+
--psp-charts--series-4--color: var(--theme-yellow);
|
|
90
|
+
--psp-charts--series-5--color: var(--theme-purple);
|
|
91
|
+
--psp-charts--series-6--color: var(--theme-orange);
|
|
92
|
+
--psp-charts--series-7--color: var(--theme-frost-3);
|
|
93
|
+
--psp-charts--series-8--color: var(--theme-frost-0);
|
|
94
|
+
--psp-charts--series-9--color: var(--theme-frost-2);
|
|
95
|
+
--psp-charts--series-10--color: var(--theme-fg1);
|
|
96
|
+
--psp-datagrid--series-1--color: var(--theme-frost-1);
|
|
97
|
+
--psp-datagrid--series-2--color: var(--theme-red);
|
|
98
|
+
--psp-datagrid--series-3--color: var(--theme-green);
|
|
99
|
+
--psp-datagrid--series-4--color: var(--theme-yellow);
|
|
100
|
+
--psp-datagrid--series-5--color: var(--theme-purple);
|
|
101
|
+
--psp-datagrid--series-6--color: var(--theme-orange);
|
|
102
|
+
--psp-datagrid--series-7--color: var(--theme-frost-3);
|
|
103
|
+
--psp-datagrid--series-8--color: var(--theme-frost-0);
|
|
104
|
+
--psp-datagrid--series-9--color: var(--theme-frost-2);
|
|
105
|
+
--psp-datagrid--series-10--color: var(--theme-fg1);
|
|
106
|
+
|
|
107
|
+
--psp-charts--gradient--background: linear-gradient(
|
|
108
|
+
var(--theme-red) 0%,
|
|
109
|
+
var(--theme-bg0) 50%,
|
|
110
|
+
var(--theme-frost-1) 100%
|
|
111
|
+
);
|
|
112
|
+
|
|
113
|
+
--psp-openlayers--tile-url: "http://{a-c}.basemaps.cartocdn.com/dark_all/{z}/{x}/{y}.png";
|
|
114
|
+
--psp-openlayers--attribution--filter: invert(1) hue-rotate(180deg);
|
|
115
|
+
--psp-openlayers--element--background: var(--theme-bg1);
|
|
116
|
+
--psp-openlayers--category-1--color: var(--theme-frost-1);
|
|
117
|
+
--psp-openlayers--category-2--color: var(--theme-red);
|
|
118
|
+
--psp-openlayers--category-3--color: var(--theme-green);
|
|
119
|
+
--psp-openlayers--category-4--color: var(--theme-yellow);
|
|
120
|
+
--psp-openlayers--category-5--color: var(--theme-purple);
|
|
121
|
+
--psp-openlayers--category-6--color: var(--theme-orange);
|
|
122
|
+
--psp-openlayers--category-7--color: var(--theme-frost-3);
|
|
123
|
+
--psp-openlayers--category-8--color: var(--theme-frost-0);
|
|
124
|
+
--psp-openlayers--category-9--color: var(--theme-frost-2);
|
|
125
|
+
--psp-openlayers--category-10--color: var(--theme-fg1);
|
|
126
|
+
--psp-openlayers--gradient--background: linear-gradient(
|
|
127
|
+
var(--theme-red) 0%,
|
|
128
|
+
var(--theme-bg0) 50%,
|
|
129
|
+
var(--theme-frost-1) 100%
|
|
130
|
+
);
|
|
131
|
+
}
|
package/src/themes/phosphor.css
CHANGED
|
@@ -20,6 +20,7 @@ perspective-viewer [theme="Phosphor"] {
|
|
|
20
20
|
|
|
21
21
|
perspective-viewer[theme="Phosphor"],
|
|
22
22
|
perspective-viewer [theme="Phosphor"] {
|
|
23
|
+
color-scheme: dark;
|
|
23
24
|
/* perspective-viewer-phosphor--colors */
|
|
24
25
|
--theme-bg0: #0a0a0a;
|
|
25
26
|
--theme-bg1: #0d0d0d;
|
|
@@ -49,14 +50,6 @@ perspective-viewer [theme="Phosphor"] {
|
|
|
49
50
|
--psp-warning--color: var(--theme-bg0);
|
|
50
51
|
--psp-warning--background: var(--theme-amber);
|
|
51
52
|
|
|
52
|
-
--psp-icon--select-arrow--mask-image: var(
|
|
53
|
-
--psp-icon--select-arrow-light--mask-image
|
|
54
|
-
);
|
|
55
|
-
|
|
56
|
-
--psp-icon--select-arrow-hover--mask-image: var(
|
|
57
|
-
--psp-icon--select-arrow-dark--mask-image
|
|
58
|
-
);
|
|
59
|
-
|
|
60
53
|
/* Syntax */
|
|
61
54
|
--psp-code-editor--symbol--color: var(--theme-green-mid);
|
|
62
55
|
--psp-code-editor--literal--color: var(--theme-green-bright);
|
|
@@ -130,56 +123,3 @@ perspective-viewer [theme="Phosphor"] {
|
|
|
130
123
|
#00cc66 100%
|
|
131
124
|
);
|
|
132
125
|
}
|
|
133
|
-
|
|
134
|
-
perspective-context-menu[theme="Phosphor"],
|
|
135
|
-
perspective-copy-menu[theme="Phosphor"],
|
|
136
|
-
perspective-export-menu[theme="Phosphor"],
|
|
137
|
-
perspective-dropdown[theme="Phosphor"],
|
|
138
|
-
perspective-date-column-style[theme="Phosphor"],
|
|
139
|
-
perspective-datetime-column-style[theme="Phosphor"],
|
|
140
|
-
perspective-number-column-style[theme="Phosphor"],
|
|
141
|
-
perspective-string-column-style[theme="Phosphor"] {
|
|
142
|
-
/* perspective-viewer-phosphor--colors */
|
|
143
|
-
--theme-bg0: #0a0a0a;
|
|
144
|
-
--theme-bg1: #0d0d0d;
|
|
145
|
-
--theme-bg2: #1a1a1a;
|
|
146
|
-
--theme-green-bright: #33ff33;
|
|
147
|
-
--theme-green-mid: #20cc20;
|
|
148
|
-
--theme-green-dim: #0d660d;
|
|
149
|
-
--theme-green-dark: #0a3a0a;
|
|
150
|
-
--theme-amber: #ffb000;
|
|
151
|
-
--theme-red: #ff3333;
|
|
152
|
-
|
|
153
|
-
color: var(--theme-green-mid);
|
|
154
|
-
--psp--color: var(--theme-green-mid);
|
|
155
|
-
--psp-active--color: var(--theme-green-bright);
|
|
156
|
-
--psp-error--color: var(--theme-red);
|
|
157
|
-
--psp-inactive--color: var(--theme-green-dark);
|
|
158
|
-
--psp-inactive--border-color: var(--theme-green-dark);
|
|
159
|
-
--psp--background-color: var(--theme-bg1);
|
|
160
|
-
--psp-active--background: rgba(51, 255, 51, 0.3);
|
|
161
|
-
--psp-expression--operator--color: var(--theme-green-dim);
|
|
162
|
-
--psp-expression--function--color: var(--theme-green-bright);
|
|
163
|
-
--psp-expression--psp-error--color: var(--theme-red);
|
|
164
|
-
--psp-calendar--filter: invert(1) hue-rotate(70deg);
|
|
165
|
-
--psp-input--filter: invert(1) hue-rotate(70deg);
|
|
166
|
-
--psp-warning--color: var(--theme-bg0);
|
|
167
|
-
--psp-warning--background: var(--theme-amber);
|
|
168
|
-
--psp-icon--select-arrow--mask-image: var(
|
|
169
|
-
--psp-icon--select-arrow-light--mask-image
|
|
170
|
-
);
|
|
171
|
-
--psp-icon--select-arrow-hover--mask-image: var(
|
|
172
|
-
--psp-icon--select-arrow-dark--mask-image
|
|
173
|
-
);
|
|
174
|
-
--psp-code-editor--symbol--color: var(--theme-green-mid);
|
|
175
|
-
--psp-code-editor--literal--color: var(--theme-green-bright);
|
|
176
|
-
--psp-code-editor--operator--color: var(--theme-amber);
|
|
177
|
-
--psp-code-editor--comment--color: var(--theme-green-dark);
|
|
178
|
-
--psp-code-editor--column--color: var(--theme-green-bright);
|
|
179
|
-
--psp-status-icon--connected--color: var(--theme-green-bright);
|
|
180
|
-
--psp-status-icon--initializing--color: var(--theme-amber);
|
|
181
|
-
--psp-status-icon--psp-error--color: var(--theme-red);
|
|
182
|
-
|
|
183
|
-
background-color: #0a0a0a;
|
|
184
|
-
border: 1px solid #1a3a1a;
|
|
185
|
-
}
|
package/src/themes/pro-dark.css
CHANGED
|
@@ -24,6 +24,7 @@ perspective-viewer [theme="Pro Dark"] {
|
|
|
24
24
|
/* perspective-viewer-pro-dark--colors (overrides) */
|
|
25
25
|
background-color: #242526;
|
|
26
26
|
color: white;
|
|
27
|
+
color-scheme: dark;
|
|
27
28
|
--psp--color: white;
|
|
28
29
|
--psp-active--color: #2770a9;
|
|
29
30
|
--psp-error--color: #ff9485;
|
|
@@ -39,14 +40,6 @@ perspective-viewer [theme="Pro Dark"] {
|
|
|
39
40
|
--psp-warning--color: #242526;
|
|
40
41
|
--psp-warning--background: var(--psp--color);
|
|
41
42
|
|
|
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
43
|
/* Syntax */
|
|
51
44
|
--psp-code-editor--symbol--color: white;
|
|
52
45
|
--psp-code-editor--literal--color: #7dc3f0;
|
|
@@ -118,47 +111,3 @@ perspective-viewer [theme="Pro Dark"] {
|
|
|
118
111
|
#3289c8 100%
|
|
119
112
|
);
|
|
120
113
|
}
|
|
121
|
-
|
|
122
|
-
perspective-context-menu[theme="Pro Dark"],
|
|
123
|
-
perspective-copy-menu[theme="Pro Dark"],
|
|
124
|
-
perspective-export-menu[theme="Pro Dark"],
|
|
125
|
-
perspective-dropdown[theme="Pro Dark"],
|
|
126
|
-
perspective-date-column-style[theme="Pro Dark"],
|
|
127
|
-
perspective-datetime-column-style[theme="Pro Dark"],
|
|
128
|
-
perspective-number-column-style[theme="Pro Dark"],
|
|
129
|
-
perspective-string-column-style[theme="Pro Dark"] {
|
|
130
|
-
/* perspective-viewer-pro-dark--colors (overrides) */
|
|
131
|
-
background-color: #242526;
|
|
132
|
-
color: white;
|
|
133
|
-
--psp--color: white;
|
|
134
|
-
--psp-active--color: #2770a9;
|
|
135
|
-
--psp-error--color: #ff9485;
|
|
136
|
-
--psp-inactive--color: #61656e;
|
|
137
|
-
--psp-inactive--border-color: #4c505b;
|
|
138
|
-
--psp--background-color: #242526;
|
|
139
|
-
--psp-active--background: rgba(39, 113, 170, 0.5);
|
|
140
|
-
--psp-expression--operator--color: #c5c9d0;
|
|
141
|
-
--psp-expression--function--color: #22a0ce;
|
|
142
|
-
--psp-expression--error--color: rgb(255, 136, 136);
|
|
143
|
-
--psp-calendar--filter: invert(1);
|
|
144
|
-
--psp-input--filter: invert(1);
|
|
145
|
-
--psp-warning--color: #242526;
|
|
146
|
-
--psp-warning--background: var(--psp--color);
|
|
147
|
-
|
|
148
|
-
--psp-icon--select-arrow--mask-image: var(
|
|
149
|
-
--psp-icon--select-arrow-light--mask-image
|
|
150
|
-
);
|
|
151
|
-
|
|
152
|
-
--psp-icon--select-arrow-hover--mask-image: var(
|
|
153
|
-
--psp-icon--select-arrow-dark--mask-image
|
|
154
|
-
);
|
|
155
|
-
|
|
156
|
-
/* Syntax */
|
|
157
|
-
--psp-code-editor--symbol--color: white;
|
|
158
|
-
--psp-code-editor--literal--color: #7dc3f0;
|
|
159
|
-
--psp-code-editor--operator--color: rgb(23, 166, 123);
|
|
160
|
-
--psp-code-editor--comment--color: rgb(204, 120, 48);
|
|
161
|
-
--psp-code-editor--column--color: #e18ee1;
|
|
162
|
-
|
|
163
|
-
border: 1px solid #4c505b;
|
|
164
|
-
}
|
package/src/themes/pro.css
CHANGED
|
@@ -16,4 +16,102 @@ perspective-viewer,
|
|
|
16
16
|
perspective-viewer[theme="Pro Light"],
|
|
17
17
|
perspective-viewer [theme="Pro Light"] {
|
|
18
18
|
--psp-theme-name: "Pro Light";
|
|
19
|
+
color-scheme: light;
|
|
20
|
+
--psp--color: #161616;
|
|
21
|
+
color: var(--psp--color);
|
|
22
|
+
--psp-inactive--color: #ababab;
|
|
23
|
+
--psp-inactive--border-color: #dadada;
|
|
24
|
+
--psp-active--color: #2670a9;
|
|
25
|
+
--psp-error--color: #ff471e;
|
|
26
|
+
--psp--background-color: #ffffff;
|
|
27
|
+
--psp-icon-overflow-hint--color: rgba(0, 0, 0, 0.2);
|
|
28
|
+
--psp-select--background-color: none;
|
|
29
|
+
--psp-warning--background: #042121;
|
|
30
|
+
--psp-warning--color: #fdfffd;
|
|
31
|
+
|
|
32
|
+
--psp-icon-overflow-hint--color: #fdfffd;
|
|
33
|
+
--psp-placeholder--background: #8b868045;
|
|
34
|
+
--psp-dropdown--box-shadow: 5px 5px 0 #00000020;
|
|
35
|
+
|
|
36
|
+
--psp-button--font-size: 16px;
|
|
37
|
+
--psp-config-button--padding: 15px 8px 6px 8px;
|
|
38
|
+
--psp-column-selector--font-size: 16px;
|
|
39
|
+
--psp-column-type--width: 25px;
|
|
40
|
+
--psp-select--padding: 0px;
|
|
41
|
+
--psp-top-panel-row--display: inline-flex;
|
|
42
|
+
--psp-button--min-width: 33px;
|
|
43
|
+
|
|
44
|
+
font-family:
|
|
45
|
+
"ui-monospace", "SFMono-Regular", "SF Mono", "Menlo", "Consolas",
|
|
46
|
+
"Liberation Mono", monospace;
|
|
47
|
+
--psp-interface-monospace--font-family:
|
|
48
|
+
"ui-monospace", "SFMono-Regular", "SF Mono", "Menlo", "Consolas",
|
|
49
|
+
"Liberation Mono", monospace;
|
|
50
|
+
|
|
51
|
+
--psp-label--webgl-y1--content: "arrow_upward";
|
|
52
|
+
--psp-label--webgl-y2--content: "arrow_downward";
|
|
53
|
+
--psp-charts--treemap-axis--lines: none;
|
|
54
|
+
--psp-charts--tooltip--background: #ffffff;
|
|
55
|
+
--psp-charts--tooltip--color: #161616;
|
|
56
|
+
--psp-charts--tooltip--border-color: #ababab;
|
|
57
|
+
--psp-charts--gridline--color: #eaedef;
|
|
58
|
+
--psp-charts--axis-ticks--color: #161616;
|
|
59
|
+
--psp-charts--axis-lines--color: #c5c9d0;
|
|
60
|
+
--psp-charts--legend--color: #161616;
|
|
61
|
+
--psp-charts--legend--background: var(--psp--background-color);
|
|
62
|
+
--psp-charts--series--color: rgba(31, 119, 180, 0.8);
|
|
63
|
+
--psp-charts--series-1--color: #0366d6;
|
|
64
|
+
--psp-charts--series-2--color: #ff7f0e;
|
|
65
|
+
--psp-charts--series-3--color: #2ca02c;
|
|
66
|
+
--psp-charts--series-4--color: #d62728;
|
|
67
|
+
--psp-charts--series-5--color: #9467bd;
|
|
68
|
+
--psp-charts--series-6--color: #8c564b;
|
|
69
|
+
--psp-charts--series-7--color: #e377c2;
|
|
70
|
+
--psp-charts--series-8--color: #7f7f7f;
|
|
71
|
+
--psp-charts--series-9--color: #bcbd22;
|
|
72
|
+
--psp-charts--series-10--color: #17becf;
|
|
73
|
+
--psp-datagrid--series-1--color: #0366d6;
|
|
74
|
+
--psp-datagrid--series-2--color: #ff7f0e;
|
|
75
|
+
--psp-datagrid--series-3--color: #2ca02c;
|
|
76
|
+
--psp-datagrid--series-4--color: #d62728;
|
|
77
|
+
--psp-datagrid--series-5--color: #9467bd;
|
|
78
|
+
--psp-datagrid--series-6--color: #8c564b;
|
|
79
|
+
--psp-datagrid--series-7--color: #e377c2;
|
|
80
|
+
--psp-datagrid--series-8--color: #7f7f7f;
|
|
81
|
+
--psp-datagrid--series-9--color: #bcbd22;
|
|
82
|
+
--psp-datagrid--series-10--color: #17becf;
|
|
83
|
+
--psp-charts--gradient--background: linear-gradient(
|
|
84
|
+
#4d342f 0%,
|
|
85
|
+
#e4521b 22.5%,
|
|
86
|
+
#feeb65 42.5%,
|
|
87
|
+
#f0f0f0 50%,
|
|
88
|
+
#dcedc8 57.5%,
|
|
89
|
+
#42b3d5 67.5%,
|
|
90
|
+
#1a237e 100%
|
|
91
|
+
);
|
|
92
|
+
|
|
93
|
+
--psp-datagrid--pos-cell--color: #338dcd;
|
|
94
|
+
--psp-datagrid--neg-cell--color: #ff471e;
|
|
95
|
+
|
|
96
|
+
--psp-openlayers--tile-url: "http://{a-c}.basemaps.cartocdn.com/light_all/{z}/{x}/{y}.png";
|
|
97
|
+
--psp-openlayers--element--background: #fff;
|
|
98
|
+
--psp-openlayers--category-1--color: #0366d6;
|
|
99
|
+
--psp-openlayers--category-2--color: #ff7f0e;
|
|
100
|
+
--psp-openlayers--category-3--color: #2ca02c;
|
|
101
|
+
--psp-openlayers--category-4--color: #d62728;
|
|
102
|
+
--psp-openlayers--category-5--color: #9467bd;
|
|
103
|
+
--psp-openlayers--category-6--color: #8c564b;
|
|
104
|
+
--psp-openlayers--category-7--color: #e377c2;
|
|
105
|
+
--psp-openlayers--category-8--color: #7f7f7f;
|
|
106
|
+
--psp-openlayers--category-9--color: #bcbd22;
|
|
107
|
+
--psp-openlayers--category-10--color: #17becf;
|
|
108
|
+
--psp-openlayers--gradient--background: linear-gradient(
|
|
109
|
+
#4d342f 0%,
|
|
110
|
+
#e4521b 22.5%,
|
|
111
|
+
#feeb65 42.5%,
|
|
112
|
+
#f0f0f0 50%,
|
|
113
|
+
#dcedc8 57.5%,
|
|
114
|
+
#42b3d5 67.5%,
|
|
115
|
+
#1a237e 100%
|
|
116
|
+
);
|
|
19
117
|
}
|
|
@@ -23,6 +23,7 @@ perspective-viewer [theme="Solarized Dark"] {
|
|
|
23
23
|
/* perspective-viewer-solarized--colors */
|
|
24
24
|
color: #586e75;
|
|
25
25
|
background-color: #eee8d5;
|
|
26
|
+
color-scheme: dark;
|
|
26
27
|
--psp--color: #586e75;
|
|
27
28
|
--psp-active--color: #268bd2;
|
|
28
29
|
--psp-error--color: #cb4b16;
|
|
@@ -68,14 +69,6 @@ perspective-viewer [theme="Solarized Dark"] {
|
|
|
68
69
|
--psp-inactive--border-color: var(--psp-inactive--color);
|
|
69
70
|
--psp--background-color: #073642;
|
|
70
71
|
|
|
71
|
-
--psp-icon--select-arrow--mask-image: var(
|
|
72
|
-
--psp-icon--select-arrow-light--mask-image
|
|
73
|
-
);
|
|
74
|
-
|
|
75
|
-
--psp-icon--select-arrow-hover--mask-image: var(
|
|
76
|
-
--psp-icon--select-arrow-dark--mask-image
|
|
77
|
-
);
|
|
78
|
-
|
|
79
72
|
/* perspective-viewer-solarized-dark--webgl */
|
|
80
73
|
--psp-charts--treemap--labels: white;
|
|
81
74
|
--psp-charts--treemap--hover-highlight: white;
|
|
@@ -90,41 +83,3 @@ perspective-viewer [theme="Solarized Dark"] {
|
|
|
90
83
|
#268bd2 100%
|
|
91
84
|
);
|
|
92
85
|
}
|
|
93
|
-
|
|
94
|
-
perspective-context-menu[theme="Solarized Dark"],
|
|
95
|
-
perspective-copy-menu[theme="Solarized Dark"],
|
|
96
|
-
perspective-export-menu[theme="Solarized Dark"],
|
|
97
|
-
perspective-dropdown[theme="Solarized Dark"],
|
|
98
|
-
perspective-date-column-style[theme="Solarized Dark"],
|
|
99
|
-
perspective-datetime-column-style[theme="Solarized Dark"],
|
|
100
|
-
perspective-number-column-style[theme="Solarized Dark"],
|
|
101
|
-
perspective-string-column-style[theme="Solarized Dark"] {
|
|
102
|
-
/* perspective-viewer-solarized--colors */
|
|
103
|
-
color: #586e75;
|
|
104
|
-
--psp--color: #586e75;
|
|
105
|
-
--psp-active--color: #268bd2;
|
|
106
|
-
--psp-error--color: #cb4b16;
|
|
107
|
-
--psp-inactive--color: #93a1a1;
|
|
108
|
-
--psp-inactive--border-color: var(--psp-inactive--color);
|
|
109
|
-
--psp--background-color: #fdf6e3;
|
|
110
|
-
--psp-column-type--float--color: #268bd2;
|
|
111
|
-
--psp-column-type--string--color: #cb4b16;
|
|
112
|
-
--psp-column-type--date--color: #2aa198;
|
|
113
|
-
--psp-column-type--boolean--color: #b58900;
|
|
114
|
-
|
|
115
|
-
/* perspective-viewer-solarized-dark--colors */
|
|
116
|
-
color: #93a1a1;
|
|
117
|
-
--psp-inactive--color: #586e75;
|
|
118
|
-
--psp-inactive--border-color: var(--psp-inactive--color);
|
|
119
|
-
--psp--background-color: #073642;
|
|
120
|
-
|
|
121
|
-
--psp-icon--select-arrow--mask-image: var(
|
|
122
|
-
--psp-icon--select-arrow-light--mask-image
|
|
123
|
-
);
|
|
124
|
-
|
|
125
|
-
--psp-icon--select-arrow-hover--mask-image: var(
|
|
126
|
-
--psp-icon--select-arrow-dark--mask-image
|
|
127
|
-
);
|
|
128
|
-
|
|
129
|
-
background-color: #073642;
|
|
130
|
-
}
|