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

avoid conflicts between the widget style and containing page #12

Closed
tttp opened this issue Feb 28, 2020 · 1 comment
Closed

avoid conflicts between the widget style and containing page #12

tttp opened this issue Feb 28, 2020 · 1 comment
Labels
enhancement New feature or request good first issue Good for newcomers

Comments

@tttp
Copy link
Member

tttp commented Feb 28, 2020

Two things to tune on webpack:

  • have a different prefix to the default class (go away from MuiXXX and use ProcaXXX)
  • have a different prefix to the custom style (go aways from jssNN and use procaNNN)

This mostly impacts when the containing website is done on react (eg next.js or gatsby), so nothing urgent ;)

@tttp tttp added enhancement New feature or request good first issue Good for newcomers labels Feb 28, 2020
@tttp
Copy link
Member Author

tttp commented Jun 6, 2020

done.

with a few more changes to work in most case:
"force" (!important) the margin/padding/backround of the fields
adjust the size of the font, no matter what's done outside

Adjust color of the button or background automatically (inherit the button css)
adjust the font family

So far so good, open a new ticket if a specific issue

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request good first issue Good for newcomers
Projects
None yet
Development

No branches or pull requests

1 participant