-
Notifications
You must be signed in to change notification settings - Fork 1.3k
Expand file tree
/
Copy pathpro-dark.less
More file actions
140 lines (125 loc) · 6.24 KB
/
pro-dark.less
File metadata and controls
140 lines (125 loc) · 6.24 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
// ┏━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┓
// ┃ ██████ ██████ ██████ █ █ █ █ █ █▄ ▀███ █ ┃
// ┃ ▄▄▄▄▄█ █▄▄▄▄▄ ▄▄▄▄▄█ ▀▀▀▀▀█▀▀▀▀▀ █ ▀▀▀▀▀█ ████████▌▐███ ███▄ ▀█ █ ▀▀▀▀▀ ┃
// ┃ █▀▀▀▀▀ █▀▀▀▀▀ █▀██▀▀ ▄▄▄▄▄ █ ▄▄▄▄▄█ ▄▄▄▄▄█ ████████▌▐███ █████▄ █ ▄▄▄▄▄ ┃
// ┃ █ ██████ █ ▀█▄ █ ██████ █ ███▌▐███ ███████▄ █ ┃
// ┣━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┫
// ┃ Copyright (c) 2017, the Perspective Authors. ┃
// ┃ ╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌ ┃
// ┃ This file is part of the Perspective library, distributed under the terms ┃
// ┃ of the [Apache License 2.0](https://www.apache.org/licenses/LICENSE-2.0). ┃
// ┗━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┛
@grey60: #c5c9d0;
@grey500: #3b3f46;
@grey600: #2f3136;
@grey700: #2a2c2f;
@grey800: #242526;
perspective-workspace,
perspective-workspace[theme="Pro Dark"],
perspective-indicator[theme="Pro Dark"] {
--theme-name: "Pro Dark";
}
perspective-workspace perspective-viewer {
--status-bar--height: 39px;
}
perspective-workspace perspective-viewer[settings] {
--modal-panel--margin: -4px 0 -4px 0;
--status-bar--border-radius: 6px 0 0 0;
--main-column--margin: 3px 0 3px 3px;
--main-column--border: 1px solid var(--inactive--color);
--main-column--border-width: 1px 0px 1px 1px;
--main-column--border-radius: 6px 0 0 6px;
--settings-button--margin: 10px 0 0 0;
}
perspective-workspace {
@include perspective-workspace-pro-base;
@include perspective-viewer-pro-dark--colors;
@include perspective-viewer-pro-dark--d3fc; // Fix: Add d3fc CSS variables for chart plugins
background-color: #000202;
color: white;
// --workspace-master--background-color: @grey800;
--workspace-tabbar--background-color: @grey800;
// --workspace-tabbar--border: 1px solid @grey500;
// --workspace-tabbar--border-color: @grey500;
--workspace-secondary--color: @grey60;
--workspace-tabbar--border: 1px solid var(--inactive--color);
--workspace-tabbar--border-width: 0px 1px 1px 1px;
--workspace-tabbar--border-radius: 6px;
--workspace-tabbar--border-color: var(--inactive--color);
--workspace-tabbar-tab--border-width: 1px 1px 0 1px;
}
perspective-viewer[theme="Pro Dark"].workspace-master-widget {
--plugin--background: @grey800;
}
perspective-workspace-menu {
font-family:
"ui-monospace", "SFMono-Regular", "SF Mono", "Menlo", "Consolas",
"Liberation Mono", monospace;
font-weight: 300;
background: @grey700 !important;
color: white !important;
border: 1px solid @grey500 !important;
}
@mixin perspective-workspace-pro-base {
font-family:
"ui-monospace", "SFMono-Regular", "SF Mono", "Menlo", "Consolas",
"Liberation Mono", monospace;
--open-settings-button--content: "expand_more";
--close-settings-button--content: "expand_less";
--close-button--content: "\2715";
--master-divider--background-color: #243136;
--menu-maximize--content: "fullscreen";
--menu-minimize--content: "fullscreen_exit";
--menu-duplicate--content: "call_split";
--menu-master--content: "cast";
--menu-detail--content: "notes";
--menu-export--content: "file_download";
--menu-copy--content: "file_copy";
--menu-reset--content: "autorenew";
--menu-link--content: "link";
--menu-unlink--content: "link_off";
--menu-newmenu--content: "add";
--menu-close--content: "close";
--menu-new--content: "description";
--menu-newview--content: "file_copy";
--workspace-tabbar--border: 1px solid var(--inactive--color);
--workspace-tabbar--border-width: 0px 1px 1px 1px;
--workspace-tabbar--border-radius: 6px;
--workspace-tabbar--border-color: var(--inactive--color);
--workspace-tabbar-tab--border-width: 1px 1px 0px 1px;
// Workspace
--column-drag-handle--mask-image: url("../svg/drag-handle.svg");
--bookmarks--mask-image: url("../svg/bookmark-icon.svg");
}
@mixin perspective-viewer-pro-dark--colors {
background-color: #242526;
--workspace-split-panel-handle--background-color: @grey800;
color: white;
--icon--color: white;
--active--color: #2770a9;
--error--color: #ff9485;
--inactive--color: #61656e;
--inactive--border-color: #4c505b;
--plugin--background: #242526;
--modal-target--background: rgba(255, 255, 255, 0.05);
--active--background: rgba(39, 113, 170, 0.5);
--expression--operator-color: #c5c9d0;
--expression--function-color: #22a0ce;
--expression--error-color: rgb(255, 136, 136);
--calendar--filter: invert(1);
--warning--color: #242526;
--warning--background: var(--icon--color);
--select-arrow--background-image: var(
--select-arrow-light--background-image
);
--select-arrow--hover--background-image: var(
--select-arrow-dark--background-image
);
// Syntax
--code-editor-symbol--color: white;
--code-editor-literal--color: #7dc3f0;
--code-editor-operator--color: rgb(23, 166, 123);
--code-editor-comment--color: rgb(204, 120, 48);
--code-editor-column--color: #e18ee1;
// --code-editor-unknown--color: rgb(204, 120, 48);
}