question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

theme variable explanations

See original GitHub issue

Hi 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:closed
  • Created 6 years ago
  • Reactions:1
  • Comments:12 (10 by maintainers)

github_iconTop GitHub Comments

0reactions
oliviertassinaricommented, Jan 24, 2018

When would one override one or the other of those?

@scottastrophic Solving #9891 will change the answer to your question. Right now, overriding theme.palette.types has close to no effect.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Variable definitions for themes - Manager Forum
I'm trying to create a custom theme and having a headache trying to figure what variables are available and what is the proper...
Read more >
Themes, variables, and the limits to calculating sample size in ...
This paper assumes that themes can be predicted in a population beforehand and their prevalence known in some way. The actual definition of...
Read more >
How to Do Thematic Analysis | Step-by-Step Guide & Examples
Thematic analysis is a method of analyzing qualitative data (e.g. interviews). Follow these 6 steps to find and describe themes in your data....
Read more >
UI Theming with CSS Variables - Dev Induct
This article is about using CSS variables to switch the theme on ... It provides simple explanations and fun ways to learn how...
Read more >
Theming With Variables: Globals and Locals - CSS-Tricks
Setting CSS variables to theme a design system can be tricky: if they are too scoped, the system will lose consistency.
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found