File tree 2 files changed +15
-9
lines changed
2 files changed +15
-9
lines changed Original file line number Diff line number Diff line change @@ -99,7 +99,7 @@ class Menu extends sys.LabFrame {
99
99
h : 40 ,
100
100
step : 60 ,
101
101
border : 2 ,
102
- shadowShift : 6 ,
102
+ shadowShift : 3 ,
103
103
IDLE_TIMEOUT : 20 ,
104
104
105
105
OPTION_PREFIX : '< ' ,
@@ -126,10 +126,11 @@ class Menu extends sys.LabFrame {
126
126
init ( ) {
127
127
if ( this . trap ) this . setTrap ( this . trap )
128
128
if ( this . items ) this . selectFrom ( this . items )
129
+ this . syncTheme ( )
129
130
}
130
131
131
132
syncTheme ( ) {
132
- this . color = defaultColorTheme
133
+ this . color = augment ( { } , defaultColorTheme , env . style . color . menu )
133
134
}
134
135
135
136
adjust ( ) {
Original file line number Diff line number Diff line change @@ -3,17 +3,22 @@ const style = {
3
3
//background: hsl(.04, .05, .1),
4
4
5
5
color : {
6
- background : '#ab9b8e' ,
7
- outside : '#847875' ,
8
- front : '#49343d' ,
9
- title : '#49343d' ,
10
- subTitle : '#49343d' ,
11
- status : '#d2c9a5' ,
12
- statusBack : '#392945DE' ,
6
+ background : '#ab9b8e' ,
7
+ outside : '#847875' ,
8
+ title : '#49343d' ,
9
+ subTitle : '#49343d' ,
10
+ status : '#d2c9a5' ,
11
+ statusBack : '#392945DE' ,
13
12
14
13
credits : '#71627d' ,
15
14
creditsShadow : '#000000' ,
16
15
creditsBack : '#ab9b8e' ,
16
+
17
+ menu : {
18
+ main : '#49343d' ,
19
+ deactivated : '#71627d' ,
20
+ selected : '#e2d9frontb5' ,
21
+ }
17
22
} ,
18
23
19
24
font : {
You can’t perform that action at this time.
0 commit comments