Skip to content

[ThemeEnforcement] Lift restriction on ThemeEnforcement class #665

@ataulm

Description

@ataulm

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.

image

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
None.

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions