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
Bootstrap CSS Import #95
Comments
Another potential approach? https://github.com/gzoritchak/kotlin-js-sass |
@gsteckman What is the purpose of this library? :) Ideally, I would like to use the |
It looks like a way to generate css with a sass compiler, and then load it. But it's obviously not related to Compose so wouldn't do what you want. If there was a way to load the Bootstrap css and turn it into an instance of a StyleSheet, there is still the problem of how to customize it (e.g. with custom theme colors). It could be a 2-step process - use sass to generate a customized Bootstrap css, then somehow load the css into a StyleSheet instance. Or, process sass files directly to Kotlin StyleSheet instances. It could be a compiler plugin. I'm not sure if either of these are good ideas though. |
See also JetBrains/compose-multiplatform#1371 |
Related to #187 |
dynamic import: https://github.com/mpetuska/kamp/blob/6bdcd2f123c9b4298ef4881069b94532a929938b/app/client/kmdc/src/jsMain/kotlin/button/MDCButton.kt#L15
Possible with one css file?
Alternative: Read CSS file and convert it to Kotlin to use it with typed classes and code shrinker? (dukat for CSS...)
The text was updated successfully, but these errors were encountered: