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

Add additional colors as theme resources #68

Closed
JerryNixon opened this issue Sep 8, 2015 · 7 comments
Closed

Add additional colors as theme resources #68

JerryNixon opened this issue Sep 8, 2015 · 7 comments

Comments

@JerryNixon
Copy link
Member

https://msdn.microsoft.com/en-us/library/windows/apps/windows.ui.viewmanagement.uicolortype

@ghost
Copy link

ghost commented Sep 18, 2015

I can help out on this as I am already trying to do this

@JerryNixon
Copy link
Member Author

Perfection. Update your code base, lots of changes.

@JerryNixon
Copy link
Member Author

Have you made any progress?

@ghost
Copy link

ghost commented Sep 24, 2015

Some will try and post something for you soon.

@JerryNixon
Copy link
Member Author

Cool. Let me know.

@JerryNixon
Copy link
Member Author

How's it coming?

@h82258652
Copy link
Contributor

This is easy to use:

new UISettings().GetColorValue(UIColorType.Accent);

But in mobile, the method "GetColorValue" will throw a InvalidCastException.
I think use:

(Color)Application.Current.Resources["SystemAccentColor"];

It's better.

@JerryNixon JerryNixon added this to the NuGet Library v1.0.5 milestone Oct 15, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants