-
-
Notifications
You must be signed in to change notification settings - Fork 397
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
How to use css frameworks with jss: bootstrap, material. #247
Comments
|
I think, people need possibility of using global classes in jss-extend. In this case jss - abstraction layer between any css-framework and application code. We don't need to touch html or jsx, if css classnames changed and we will be able to migrate from global-css classes to pure jss little by little. It's hard to manual parse and maintain tons of scss files and converts them to jss functions. May be create smart scss to jss converter? |
scss/stylus to jss converter would be also part of the cli repository, also on my very long todo list. |
I think we can introduce jss-compose #265 |
@kof jss-compose is a great tool, but scss to jss converter would give us possibility to convert variables of a scss library into js ones and use them with jss in components. This is the most significant advantage of css libraries in my opinion - when you are able to have variables for screen sizes (media queries), colors, sizing, etc. And then use them throughout the app. Importing of compiled css files prevents us from using variables and editing them. Of course we can change them in scss and compile to css again when needed, but it still doesn't allow us to import variables into jss-powered styles. |
yes, scss2jss converter is also on the roadmap #166 |
Feel free to help. |
Can jss combine global-defined styles?
Example, using styles from framework free Material Design lite
Is there bootstrap or material, ported to jss (framework-free pure functions with cssx and jsx)?
For example: bootstrap, ported to css-modules.
The text was updated successfully, but these errors were encountered: