Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Changing Theme Doesn't Update Textbox, Combobox, and DatePicker Line Colors #308

Closed
seikosantana opened this issue Oct 27, 2023 · 3 comments

Comments

@seikosantana
Copy link
Contributor

I implemented dark/light mode toggle on the application. When theme mode is changed, most colors change but Textbox line colors don't, until I hover on the Textbox.

Before toggle:
image

After toggle:
image

After hovering the TextBox (the bottom one)
image

Here's how I toggled the theme:

var themeBootstrap = app.LocateMaterialTheme<MaterialTheme>();
themeBootstrap.BaseTheme = DarkModeSwitch.IsChecked ?? false ? BaseThemeMode.Dark : BaseThemeMode.Light;

Am I not toggling the theme correctly?

Thanks in advance

@seikosantana seikosantana changed the title Changing Theme Doesn't Update Textbox Colors Changing Theme Doesn't Update Textbox and Combobox Line Colors Oct 27, 2023
@seikosantana
Copy link
Contributor Author

I found that it also happens to Comboboxes

After Toggle
image

Same effects, colors are adjusted after hover

@seikosantana
Copy link
Contributor Author

It seems to also affect DatePickers

@seikosantana seikosantana changed the title Changing Theme Doesn't Update Textbox and Combobox Line Colors Changing Theme Doesn't Update Textbox, Combobox, and DatePicker Line Colors Oct 27, 2023
@SKProCH
Copy link
Collaborator

SKProCH commented Oct 27, 2023

Duplicate of #262

@SKProCH SKProCH closed this as not planned Won't fix, can't repro, duplicate, stale Oct 27, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants