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

[ThemeEnforcement] Lift restriction on ThemeEnforcement class #665

ataulm opened this issue Oct 9, 2019 · 0 comments


Copy link

@ataulm ataulm commented Oct 9, 2019

Is your feature request related to a problem? Please describe.
I want to override theme attributes in a default style.

MaterialButton demonstrates how we can use materialThemeOverlay by wrapping the context using a function from ThemeEnforcement, which reads our materialThemeOverlay.


Unfortunately, this class is restricted to LIBRARY_GROUP so it's not usable outside of the library module.

Describe the solution you'd like
Lift LIBRARY_GROUP restriction from ThemeEnforcement class.

Describe alternatives you've considered
I've copied the file into my project 😬

Additional context

@ymarian ymarian self-assigned this Oct 16, 2019
@dsn5ft dsn5ft closed this in 115313c Oct 21, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
None yet
2 participants
You can’t perform that action at this time.