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

Distribute CSS files in releases #173

Closed
rgarcia opened this issue Dec 22, 2014 · 5 comments
Closed

Distribute CSS files in releases #173

rgarcia opened this issue Dec 22, 2014 · 5 comments
Labels
docs Improvements or additions to the documentation

Comments

@rgarcia
Copy link

rgarcia commented Dec 22, 2014

material-ui would be much more user-friendly if it were possible to download it as a set of CSS files and examples. Currently there is a high barrier to using the project unless you're familiar with node/npm/browserify/react.

relates to #58 #63 #78

@TrySpace
Copy link
Contributor

I completely agree.

I tried "solving" this by doing: @import "node_modules/material-ui/example/src/less/main.less"; which sortof works, I can't seem to find the right .less in the src.

Which is very messy, and also, there's WAY too many overrides and dependencies.
At least each component should be possible to include separately (which is possible react-wise, but not less wise) it is now overriding a few custom css really can't be bothered "re-overriding".

As this project is right now, it's only suitable for starting from scratch, as it is too dependent on deploying as is, and start expanding from the forked repo.

@gpbl
Copy link
Contributor

gpbl commented Dec 23, 2014

AFAIK the project was intended for react-based applications: there are other frameworks implementing only the CSS. I guess the framework is meant to work with our own styles, so a compiled .css file doesn't make sense.

Sure the docs should be more explicit about this (and provide better examples). I understand users having problems implementing it: not everybody uses less, gulp, es6 nor browserify.

@TrySpace the docs app may help to understand how to build the less files.

@hai-cea
Copy link
Member

hai-cea commented Dec 26, 2014

I think it would be useful to offer compiled js and css files. However, since these components depend on react, developers will at least need to understand how to use react components.

It would also be really nice if we can customize this build and developers can just pick and choose which components get included in the compiled files.

Also relates to #56

@hai-cea
Copy link
Member

hai-cea commented Feb 8, 2015

This may not be necessary if we do #30 .

@hai-cea
Copy link
Member

hai-cea commented May 27, 2015

CSS / LESS files are no longer needed as of v0.8

@hai-cea hai-cea closed this as completed May 27, 2015
@oliviertassinari oliviertassinari added the status: waiting for maintainer These issues haven't been looked at yet by a maintainer label Dec 25, 2022
@zannager zannager added docs Improvements or additions to the documentation and removed status: waiting for maintainer These issues haven't been looked at yet by a maintainer labels Jan 16, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
docs Improvements or additions to the documentation
Projects
None yet
Development

No branches or pull requests

6 participants