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

Only use the CSS of Material UI React Components #2003

Closed
tur-ing opened this issue Oct 28, 2015 · 3 comments
Closed

Only use the CSS of Material UI React Components #2003

tur-ing opened this issue Oct 28, 2015 · 3 comments
Labels
out of scope The problem looks valid but we won't fix it (maybe we will revisit it in the future)

Comments

@tur-ing
Copy link

tur-ing commented Oct 28, 2015

Material UI is a set of React Components that implement Google's Material Design in the best way I have seen so far.

Now I have a project where I am unfortunately not able to use React.js. But I want to use the great CSS the project includes.

Is there any way to embed the styles into my existing project?

http://stackoverflow.com/questions/33386399/only-use-the-css-of-material-ui-react-components

@isilweo
Copy link

isilweo commented Oct 28, 2015

I don't think you can extract CSS from material-ui because there is no CSS. Whole theme is done using javascript code. In the end inline styles are applied to elements. So it would be better just to use some other frameworks and there are quite few of them right now ie:

materializecss.com
www.getmdl.io
https://fezvrasta.github.io/bootstrap-material-design/

@alitaheri alitaheri added out of scope The problem looks valid but we won't fix it (maybe we will revisit it in the future) Core labels Dec 9, 2015
@alitaheri
Copy link
Member

We cannot provide a set of css classes since we are only relying on inline styles.

@Darmikon
Copy link

Can anybody share an example with a proper way to style own widgets with the same styles which are used in material-ui. For example now I use 3-rd party autocomplete and I would like to make its appearence similar to material-ui input element with the same focus/blur behaviour. Thanks

@mui mui locked and limited conversation to collaborators Dec 27, 2016
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
out of scope The problem looks valid but we won't fix it (maybe we will revisit it in the future)
Projects
None yet
Development

No branches or pull requests

4 participants