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

Possible to override accent color for a specific control or control type? #171

Open
rgwood opened this issue Oct 13, 2021 · 0 comments
Open
Labels
question Further information is requested

Comments

@rgwood
Copy link

rgwood commented Oct 13, 2021

Hi, I have a question about theming in Adonis UI. The docs show how to override accent color in a ResourceDictionary like this:

<Color x:Key="{x:Static adonisUi:Colors.AccentColor}">#0BAC08</Color>

That works well but it gets applied to everything. Is there a way to specify accent color for a specific control or type of control?

For some additional context, my accent color works well in most situations but it's a little excessive for the border around a focused TextBox. I'd like to revert to the default accent color (or another color) in that case.

P.S. AdonisUI is amazing and super helpful. Thanks for making it!

@rgwood rgwood added the question Further information is requested label Oct 13, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

1 participant