theme variable explanations
See original GitHub issueHi there, thanks for this framework; it’s been largely working out great for a CMS we’re creating. One documentation request: I’ve been working with my designer to encourage her to express our colors in mui theme palette props, and one issue we’ve run into is confusion over what props are used where. The variable docs help explain the purpose of some of them, but we remain puzzled about others. I’ve been doing text searches of property names over the repo, but that’s had mixed success. In particular, we are interested in the intended (and automatic when using out-of-the-box components) uses of palette.text.divider
vs. palette.text.lightDivider
(and why those properties are under text
rather than, say, line
) and palette.background.default
vs. palette.background.contentFrame
. Happy to answer any clarifying questions that would be helpful to you. Thanks!
Issue Analytics
- State:
- Created 6 years ago
- Reactions:1
- Comments:12 (10 by maintainers)
Top GitHub Comments
@deannad https://material-ui-next.com/customization/overrides/
@scottastrophic Solving #9891 will change the answer to your question. Right now, overriding
theme.palette.types
has close to no effect.