Skip to content

Commit

Permalink
added a new theme
Browse files Browse the repository at this point in the history
  • Loading branch information
leth4 committed Feb 23, 2024
1 parent b305bb8 commit 76c1acb
Show file tree
Hide file tree
Showing 3 changed files with 23 additions and 2 deletions.
3 changes: 2 additions & 1 deletion web/src/renderwindow.js
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,8 @@ const themes = [
'perlin',
'dart',
'glass',
'brick'
'brick',
'beetle'
];

document.getElementById('minimize').addEventListener('click', () => appWindow.minimize());
Expand Down
3 changes: 2 additions & 1 deletion web/src/window.js
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,8 @@ const themes = [
'perlin',
'dart',
'glass',
'brick'
'brick',
'beetle'
];

export default class Window {
Expand Down
19 changes: 19 additions & 0 deletions web/themes/beetle.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
:root {
--editor-background-color: #2e2e2e;
--editor-code-background-color: #292929;
--editor-text-color: #cecece;
--editor-accent-color: #8ec1b3;
--editor-muted-color: #4e4e4e;
--selection-color: #6a6a6a;

--canvas-card-color: #292929;
--canvas-inversed-card-color: #424242;

--sidebar-background-color:#373737;
--sidebar-folder-color: #cecece;
--sidebar-file-color: #a1a1a1;
--sidebar-selection-color: #4b4b4b;

--shadow: 0px;
--border: 3px;
}

0 comments on commit 76c1acb

Please sign in to comment.