Skip to content

Lint checks for colorAccent and colorPrimaryDark #1523

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

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

gabrielemariotti
Copy link
Contributor

@gabrielemariotti gabrielemariotti commented Jul 26, 2020

Added lint checks:

  • ThemeCheckColorAccent : Detects usages colorAccent in style resources
  • ThemeCheckColorPrimaryDark : Detects usages colorPrimaryDark in style resources

It closes #1376

- ThemeCheckColorAccent : Detects usages colorAccent in style resources
- ThemeCheckColorPrimaryDark : Detects usages colorPrimaryDark in style resources
@gabrielemariotti
Copy link
Contributor Author

Just an example of the result:

Schermata 2020-07-26 alle 08 02 45

There is also a raw README.md (obviously the lib is not published).

@dsn5ft dsn5ft removed their assignment Apr 19, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[Theme] Lint should warn if setting colorAccent or colorPrimaryDark
3 participants