feat: high contrast theme updates

This commit is contained in:
Ashley Wulber 2025-03-07 16:53:22 -05:00 committed by Michael Murphy
parent 50d2104485
commit 508753ae69
6 changed files with 119 additions and 38 deletions

View file

@ -894,6 +894,7 @@ impl ThemeBuilder {
text_steps_array.as_deref(),
),
get_small_widget_color(base_index, 5, &neutral_steps, &p_ref.neutral_6),
is_high_contrast,
);
container
@ -968,6 +969,7 @@ impl ThemeBuilder {
text_steps_array.as_deref(),
),
get_small_widget_color(bg_index, 5, &neutral_steps, &p_ref.neutral_6),
is_high_contrast,
),
primary,
secondary: {
@ -1014,6 +1016,7 @@ impl ThemeBuilder {
text_steps_array.as_deref(),
),
get_small_widget_color(base_index, 5, &neutral_steps, &p_ref.neutral_6),
is_high_contrast,
)
},
accent: Component::colored_component(