pure dark theme, no accent colors

This commit is contained in:
loki5512344 2026-06-15 21:39:17 +02:00
parent f600571d9c
commit 4e637535f0
4 changed files with 8 additions and 15 deletions

View file

@ -58,7 +58,6 @@ pub fn render(ui: &mut egui::Ui, _state: &mut AppState, tasks: &[TransferTask])
let pct = task.progress_pct();
let pb = egui::ProgressBar::new(pct as f32 / 100.0)
.text(format!("{:.1}%", pct))
.fill(egui::Color32::from_rgb(100, 80, 220))
.desired_width(ui.available_width() * 0.6);
ui.add(pb);

View file

@ -1,8 +1,6 @@
use crate::domain::connection::ConnectionStatus;
use crate::ui::state::AppState;
const ACCENT: egui::Color32 = egui::Color32::from_rgb(100, 80, 220);
pub fn render(ui: &mut egui::Ui, state: &mut AppState) {
ui.horizontal(|ui| {
let mut to_close: Option<usize> = None;
@ -22,7 +20,7 @@ pub fn render(ui: &mut egui::Ui, state: &mut AppState) {
let mut tab_btn = egui::Button::new(&label)
.min_size(egui::vec2(60.0, 28.0));
if is_active {
tab_btn = tab_btn.fill(ACCENT);
tab_btn = tab_btn.fill(egui::Color32::from_rgb(60, 60, 70));
}
if ui.add(tab_btn).clicked() {
state.active_tab = i;

View file

@ -2,9 +2,7 @@ use crate::ui::state::AppState;
pub fn render(ui: &mut egui::Ui, state: &mut AppState) {
ui.horizontal(|ui| {
let add_btn = egui::Button::new("+ New Connection")
.fill(egui::Color32::from_rgb(80, 60, 180));
if ui.add(add_btn).clicked() {
if ui.button("+ New Connection").clicked() {
state.show_connect_dialog = true;
}
});