File tree Expand file tree Collapse file tree 5 files changed +13
-8
lines changed Expand file tree Collapse file tree 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
1111Add ` hyper-dracula ` to the plugins list in your ` ~/.hyper.js ` config file.
1212
1313``` 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+ }
1722```
1823
1924#### Activating theme
Original file line number Diff line number Diff line change 11{
2- "$schema" : " https://biomejs.dev/schemas/1.6.4 /schema.json" ,
2+ "$schema" : " https://biomejs.dev/schemas/1.7.3 /schema.json" ,
33 "organizeImports" : {
44 "enabled" : true
55 },
Original file line number Diff line number Diff line change @@ -23,7 +23,7 @@ const colors = {
2323
2424exports . decorateConfig = ( config ) => {
2525 return Object . assign ( { } , config , {
26- backgroundColor,
26+ backgroundColor : config . backgroundColor || backgroundColor ,
2727 foregroundColor,
2828 borderColor,
2929 cursorColor,
Original file line number Diff line number Diff line change 11{
22 "name" : " hyper-dracula" ,
3- "version" : " 0.2.1 " ,
3+ "version" : " 0.2.2 " ,
44 "main" : " index.js" ,
55 "homepage" : " https://draculatheme.com/hyper" ,
66 "description" : " A dark theme for Hyper" ,
1919 "author" : " Dang Van Thanh <dangvanthanh@dangthanh.org>" ,
2020 "license" : " MIT" ,
2121 "devDependencies" : {
22- "@biomejs/biome" : " 1.6.4 " ,
22+ "@biomejs/biome" : " 1.7.3 " ,
2323 "husky" : " ^9.0.11" ,
24- "lint-staged" : " ^15.2.2 "
24+ "lint-staged" : " ^15.2.5 "
2525 },
2626 "scripts" : {
2727 "lint" : " bunx @biomejs/biome check ./index.js --apply" ,
You can’t perform that action at this time.
0 commit comments