-
Notifications
You must be signed in to change notification settings - Fork 1
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
Roadmap #118
Comments
Hi @Zn4rK ! Thanks for create the Issue.
In Kaze-style, we run the js file with nodejs and extract the css. The goal is to have guaranteed single file styles.
We aim to extend @kaze-style/themes and stabilize CSS extraction before release. Contributions welcome!! |
No worries! I'm super excited about
Nice!
I'm familiarising myself with the code base right now, and I will try to do some beneficial work in the coming days. I've been sketching on a As for the documentation, I can probably help with that as well. English isn't my native language, but I'm sure we can work together to create something good! Good enough for a native speaker to correct our grammar :) I haven't been working too much with |
About @kaze-style/themes
I have a new idea to support single file styles |
|
I have an idea that would work with the new idea of single file styles, and also be versatile to fit both css-props and an optional "createTheme" without adding bloat to the core (another package maybe). I'm still thinking and working on it, but I'll share a proof of concept very soon. |
I am very interested. |
Yes, minor to preTransform, but some big changes to transform. It will make sense if I can get it to work. My proof of concept works with babel-plugin, and I'm adapting the swc-plugin right now. The only drawback would be that the instantiation of // pseudo code, mainly meant for demonstration, actual implementation will be more thought through.
export const __style = <K extends string>(classes: Classes<K>[]) => classes.map((x) => new ClassName(x)); If that's not acceptable and it needs to happen during compile time, that could still be handled in the |
I would like to know how developers can use it. Also, I would like to minimize the processing in the browser, so I would like to make the __style function a Noop function and do the processing at build time. |
Yep - I agree. |
I recently stumbled upon this project whilst looking into performance issues with vanilla-extract.
I like the simplicity, and the fact that it seems to be truly atomic css. I've done some tests with provided playgrounds, and it is working very nicely.
I was mainly wondering about the roadmap. What do you want to add or change before this can be considered for a production release? Do you need help with anything?
I was also wondering about #90. It does seem like you still can use a single file for styles.
Is that intentional? If it is, very nice! My biggest issue with
vanilla-extract
is the fact that I can't co-locate styles to the components, and that I need to have multiple files. Kaze-style seems to solve this pretty well.Thank you for your work so far. This is looking very promising!
The text was updated successfully, but these errors were encountered: