Skip to content

Commit

Permalink
fix: update color scheme to match tphbrok.github.io theme
Browse files Browse the repository at this point in the history
  • Loading branch information
tphbrok committed Jul 13, 2024
1 parent 509052d commit a0ddc8d
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 6 deletions.
Binary file modified screenshot.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
4 changes: 2 additions & 2 deletions src/editor.rs
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,7 @@ fn render_ui(cx: &mut Context) {
.row_between(Units::Pixels(SPACING))
.space(Units::Pixels(SPACING));
})
.background_color(Color::rgb(14, 16, 20));
.background_color(Color::rgb(5, 13, 17));
}

fn render_info(cx: &mut Context) {
Expand All @@ -129,7 +129,7 @@ fn render_info(cx: &mut Context) {
.top(Units::Pixels(SPACING))
.row_between(Units::Pixels(SPACING));
})
.background_color(Color::rgb(28, 32, 40))
.background_color(Color::rgb(13, 31, 41))
.height(Units::Pixels(HEIGHT - 5.0 * SPACING))
.left(Units::Pixels(10.0 * SPACING))
.on_mouse_up(|cx, _| cx.emit(EditorEvent::ClickInfo))
Expand Down
6 changes: 2 additions & 4 deletions src/theme.css
Original file line number Diff line number Diff line change
@@ -1,9 +1,7 @@
button {
background-color: rgb(40, 46, 57);
border: 1px solid rgba(79, 91, 117, 255);
background-color: rgb(26, 62, 82);
}

button:hover {
background-color: rgb(58, 67, 89);
border: 1px solid rgba(79, 91, 117, 100);
background-color: rgb(39, 93, 123);
}

0 comments on commit a0ddc8d

Please sign in to comment.