File tree Expand file tree Collapse file tree 3 files changed +30
-25
lines changed Expand file tree Collapse file tree 3 files changed +30
-25
lines changed Original file line number Diff line number Diff line change 1
- ### [ Hyper] ( https://hyper.is/ )
1
+ # [ Hyper] ( https://hyper.is/ )
2
2
3
- #### Install using the [ hyper command-line interface] ( https://hyper.is/ )
3
+ ## Install using the [ hyper command-line interface] ( https://hyper.is/ )
4
4
5
- $ hyper install hyper-dracula
5
+ ``` shell
6
+ $ hyper install hyper-dracula
7
+ ```
6
8
7
- #### Install using config file
9
+ ## Install using config file
8
10
9
11
Add ` hyper-dracula ` to the plugins list in your ` ~/.hyper.js ` config file.
10
12
11
- plugins: [
12
- 'hyper-dracula'
13
- ]
13
+ ``` shell
14
+ plugins: [
15
+ ' hyper-dracula'
16
+ ]
17
+ ```
14
18
15
- #### Activating theme
19
+ ## Activating theme
16
20
17
21
1 . Start Hyper
18
22
2 . Go to ` View -> Full Reload ` or pressing ` Cmd + Shft + R `
Original file line number Diff line number Diff line change @@ -22,26 +22,27 @@ 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
+ }
25
33
26
- exports . decorateConfig = ( config ) => {
27
- return Object . assign ( { } , config , {
34
+ .tab_active:before {
35
+ border-color: ${ borderColor } ;
36
+ }
37
+ ` ;
38
+
39
+ exports . decorateConfig = ( config ) =>
40
+ Object . assign ( { } , config , {
28
41
backgroundColor,
29
42
foregroundColor,
30
43
borderColor,
31
44
cursorColor,
32
45
colors,
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
- ` ,
46
+ termCSS,
47
+ css,
46
48
} ) ;
47
- } ;
Original file line number Diff line number Diff line change 1
1
{
2
2
"name" : " hyper-dracula" ,
3
- "version" : " 0.1.9 " ,
3
+ "version" : " 0.2.0 " ,
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