This issue was moved to a discussion.
You can continue the conversation there. Go to discussion →
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
[Question] How to use custom blending #35
Comments
Hi @davidmartos96, Thanks for your question. Are you wondering how to use surface blends with In FlexColorSchemeIf about To see how to just use it with If you used the Themes Playground app https://rydmike.com/flexcolorschemeV4Tut5, and vary the surface mode and look at the code it generates, before and after changes of them, you cans see how to use it too. theme: FlexThemeData.light(
scheme: FlexScheme.blumineBlue,
surfaceMode: FlexSurfaceMode.highScaffoldLowSurface,
blendLevel: 20,
),
darkTheme: FlexThemeData.dark(
scheme: FlexScheme.blumineBlue,
surfaceMode: FlexSurfaceMode.highScaffoldLevelSurface,
blendLevel: 15,
), If you are a bit daring and want to try the development version of FlexColorScheme version 5* It has an even fancier WEB app where you can see API code side by side (if your WEB desktop screen is wide enough) as you modify settings and you can more easily copy the code at any point: The API for most things are unchanged from version 4 to version 5, there are just many more things in version5. Version 5 is ready for release and stable now, but documentation is not done yet and I won't release it as stable before it is. Outside FlexColorSchemeYou can if you want to use it to make blends for other purposes and custom themes, not even using |
What I was wondering is if it was possible to blend with a custom color different from the primary color, inside the Flex Color theme |
No, not currently, but you can of course use whatever color as your primary color. It would of course not be so difficult to provide a separate configurable custom blend color. The challenge is more to use it in a nice way. It is a bit tricky to produce results that automatically looks pretty and nice, if the blend color is very different from the primary "main" color of the app. As long as it is some close hue to it, it may work pretty well though and could provide options for even more varied styles and designs. I might try the idea in a future version, experiment with it first and see how it works visually. |
Great, thanks for the answers! |
This issue was moved to a discussion.
You can continue the conversation there. Go to discussion →
Hello! I was wondering how one could use a custom blend coloring with the
FlexSchemeSurfaceColors.blend
factory. I wasn't able to find usages of that constructor.Thanks!
The text was updated successfully, but these errors were encountered: