1010// ┃ of the [Apache License 2.0](https://www.apache.org/licenses/LICENSE-2.0). ┃
1111// ┗━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┛
1212
13- @import url(" ref://pro-workspace.less" );
14- @import url(" ref://@finos/perspective-viewer/src/themes/pro-dark.less" );
15- @import url(" ref://@finos/perspective-viewer/src/themes/variables.less" );
13+ @grey60 : #c5c9d0 ;
14+ @grey500 : #3b3f46 ;
15+ @grey600 : #2f3136 ;
16+ @grey700 : #2a2c2f ;
17+ @grey800 : #242526 ;
1618
1719perspective- workspace,
1820perspective- workspace[theme= " Pro Dark" ],
@@ -41,8 +43,6 @@ perspective-workspace perspective-viewer[settings] {
4143perspective- workspace {
4244 @include perspective- workspace- pro- base;
4345 @include perspective- viewer- pro- dark--colors ;
44- --column-drag-handle--mask-image : url(" ../../../../rust/perspective-viewer/src/svg/drag-handle.svg" ) ;
45- --bookmarks--mask-image : url(" ../../../../rust/perspective-viewer/src/svg/bookmark-icon.svg" ) ;
4646
4747 background-color : #000202 ;
4848 color : white ;
@@ -63,12 +63,70 @@ perspective-viewer[theme="Pro Dark"].workspace-master-widget {
6363}
6464
6565.p-Menu {
66- // font-family: "ui-monospace", "SFMono-Regular", "SF Mono", "Menlo", "Consolas", "Liberation Mono", monospace;
67- // font-weight: 300 !important;
68- background : @grey700 !important ;
69- color : white !important ;
70- border : 1px solid @grey500 !important ;
71-
72- font-family : " ui-monospace" , " SFMono-Regular" , " SF Mono" , " Menlo" , " Consolas" , " Liberation Mono" , monospace ;
66+ font-family : " ui-monospace" , " SFMono-Regular" , " SF Mono" , " Menlo" ,
67+ " Consolas" , " Liberation Mono" , monospace ;
7368 font-weight : 300 ;
74- }
69+ background : @grey700 !important ;
70+ color : white !important ;
71+ border : 1px solid @grey500 !important ;
72+ }
73+
74+ @mixin perspective- workspace- pro- base {
75+ font-family : " ui-monospace" , " SFMono-Regular" , " SF Mono" , " Menlo" ,
76+ " Consolas" , " Liberation Mono" , monospace ;
77+ --open-settings-button--content : " expand_more" ;
78+ --close-settings-button--content : " expand_less" ;
79+ --close-button--content : " \2715 " ;
80+ --master-divider--background-color : #243136 ;
81+ --menu-maximize--content : " fullscreen" ;
82+ --menu-minimize--content : " fullscreen_exit" ;
83+ --menu-duplicate--content : " call_split" ;
84+ --menu-master--content : " cast" ;
85+ --menu-detail--content : " notes" ;
86+ --menu-export--content : " file_download" ;
87+ --menu-copy--content : " file_copy" ;
88+ --menu-reset--content : " autorenew" ;
89+ --menu-link--content : " link" ;
90+ --menu-unlink--content : " link_off" ;
91+ --menu-newmenu--content : " add" ;
92+ --menu-close--content : " close" ;
93+ --menu-new--content : " description" ;
94+ --menu-newview--content : " file_copy" ;
95+
96+ --workspace-tabbar--border : 1px solid var (--inactive--color );
97+ --workspace-tabbar--border-width : 0px 1px 1px 1px ;
98+ --workspace-tabbar--border-radius : 0px 0px 6px 6px ;
99+ --workspace-tabbar--border-color : var (--inactive--color );
100+ --workspace-tabbar-tab--border-width : 1px 1px 0px 1px ;
101+ }
102+
103+ @mixin perspective- viewer- pro- dark--colors {
104+ background-color : #242526 ;
105+ color : white ;
106+ --icon--color : white ;
107+ --active--color : #2770a9 ;
108+ --error--color : #ff9485 ;
109+ --inactive--color : #61656e ;
110+ --inactive--border-color : #4c505b ;
111+ --plugin--background : #242526 ;
112+ --modal-target--background : rgba (255 , 255 , 255 , 0.05 );
113+ --active--background : rgba (39 , 113 , 170 , 0.5 );
114+ --expression--operator-color : #c5c9d0 ;
115+ --expression--function-color : #22a0ce ;
116+ --expression--error-color : rgb (255 , 136 , 136 );
117+ --calendar--filter : invert (1 );
118+ --warning--color : #242526 ;
119+ --warning--background : var (--icon--color );
120+
121+ --select-arrow--background-image : var (
122+ --select-arrow-light--background-image
123+ );
124+
125+ // Syntax
126+ --code-editor-symbol--color : white ;
127+ --code-editor-literal--color : #7dc3f0 ;
128+ --code-editor-operator--color : rgb (23 , 166 , 123 );
129+ --code-editor-comment--color : rgb (204 , 120 , 48 );
130+ --code-editor-column--color : #e18ee1 ;
131+ // --code-editor-unknown--color: rgb(204, 120, 48);
132+ }
0 commit comments