@perspective-dev/viewer 5.3.0 → 5.3.1
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/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/perspective-viewer.inline.js +9 -9
- 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/wasm/perspective-viewer.d.ts +16 -16
- package/dist/wasm/perspective-viewer.js +107 -103
- package/dist/wasm/perspective-viewer.wasm +0 -0
- package/dist/wasm/perspective-viewer.wasm.d.ts +16 -16
- package/package.json +1 -1
- package/src/css/column-settings-panel.css +19 -0
- package/src/css/column-style.css +82 -0
- package/src/css/containers/tabs.css +13 -3
- package/src/css/dom/select.css +19 -8
- package/src/css/plugin-selector.css +1 -0
- package/src/css/plugin-settings-panel.css +72 -0
- package/src/css/viewer.css +0 -5
- package/src/rust/agent/tools.rs +5 -2
- package/src/rust/components/column_settings_sidebar/style_tab.rs +296 -237
- package/src/rust/components/containers/control_group.rs +91 -0
- package/src/rust/components/containers/mod.rs +1 -0
- package/src/rust/components/containers/select.rs +8 -2
- package/src/rust/components/datetime_column_style/simple.rs +15 -4
- package/src/rust/components/datetime_column_style.rs +50 -10
- package/src/rust/components/plugin_tab.rs +125 -87
- package/src/rust/components/settings_panel.rs +1 -0
- package/src/rust/components/status_bar.rs +0 -1
- package/src/rust/components/style_controls/number_string_format/digits_section.rs +22 -10
- package/src/rust/components/style_controls/number_string_format/misc_section.rs +6 -2
- package/src/rust/components/style_controls/number_string_format/style_section.rs +1 -0
- 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/config/column_config_schema.rs +358 -27
- package/src/rust/config/datetime_column_style.rs +4 -21
- package/src/rust/config/number_string_format.rs +211 -18
- package/src/rust/presentation.rs +17 -0
- package/src/rust/queries/plugin_column_styles.rs +2 -2
- package/src/rust/renderer/dispatch.rs +34 -8
- package/src/rust/renderer/plugin_config.rs +55 -8
- package/src/themes/blueprint.css +190 -0
- package/src/themes/botanical.css +4 -17
- package/src/themes/defaults.css +2 -120
- package/src/themes/dracula.css +2 -14
- package/src/themes/eggplant.css +189 -0
- package/src/themes/gruvbox-dark.css +3 -15
- package/src/themes/gruvbox.css +1 -1
- package/src/themes/icons.css +1 -2
- package/src/themes/intl/de.css +23 -1
- package/src/themes/intl/es.css +23 -1
- package/src/themes/intl/fr.css +23 -1
- package/src/themes/intl/ja.css +23 -1
- package/src/themes/intl/pt.css +23 -1
- package/src/themes/intl/zh.css +23 -1
- package/src/themes/intl.css +26 -4
- package/src/themes/ledger.css +195 -0
- package/src/themes/monokai.css +2 -14
- package/src/themes/nord.css +186 -0
- package/src/themes/phosphor.css +2 -14
- package/src/themes/pro-dark.css +2 -16
- package/src/themes/pro.css +118 -0
- package/src/themes/solarized-dark.css +2 -16
- package/src/themes/themes.css +10 -5
- package/src/themes/vaporwave.css +2 -14
- package/src/themes/velvet.css +192 -0
- package/src/ts/column-format.ts +52 -2
- package/src/svg/dropdown-selector-light.svg +0 -3
- /package/dist/wasm/snippets/{perspective-viewer-39c3c3b28e3cbd48 → perspective-viewer-87bd21b215d0631a}/inline0.js +0 -0
- /package/dist/wasm/snippets/{perspective-viewer-39c3c3b28e3cbd48 → perspective-viewer-87bd21b215d0631a}/inline1.js +0 -0
- /package/dist/wasm/snippets/{perspective-viewer-39c3c3b28e3cbd48 → perspective-viewer-87bd21b215d0631a}/inline2.js +0 -0
- /package/dist/wasm/snippets/{perspective-viewer-39c3c3b28e3cbd48 → perspective-viewer-87bd21b215d0631a}/inline3.js +0 -0
- /package/dist/wasm/snippets/{perspective-viewer-39c3c3b28e3cbd48 → perspective-viewer-87bd21b215d0631a}/inline4.js +0 -0
- /package/dist/wasm/snippets/{perspective-viewer-39c3c3b28e3cbd48 → perspective-viewer-87bd21b215d0631a}/inline5.js +0 -0
|
@@ -0,0 +1,190 @@
|
|
|
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
|
+
}
|
|
134
|
+
|
|
135
|
+
perspective-context-menu[theme="Blueprint"],
|
|
136
|
+
perspective-copy-menu[theme="Blueprint"],
|
|
137
|
+
perspective-export-menu[theme="Blueprint"],
|
|
138
|
+
perspective-dropdown[theme="Blueprint"],
|
|
139
|
+
perspective-date-column-style[theme="Blueprint"],
|
|
140
|
+
perspective-datetime-column-style[theme="Blueprint"],
|
|
141
|
+
perspective-number-column-style[theme="Blueprint"],
|
|
142
|
+
perspective-string-column-style[theme="Blueprint"] {
|
|
143
|
+
--theme-bg0: #0c2f6b;
|
|
144
|
+
--theme-bg1: #103a80;
|
|
145
|
+
--theme-bg2: #1b478f;
|
|
146
|
+
--theme-bg3: #2a58a8;
|
|
147
|
+
--theme-fg0: #e6f0ff;
|
|
148
|
+
--theme-fg1: #a9c4ee;
|
|
149
|
+
--theme-fg2: #5b84c6;
|
|
150
|
+
--theme-line: #3b6fc4;
|
|
151
|
+
--theme-cyan: #7fd3ff;
|
|
152
|
+
--theme-yellow: #ffd166;
|
|
153
|
+
--theme-orange: #ff8a65;
|
|
154
|
+
--theme-green: #b8e986;
|
|
155
|
+
--theme-pink: #ff9ecf;
|
|
156
|
+
--theme-white: #ffffff;
|
|
157
|
+
--theme-lavender: #c3b1ff;
|
|
158
|
+
--theme-mint: #5ee7c7;
|
|
159
|
+
--theme-magenta: #f6a6ff;
|
|
160
|
+
--theme-sky: #9cc3ff;
|
|
161
|
+
|
|
162
|
+
background-color: var(--theme-bg0);
|
|
163
|
+
color: var(--theme-fg0);
|
|
164
|
+
color-scheme: dark;
|
|
165
|
+
--psp--color: var(--theme-fg0);
|
|
166
|
+
--psp-active--color: var(--theme-cyan);
|
|
167
|
+
--psp-error--color: var(--theme-orange);
|
|
168
|
+
--psp-inactive--color: var(--theme-fg2);
|
|
169
|
+
--psp-inactive--border-color: var(--theme-bg3);
|
|
170
|
+
--psp--background-color: var(--theme-bg0);
|
|
171
|
+
--psp-active--background: rgba(127, 211, 255, 0.3);
|
|
172
|
+
--psp-expression--operator--color: var(--theme-fg1);
|
|
173
|
+
--psp-expression--function--color: var(--theme-cyan);
|
|
174
|
+
--psp-expression--psp-error--color: var(--theme-orange);
|
|
175
|
+
--psp-calendar--filter: invert(1);
|
|
176
|
+
--psp-input--filter: invert(1);
|
|
177
|
+
--psp-warning--color: var(--theme-bg0);
|
|
178
|
+
--psp-warning--background: var(--theme-yellow);
|
|
179
|
+
--psp-status-icon--connected--color: var(--theme-green);
|
|
180
|
+
--psp-status-icon--initializing--color: var(--theme-yellow);
|
|
181
|
+
--psp-status-icon--psp-error--color: var(--theme-orange);
|
|
182
|
+
|
|
183
|
+
--psp-code-editor--symbol--color: var(--theme-fg0);
|
|
184
|
+
--psp-code-editor--literal--color: var(--theme-cyan);
|
|
185
|
+
--psp-code-editor--operator--color: var(--theme-yellow);
|
|
186
|
+
--psp-code-editor--comment--color: var(--theme-fg2);
|
|
187
|
+
--psp-code-editor--column--color: var(--theme-green);
|
|
188
|
+
|
|
189
|
+
border: 1px solid #2a58a8;
|
|
190
|
+
}
|
package/src/themes/botanical.css
CHANGED
|
@@ -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;
|
|
@@ -113,6 +107,7 @@ perspective-string-column-style[theme="Botanical"] {
|
|
|
113
107
|
/* perspective-viewer-botanical--colors */
|
|
114
108
|
background-color: #1a2e1a;
|
|
115
109
|
color: #e0ead8;
|
|
110
|
+
color-scheme: dark;
|
|
116
111
|
--psp--color: #e0ead8;
|
|
117
112
|
--psp-active--color: #5a9e4b;
|
|
118
113
|
--psp-error--color: #e8836a;
|
|
@@ -128,14 +123,6 @@ perspective-string-column-style[theme="Botanical"] {
|
|
|
128
123
|
--psp-warning--color: #1a2e1a;
|
|
129
124
|
--psp-warning--background: var(--psp--color);
|
|
130
125
|
|
|
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
126
|
--psp-code-editor--symbol--color: #e0ead8;
|
|
140
127
|
--psp-code-editor--literal--color: #a8d8a0;
|
|
141
128
|
--psp-code-editor--operator--color: rgb(206, 176, 104);
|
package/src/themes/defaults.css
CHANGED
|
@@ -8,25 +8,13 @@
|
|
|
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
18
|
:where(perspective-viewer [theme]),
|
|
31
19
|
perspective-context-menu,
|
|
32
20
|
perspective-copy-menu,
|
|
@@ -36,27 +24,6 @@ perspective-date-column-style,
|
|
|
36
24
|
perspective-datetime-column-style,
|
|
37
25
|
perspective-number-column-style,
|
|
38
26
|
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 */
|
|
60
27
|
--psp-button--font-size: 16px;
|
|
61
28
|
--psp-config-button--padding: 15px 8px 6px 8px;
|
|
62
29
|
--psp-column-selector--font-size: 16px;
|
|
@@ -65,7 +32,6 @@ perspective-string-column-style {
|
|
|
65
32
|
--psp-top-panel-row--display: inline-flex;
|
|
66
33
|
--psp-button--min-width: 33px;
|
|
67
34
|
|
|
68
|
-
/* Fonts */
|
|
69
35
|
font-family:
|
|
70
36
|
"ui-monospace", "SFMono-Regular", "SF Mono", "Menlo", "Consolas",
|
|
71
37
|
"Liberation Mono", monospace;
|
|
@@ -73,92 +39,9 @@ perspective-string-column-style {
|
|
|
73
39
|
"ui-monospace", "SFMono-Regular", "SF Mono", "Menlo", "Consolas",
|
|
74
40
|
"Liberation Mono", monospace;
|
|
75
41
|
|
|
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
42
|
--psp-label--webgl-y1--content: "arrow_upward";
|
|
86
43
|
--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
44
|
|
|
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
45
|
--psp-active--background: initial;
|
|
163
46
|
--psp-calendar--filter: initial;
|
|
164
47
|
--psp-charts--legend--color: initial;
|
|
@@ -192,7 +75,6 @@ perspective-string-column-style {
|
|
|
192
75
|
--psp-status-icon--psp-error--color: initial;
|
|
193
76
|
}
|
|
194
77
|
|
|
195
|
-
/* Modal defaults */
|
|
196
78
|
perspective-context-menu,
|
|
197
79
|
perspective-copy-menu,
|
|
198
80
|
perspective-export-menu,
|
package/src/themes/dracula.css
CHANGED
|
@@ -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);
|
|
@@ -180,6 +173,7 @@ perspective-dropdown[theme="Dracula"] {
|
|
|
180
173
|
/* perspective-viewer-pro-dark--colors (overrides) */
|
|
181
174
|
background-color: #242526;
|
|
182
175
|
color: white;
|
|
176
|
+
color-scheme: dark;
|
|
183
177
|
--psp--color: white;
|
|
184
178
|
--psp-active--color: #2770a9;
|
|
185
179
|
--psp-error--color: #ff9485;
|
|
@@ -194,12 +188,6 @@ perspective-dropdown[theme="Dracula"] {
|
|
|
194
188
|
--psp-input--filter: invert(1);
|
|
195
189
|
--psp-warning--color: #242526;
|
|
196
190
|
--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
191
|
--psp-code-editor--symbol--color: white;
|
|
204
192
|
--psp-code-editor--literal--color: #7dc3f0;
|
|
205
193
|
--psp-code-editor--operator--color: rgb(23, 166, 123);
|
|
@@ -0,0 +1,189 @@
|
|
|
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
|
+
|
|
14
|
+
@import "./defaults.css";
|
|
15
|
+
|
|
16
|
+
perspective-viewer,
|
|
17
|
+
perspective-viewer[theme="Eggplant"],
|
|
18
|
+
perspective-viewer [theme="Eggplant"] {
|
|
19
|
+
--psp-theme-name: "Eggplant";
|
|
20
|
+
}
|
|
21
|
+
|
|
22
|
+
perspective-viewer[theme="Eggplant"],
|
|
23
|
+
perspective-viewer [theme="Eggplant"] {
|
|
24
|
+
--theme-bg0: #1e1230;
|
|
25
|
+
--theme-bg1: #2a1a42;
|
|
26
|
+
--theme-bg2: #3a2758;
|
|
27
|
+
--theme-bg3: #4d3670;
|
|
28
|
+
--theme-fg0: #f1eaff;
|
|
29
|
+
--theme-fg1: #cbbde8;
|
|
30
|
+
--theme-fg2: #7d6a9e;
|
|
31
|
+
--theme-green: #7ee787;
|
|
32
|
+
--theme-yellow: #ffd75e;
|
|
33
|
+
--theme-lime: #c8f060;
|
|
34
|
+
--theme-mint: #6ee7c8;
|
|
35
|
+
--theme-amber: #f0b86e;
|
|
36
|
+
--theme-lavender: #b8a1ff;
|
|
37
|
+
--theme-sky: #9be3ff;
|
|
38
|
+
--theme-rose: #ff7b8a;
|
|
39
|
+
--theme-pink: #ff8fd6;
|
|
40
|
+
--theme-coral: #ff8a80;
|
|
41
|
+
--theme-periwinkle: #7fa8ff;
|
|
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-green);
|
|
48
|
+
--psp-error--color: var(--theme-rose);
|
|
49
|
+
--psp-inactive--color: var(--theme-fg2);
|
|
50
|
+
--psp-inactive--border-color: var(--theme-bg3);
|
|
51
|
+
--psp--background-color: var(--theme-bg0);
|
|
52
|
+
--psp-active--background: rgba(126, 231, 135, 0.3);
|
|
53
|
+
--psp-expression--operator--color: var(--theme-yellow);
|
|
54
|
+
--psp-expression--function--color: var(--theme-green);
|
|
55
|
+
--psp-expression--psp-error--color: var(--theme-rose);
|
|
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-rose);
|
|
64
|
+
|
|
65
|
+
--psp-code-editor--symbol--color: var(--theme-fg0);
|
|
66
|
+
--psp-code-editor--literal--color: var(--theme-yellow);
|
|
67
|
+
--psp-code-editor--operator--color: var(--theme-yellow);
|
|
68
|
+
--psp-code-editor--comment--color: var(--theme-fg2);
|
|
69
|
+
--psp-code-editor--column--color: var(--theme-lime);
|
|
70
|
+
|
|
71
|
+
--psp-datagrid--pos-cell--color: var(--theme-green);
|
|
72
|
+
--psp-datagrid--neg-cell--color: var(--theme-yellow);
|
|
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-bg2);
|
|
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-green);
|
|
86
|
+
--psp-charts--series-1--color: var(--theme-green);
|
|
87
|
+
--psp-charts--series-2--color: var(--theme-yellow);
|
|
88
|
+
--psp-charts--series-3--color: var(--theme-sky);
|
|
89
|
+
--psp-charts--series-4--color: var(--theme-pink);
|
|
90
|
+
--psp-charts--series-5--color: var(--theme-amber);
|
|
91
|
+
--psp-charts--series-6--color: var(--theme-lavender);
|
|
92
|
+
--psp-charts--series-7--color: var(--theme-mint);
|
|
93
|
+
--psp-charts--series-8--color: var(--theme-coral);
|
|
94
|
+
--psp-charts--series-9--color: var(--theme-lime);
|
|
95
|
+
--psp-charts--series-10--color: var(--theme-periwinkle);
|
|
96
|
+
--psp-datagrid--series-1--color: var(--theme-green);
|
|
97
|
+
--psp-datagrid--series-2--color: var(--theme-yellow);
|
|
98
|
+
--psp-datagrid--series-3--color: var(--theme-sky);
|
|
99
|
+
--psp-datagrid--series-4--color: var(--theme-pink);
|
|
100
|
+
--psp-datagrid--series-5--color: var(--theme-amber);
|
|
101
|
+
--psp-datagrid--series-6--color: var(--theme-lavender);
|
|
102
|
+
--psp-datagrid--series-7--color: var(--theme-mint);
|
|
103
|
+
--psp-datagrid--series-8--color: var(--theme-coral);
|
|
104
|
+
--psp-datagrid--series-9--color: var(--theme-lime);
|
|
105
|
+
--psp-datagrid--series-10--color: var(--theme-periwinkle);
|
|
106
|
+
|
|
107
|
+
--psp-charts--gradient--background: linear-gradient(
|
|
108
|
+
var(--theme-yellow) 0%,
|
|
109
|
+
var(--theme-bg0) 50%,
|
|
110
|
+
var(--theme-green) 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-green);
|
|
117
|
+
--psp-openlayers--category-2--color: var(--theme-yellow);
|
|
118
|
+
--psp-openlayers--category-3--color: var(--theme-sky);
|
|
119
|
+
--psp-openlayers--category-4--color: var(--theme-pink);
|
|
120
|
+
--psp-openlayers--category-5--color: var(--theme-amber);
|
|
121
|
+
--psp-openlayers--category-6--color: var(--theme-lavender);
|
|
122
|
+
--psp-openlayers--category-7--color: var(--theme-mint);
|
|
123
|
+
--psp-openlayers--category-8--color: var(--theme-coral);
|
|
124
|
+
--psp-openlayers--category-9--color: var(--theme-lime);
|
|
125
|
+
--psp-openlayers--category-10--color: var(--theme-periwinkle);
|
|
126
|
+
--psp-openlayers--gradient--background: linear-gradient(
|
|
127
|
+
var(--theme-yellow) 0%,
|
|
128
|
+
var(--theme-bg0) 50%,
|
|
129
|
+
var(--theme-green) 100%
|
|
130
|
+
);
|
|
131
|
+
}
|
|
132
|
+
|
|
133
|
+
perspective-context-menu[theme="Eggplant"],
|
|
134
|
+
perspective-copy-menu[theme="Eggplant"],
|
|
135
|
+
perspective-export-menu[theme="Eggplant"],
|
|
136
|
+
perspective-dropdown[theme="Eggplant"],
|
|
137
|
+
perspective-date-column-style[theme="Eggplant"],
|
|
138
|
+
perspective-datetime-column-style[theme="Eggplant"],
|
|
139
|
+
perspective-number-column-style[theme="Eggplant"],
|
|
140
|
+
perspective-string-column-style[theme="Eggplant"] {
|
|
141
|
+
--theme-bg0: #1e1230;
|
|
142
|
+
--theme-bg1: #2a1a42;
|
|
143
|
+
--theme-bg2: #3a2758;
|
|
144
|
+
--theme-bg3: #4d3670;
|
|
145
|
+
--theme-fg0: #f1eaff;
|
|
146
|
+
--theme-fg1: #cbbde8;
|
|
147
|
+
--theme-fg2: #7d6a9e;
|
|
148
|
+
--theme-green: #7ee787;
|
|
149
|
+
--theme-yellow: #ffd75e;
|
|
150
|
+
--theme-lime: #c8f060;
|
|
151
|
+
--theme-mint: #6ee7c8;
|
|
152
|
+
--theme-amber: #f0b86e;
|
|
153
|
+
--theme-lavender: #b8a1ff;
|
|
154
|
+
--theme-sky: #9be3ff;
|
|
155
|
+
--theme-rose: #ff7b8a;
|
|
156
|
+
--theme-pink: #ff8fd6;
|
|
157
|
+
--theme-coral: #ff8a80;
|
|
158
|
+
--theme-periwinkle: #7fa8ff;
|
|
159
|
+
|
|
160
|
+
background-color: var(--theme-bg0);
|
|
161
|
+
color: var(--theme-fg0);
|
|
162
|
+
color-scheme: dark;
|
|
163
|
+
--psp--color: var(--theme-fg1);
|
|
164
|
+
--psp-active--color: var(--theme-green);
|
|
165
|
+
--psp-error--color: var(--theme-rose);
|
|
166
|
+
--psp-inactive--color: var(--theme-fg2);
|
|
167
|
+
--psp-inactive--border-color: var(--theme-bg3);
|
|
168
|
+
--psp--background-color: var(--theme-bg0);
|
|
169
|
+
--psp-active--background: rgba(126, 231, 135, 0.3);
|
|
170
|
+
--psp-expression--operator--color: var(--theme-yellow);
|
|
171
|
+
--psp-expression--function--color: var(--theme-green);
|
|
172
|
+
--psp-expression--psp-error--color: var(--theme-rose);
|
|
173
|
+
--psp-calendar--filter: invert(1);
|
|
174
|
+
--psp-input--filter: invert(1);
|
|
175
|
+
--psp-warning--color: var(--theme-bg0);
|
|
176
|
+
--psp-warning--background: var(--theme-yellow);
|
|
177
|
+
|
|
178
|
+
--psp-status-icon--connected--color: var(--theme-green);
|
|
179
|
+
--psp-status-icon--initializing--color: var(--theme-yellow);
|
|
180
|
+
--psp-status-icon--psp-error--color: var(--theme-rose);
|
|
181
|
+
|
|
182
|
+
--psp-code-editor--symbol--color: var(--theme-fg0);
|
|
183
|
+
--psp-code-editor--literal--color: var(--theme-yellow);
|
|
184
|
+
--psp-code-editor--operator--color: var(--theme-yellow);
|
|
185
|
+
--psp-code-editor--comment--color: var(--theme-fg2);
|
|
186
|
+
--psp-code-editor--column--color: var(--theme-lime);
|
|
187
|
+
|
|
188
|
+
border: 1px solid #4d3670;
|
|
189
|
+
}
|