feat: enhance configuration management and UI styling, remove unused theme module

This commit is contained in:
2026-03-15 18:31:22 +01:00
parent 3098a4be7c
commit 3093bc9124
7 changed files with 14 additions and 61 deletions

View File

@@ -112,7 +112,12 @@ fn view(state: &KLauncherApp) -> Element<'_, Message> {
.id(INPUT_ID.clone())
.on_input(Message::QueryChanged)
.padding(12)
.size(cfg.search_font_size);
.size(cfg.search_font_size)
.style(|theme, _status| {
let mut s = iced::widget::text_input::default(theme, iced::widget::text_input::Status::Active);
s.border = Border { color: Color::TRANSPARENT, width: 0.0, radius: 0.0.into() };
s
});
let row_radius: f32 = cfg.row_radius;
let title_size: f32 = cfg.title_size;