Skip to content

Commit

Permalink
Fixed theme install on windows
Browse files Browse the repository at this point in the history
  • Loading branch information
NateTheDev1 committed Sep 15, 2022
1 parent 8674d51 commit 2bf7adf
Show file tree
Hide file tree
Showing 4 changed files with 63 additions and 6 deletions.
3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,8 @@
"version": "0.1.0-alpha",
"scripts": {
"setup": "concurrently 'npm:theme-install' 'npm:gitinfo'",
"watch:themes": "watch 'ts-node --esm --project ./scripts/tsconfig.json ./scripts/move-themes.ts' ./themes_dist/themes",
"watch-mac:themes": "watch 'npm run theme-install' ./themes_dist/themes",
"watch-win:themes": "watch \"npm run theme-install\" ./themes_dist/themes",
"theme-install": "ts-node --esm --project ./scripts/tsconfig.json ./scripts/move-themes.ts",
"gitinfo": "ts-node --esm --project ./scripts/tsconfig.json ./scripts/git-info.ts",
"dev": "vite",
Expand Down
35 changes: 30 additions & 5 deletions themes_dist/themes/[PLUTO_DARK].json
Original file line number Diff line number Diff line change
Expand Up @@ -4,26 +4,51 @@
{
"id": "window-body",
"defaultThemeSettings": {
"background": "#203339"
"background": "#202120"
}
},
{
"id": "title-bar",
"defaultThemeSettings": {
"background": "#202120",
"borderBottom": "1px solid #24262A"
}
},
{
"id": "titlebar.logo",
"defaultThemeSettings": {}
},
{
"id": "titlebar.button",
"defaultThemeSettings": {}
},
{
"id": "titlebar.icon",
"defaultThemeSettings": {
"fill": "white",
"stroke": "white"
"stroke": "#bfbdbd",
"fill": "#bfbdbd"
},
"hover": {
"stroke": "#FE9833",
"fill": "#FE9833"
}
},
{
"id": "titlebar.dropdown.header",
"defaultThemeSettings": {
"color": "white"
"color": "#bfbdbd"
},
"hover": {
"color": "#FE9833"
}
},
{
"id": "titlebar.version",
"defaultThemeSettings": {
"color": "white"
"color": "#bfbdbd"
},
"hover": {
"color": "#FE9833"
}
}
]
Expand Down
1 change: 1 addition & 0 deletions themes_dist/themes/[PLUTO_LIGHT].json
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
{}
30 changes: 30 additions & 0 deletions themes_dist/themes/[PLUTO_MATERIAL].json
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
{
"theme_id": "PLUTO_MATERIAL",
"elements": [
{
"id": "window-body",
"defaultThemeSettings": {
"background": "#203339"
}
},
{
"id": "titlebar.icon",
"defaultThemeSettings": {
"fill": "white",
"stroke": "white"
}
},
{
"id": "titlebar.dropdown.header",
"defaultThemeSettings": {
"color": "white"
}
},
{
"id": "titlebar.version",
"defaultThemeSettings": {
"color": "white"
}
}
]
}

0 comments on commit 2bf7adf

Please sign in to comment.