Brian Teague

Results 19 comments of Brian Teague

I'm having too much trouble with creating an automatic way to generate the function signatures based on the syntax. (The syntax gets crazy complicated) I think the best approach is...

@cristianbote This is finally ready for a serious review. I still expect quite a few changes from review, but cssProps is 90% done. Take a look at the readme here:...

Per zulip chat: playground link that has editor for testing multiple line roc-wasm4 programs.

Linaria’s main key feature is zero runtime cost by replacing dynamic values with css variables and generating css files during the build process. You can achieve similar results with goober...

I'm working on this, but running into typescript type definition errors. I'm new to typescript, so it's taking a little while to figure out.

Yes, you can conditionally assign classes based on a state variable. Const isError = false; const redClass = css({ color: "red" }) const greenClass = css({ color: "green" }) div...

Do you want to use a keyword and replace the keyword with the generated class name? Maybe handlebars syntax? Example: ```js const Foo = style("div")({ // some declarations "~ {class}":...

I'm working on fixing the type definitions and the readme. The current 2nd parameter is expecting an options object.

Now that we have an options parameter, we could add a defaultUnits property. The only problem is we have to have an enum of css properties that support unitless values...