File tree 5 files changed +13
-8
lines changed
5 files changed +13
-8
lines changed Original file line number Diff line number Diff line change @@ -11,9 +11,14 @@ hyper install hyper-dracula
11
11
Add ` hyper-dracula ` to the plugins list in your ` ~/.hyper.js ` config file.
12
12
13
13
``` shell
14
- plugins: [
15
- ' hyper-dracula'
16
- ]
14
+ module.exports = {
15
+ config: {
16
+ backgroundColor: ' #32302f' // override background color
17
+ },
18
+ plugins: {
19
+ ' hyper-dracula'
20
+ }
21
+ }
17
22
```
18
23
19
24
#### Activating theme
Original file line number Diff line number Diff line change 1
1
{
2
- "$schema" : " https://biomejs.dev/schemas/1.6.4 /schema.json" ,
2
+ "$schema" : " https://biomejs.dev/schemas/1.7.3 /schema.json" ,
3
3
"organizeImports" : {
4
4
"enabled" : true
5
5
},
Original file line number Diff line number Diff line change @@ -23,7 +23,7 @@ const colors = {
23
23
24
24
exports . decorateConfig = ( config ) => {
25
25
return Object . assign ( { } , config , {
26
- backgroundColor,
26
+ backgroundColor : config . backgroundColor || backgroundColor ,
27
27
foregroundColor,
28
28
borderColor,
29
29
cursorColor,
Original file line number Diff line number Diff line change 1
1
{
2
2
"name" : " hyper-dracula" ,
3
- "version" : " 0.2.1 " ,
3
+ "version" : " 0.2.2 " ,
4
4
"main" : " index.js" ,
5
5
"homepage" : " https://draculatheme.com/hyper" ,
6
6
"description" : " A dark theme for Hyper" ,
19
19
"author" : " Dang Van Thanh <dangvanthanh@dangthanh.org>" ,
20
20
"license" : " MIT" ,
21
21
"devDependencies" : {
22
- "@biomejs/biome" : " 1.6.4 " ,
22
+ "@biomejs/biome" : " 1.7.3 " ,
23
23
"husky" : " ^9.0.11" ,
24
- "lint-staged" : " ^15.2.2 "
24
+ "lint-staged" : " ^15.2.5 "
25
25
},
26
26
"scripts" : {
27
27
"lint" : " bunx @biomejs/biome check ./index.js --apply" ,
You can’t perform that action at this time.
0 commit comments