We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Hello, thanks for the great framework!
According to the documentation you can create custom themes:
https://nylo.dev/docs/5.x/themes-and-styling#creating-a-theme
This all is good. You can also switch the theme to the custom one:
NyTheme.set(context, id: "custom_theme");
However the problem occurs when using the colours from the theme:
ThemeColor.get(context).primaryContent
Because it defaults to either the light or dark theme here https://github.com/nylo-core/support/blob/5.x/lib/helpers/helper.dart#L554 it won't use the theme you set with NyTheme.set which makes it pointless.
NyTheme.set
The way it should work is to use the correct theme set by NyTheme.set.
The text was updated successfully, but these errors were encountered:
Hi @Sh1d0w,
I'll take a look at my earliest convenience.
Sorry, something went wrong.
This is fixed in v5.3.5.
Thanks for highlighting the issue 👍
Thanks, works great 🚀
No branches or pull requests
Hello, thanks for the great framework!
According to the documentation you can create custom themes:
https://nylo.dev/docs/5.x/themes-and-styling#creating-a-theme
This all is good. You can also switch the theme to the custom one:
However the problem occurs when using the colours from the theme:
Because it defaults to either the light or dark theme here https://github.com/nylo-core/support/blob/5.x/lib/helpers/helper.dart#L554 it won't use the theme you set with
NyTheme.set
which makes it pointless.The way it should work is to use the correct theme set by
NyTheme.set
.The text was updated successfully, but these errors were encountered: