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

Theme for Vision Pro #226

Open
bremington opened this issue Mar 31, 2024 · 1 comment
Open

Theme for Vision Pro #226

bremington opened this issue Mar 31, 2024 · 1 comment
Assignees
Labels
enhancement New feature or request

Comments

@bremington
Copy link

I have adjusted my app to use your package and to have a selectable set of Themes. However in supporting Vision Pro I need the ability to change background and surfaces to a blurred filter with limited opacity, and to bump all text to medium and bold weights in White. I don't have the freedom to hand code every background with a .copyWith..... So I was hoping you could add these simple additions to the package and perhaps have a dedicated theme for Vision Pro. Thank you!

@rydmike rydmike added the enhancement New feature or request label Aug 17, 2024
@rydmike
Copy link
Owner

rydmike commented Oct 15, 2024

Current ThemeData in Flutter cannot contain blur filters in any of its config properties. And since FlexColorScheme is a super fancy ThemeData factory, it cannot be done since Flutter ThemeData does not support it.

If Flutter ever adds support for blurs, and also for making the app itself blur translucent, to Material ThemeData, it will certainly be added to FlexColorScheme as well.

As for modifying the global TextTheme and many TextStyles on component theme leel, it is something you can do already with the FlexColorScheme API, just not from within the Themes Playground*. I do plan to add configs for some text sizes in the Playground in future version though.

More component TextStyles were added in the recent 8.0.0-dev.1 release. You could use them before too, but need to use copyWith override on produce ThemeData.


New release 8.0.0-dev.1

FlexColorScheme package dev release 8.0.0-dev.1 has been published. This is a BIG update with breaking changes and many new features. It has its own dev pre-release of the Themes Playground as well, feel free to take a look. No new API changes are planned for the stable 8.0.0 release from this dev.1 release.

We would appreciate any feedback about found issues from early adopters.

This issue is solved in the new release, but I will not close this issue until the stable version of 8.0.0 has been released.

FOR INFO there will be no new features or changes in it compared to this one. Only any issues found from the quality assurance will be addressed. The stable release will also include many doc updates, but docs site will continue to be edited and revised AFTER the 8.0.0 stable release.

@rydmike rydmike self-assigned this Oct 15, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants