diff --git a/solitaire_engine/src/home_plugin.rs b/solitaire_engine/src/home_plugin.rs index 7cc0c36..b958aca 100644 --- a/solitaire_engine/src/home_plugin.rs +++ b/solitaire_engine/src/home_plugin.rs @@ -38,8 +38,8 @@ use crate::ui_modal::{ ScrimDismissible, }; use crate::ui_theme::{ - ACCENT_PRIMARY, BG_ELEVATED, BG_ELEVATED_HI, BORDER_STRONG, BORDER_SUBTLE, RADIUS_MD, - STATE_INFO, TEXT_DISABLED, TEXT_PRIMARY, TEXT_SECONDARY, TYPE_BODY, TYPE_BODY_LG, + ACCENT_PRIMARY, BG_ELEVATED, BG_ELEVATED_HI, BORDER_STRONG, BORDER_SUBTLE, HighContrastBorder, + RADIUS_MD, STATE_INFO, TEXT_DISABLED, TEXT_PRIMARY, TEXT_SECONDARY, TYPE_BODY, TYPE_BODY_LG, TYPE_CAPTION, TYPE_DISPLAY, VAL_SPACE_1, VAL_SPACE_2, VAL_SPACE_3, Z_MODAL_PANEL, }; @@ -840,6 +840,7 @@ fn spawn_home_header_chips(parent: &mut ChildSpawnerCommands, ctx: &HomeContext< }, BackgroundColor(BG_ELEVATED), BorderColor::all(BORDER_SUBTLE), + HighContrastBorder::with_default(BORDER_SUBTLE), )) .with_children(|row| { for (label, value) in [ @@ -943,6 +944,7 @@ fn spawn_draw_mode_chip( }, BackgroundColor(bg), BorderColor::all(BORDER_SUBTLE), + HighContrastBorder::with_default(BORDER_SUBTLE), )) .with_children(|c| { c.spawn((Text::new(label.to_string()), font.clone(), TextColor(fg))); @@ -1156,6 +1158,7 @@ fn spawn_mode_card( ..default() }, BorderColor::all(BORDER_SUBTLE), + HighContrastBorder::with_default(BORDER_SUBTLE), )) .with_children(|chip| { chip.spawn(( diff --git a/solitaire_engine/src/settings_plugin.rs b/solitaire_engine/src/settings_plugin.rs index abe044c..22dcbfe 100644 --- a/solitaire_engine/src/settings_plugin.rs +++ b/solitaire_engine/src/settings_plugin.rs @@ -1950,6 +1950,7 @@ fn picker_row( }, BackgroundColor(bg), BorderColor::all(BORDER_SUBTLE), + HighContrastBorder::with_default(BORDER_SUBTLE), )) .with_children(|b| { let text_color = if is_selected { BG_BASE } else { TEXT_PRIMARY }; @@ -2091,6 +2092,7 @@ fn theme_picker_row( }, BackgroundColor(bg), BorderColor::all(BORDER_SUBTLE), + HighContrastBorder::with_default(BORDER_SUBTLE), )) .with_children(|b| { spawn_thumbnail_pair(b, entry.thumbnails.as_ref()); @@ -2212,6 +2214,7 @@ fn sync_row(parent: &mut ChildSpawnerCommands, status_text: &str, font_res: Opti }, BackgroundColor(BG_ELEVATED_HI), BorderColor::all(BORDER_SUBTLE), + HighContrastBorder::with_default(BORDER_SUBTLE), )) .with_children(|b| { b.spawn(( @@ -2272,6 +2275,7 @@ fn icon_button( }, BackgroundColor(BG_ELEVATED_HI), BorderColor::all(BORDER_SUBTLE), + HighContrastBorder::with_default(BORDER_SUBTLE), )) .with_children(|b| { b.spawn((Text::new(label.to_string()), glyph_font, TextColor(TEXT_PRIMARY)));