File tree Expand file tree Collapse file tree 2 files changed +17
-18
lines changed Expand file tree Collapse file tree 2 files changed +17
-18
lines changed Original file line number Diff line number Diff line change @@ -22,27 +22,26 @@ const colors = {
22
22
lightCyan : '#9aedfe' ,
23
23
lightWhite : '#e6e6e6' ,
24
24
} ;
25
- const termCSS = ( config ) => `
26
- ${ config . termCSS || '' }
27
- ` ;
28
- const css = ( config ) => `
29
- ${ config . css || '' }
30
- .tabs_list .tab_tab.tab_active .tab_text {
31
- background: ${ backgroundColor } ;
32
- }
33
25
34
- .tab_active:before {
35
- border-color: ${ borderColor } ;
36
- }
37
- ` ;
38
-
39
- exports . decorateConfig = ( config ) =>
40
- Object . assign ( { } , config , {
26
+ exports . decorateConfig = ( config ) => {
27
+ return Object . assign ( { } , config , {
41
28
backgroundColor,
42
29
foregroundColor,
43
30
borderColor,
44
31
cursorColor,
45
32
colors,
46
- termCSS,
47
- css,
33
+ termCSS : `
34
+ ${ config . termCSS || '' }
35
+ ` ,
36
+ css : `
37
+ ${ config . css || '' }
38
+ .tabs_list .tab_tab.tab_active .tab_text {
39
+ background: ${ backgroundColor } ;
40
+ }
41
+
42
+ .tab_active:before {
43
+ border-color: ${ borderColor } ;
44
+ }
45
+ ` ,
48
46
} ) ;
47
+ } ;
Original file line number Diff line number Diff line change 1
1
{
2
2
"name" : " hyper-dracula" ,
3
- "version" : " 0.2.0 " ,
3
+ "version" : " 0.2.1 " ,
4
4
"main" : " index.js" ,
5
5
"homepage" : " https://draculatheme.com/hyper" ,
6
6
"description" : " A dark theme for Hyper" ,
You can’t perform that action at this time.
0 commit comments