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

General improvements to theming #47166

Open
jamiethain opened this issue Dec 16, 2019 · 5 comments
Open

General improvements to theming #47166

jamiethain opened this issue Dec 16, 2019 · 5 comments
Labels
a: quality A truly polished experience f: material design flutter/packages/flutter/material repository. framework flutter/packages/flutter repository. See also f: labels. team-design Owned by Design Languages team triaged-design Triaged by Design Languages team

Comments

@jamiethain
Copy link

Currently the Themeing system is difficult to use and understand.

For example what theme is applied to what? I just want to set the AppBar Text

I want to set every property in the application when using Theme's. How do we do this. It needs to be extremely well documented.

I found this in App Bar, that centerStyle was used to set title.

TextStyle centerStyle = widget.textTheme?.title
      ?? appBarTheme.textTheme?.title
      ?? theme.primaryTextTheme.title;


And I set appBarTheme.textTheme.title to white and I still get black.

Themeing is extremely difficult in Flutter.

@iapicca
Copy link
Contributor

iapicca commented Dec 17, 2019

Hi @jamiethain
could you please details the issue more in dept?
Are you indicating that something isn't working as intended
or you are advancing a proposal,
if the latter is the case could you please describe it in detail?
thank you

@iapicca iapicca added f: material design flutter/packages/flutter/material repository. waiting for customer response The Flutter team cannot make further progress on this issue until the original reporter responds labels Dec 17, 2019
@HansMuller HansMuller added the framework flutter/packages/flutter repository. See also f: labels. label Dec 17, 2019
@HansMuller
Copy link
Contributor

HansMuller commented Dec 17, 2019

I would definitely appreciate the additional info that @iapicca asked for. However it's agreed that much of theme system is difficult to understand and apply. We're working on a broad proposal to address the issue. Look for it early next year.

@jamiethain
Copy link
Author

jamiethain commented Dec 17, 2019 via email

@no-response no-response bot removed the waiting for customer response The Flutter team cannot make further progress on this issue until the original reporter responds label Dec 17, 2019
@tvolkert tvolkert changed the title Themes and Colors [feature request] General improvements to theming Jan 13, 2020
@TahaTesser TahaTesser added the a: quality A truly polished experience label Feb 28, 2020
@HansMuller
Copy link
Contributor

@jamiethain - Sorry, I'd forgotten to update this issue. Early this year we published an outline of the Theme related work we're planning: flutter.dev/go/material-theme-system-updates. The overall goal is to make the theme system easier to understand and apply. Because the button theme system is in the worst shape (in terms of usability), we've been focusing on that at the outset, see flutter.dev/go/material-button-system-updates and #54776.

@jamiethain
Copy link
Author

jamiethain commented May 11, 2020 via email

@TahaTesser TahaTesser changed the title [feature request] General improvements to theming General improvements to theming Jul 3, 2020
@flutter-triage-bot flutter-triage-bot bot added multiteam-retriage-candidate team-design Owned by Design Languages team triaged-design Triaged by Design Languages team labels Jul 8, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
a: quality A truly polished experience f: material design flutter/packages/flutter/material repository. framework flutter/packages/flutter repository. See also f: labels. team-design Owned by Design Languages team triaged-design Triaged by Design Languages team
Projects
None yet
Development

No branches or pull requests

5 participants