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

Bootstrap CSS Import #95

Closed
hfhbd opened this issue Aug 14, 2021 · 5 comments · Fixed by #182 or #195
Closed

Bootstrap CSS Import #95

hfhbd opened this issue Aug 14, 2021 · 5 comments · Fixed by #182 or #195

Comments

@hfhbd
Copy link
Owner

hfhbd commented Aug 14, 2021

@gsteckman
Copy link
Contributor

Another potential approach? https://github.com/gzoritchak/kotlin-js-sass

@hfhbd
Copy link
Owner Author

hfhbd commented Oct 25, 2021

@gsteckman What is the purpose of this library? :) Ideally, I would like to use the Compose StyleSheet class from an existing CSS file.

@gsteckman
Copy link
Contributor

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.

@gsteckman
Copy link
Contributor

See also JetBrains/compose-multiplatform#1371

@hfhbd
Copy link
Owner Author

hfhbd commented May 15, 2022

Related to #187

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants