mirror of
https://github.com/mikedilger/gossip.git
synced 2024-09-29 08:21:47 +00:00
Change selection color to accent_color for better visibility and fix 2 unused imports
This commit is contained in:
parent
d0aa9c9ef8
commit
fda89dd542
@ -60,7 +60,6 @@ use egui_video::{AudioDevice, Player};
|
||||
use egui_winit::egui::Rect;
|
||||
use egui_winit::egui::Response;
|
||||
use egui_winit::egui::ViewportBuilder;
|
||||
use egui_winit::winit::raw_window_handle::HasDisplayHandle;
|
||||
use gossip_lib::comms::ToOverlordMessage;
|
||||
use gossip_lib::nip46::Approval;
|
||||
use gossip_lib::{
|
||||
|
@ -185,7 +185,7 @@ impl ThemeDef for DefaultTheme {
|
||||
hyperlink_color: Self::accent_color(true),
|
||||
|
||||
selection: Selection {
|
||||
bg_fill: Color32::from_gray(40),
|
||||
bg_fill: Self::accent_color(true),
|
||||
stroke: Stroke::new(0.0, Color32::from_gray(220)),
|
||||
},
|
||||
|
||||
@ -273,7 +273,7 @@ impl ThemeDef for DefaultTheme {
|
||||
hyperlink_color: Self::accent_color(false),
|
||||
|
||||
selection: Selection {
|
||||
bg_fill: Color32::from_gray(220), // DONE
|
||||
bg_fill: Self::accent_color(false), // DONE
|
||||
stroke: Stroke::new(1.0, Color32::from_gray(40)), // DONE
|
||||
},
|
||||
|
||||
|
@ -34,8 +34,6 @@ pub use switch::{switch_custom_at, switch_with_size};
|
||||
mod textedit;
|
||||
pub use textedit::TextEdit;
|
||||
|
||||
use self::list_entry::text_to_galley;
|
||||
|
||||
use super::GossipUi;
|
||||
|
||||
pub const DROPDOWN_DISTANCE: f32 = 10.0;
|
||||
|
Loading…
Reference in New Issue
Block a user