dmjio

Results 196 comments of dmjio

@functora http://fvisser.nl/clay/ from @sebastiaanvisser

@functora, I have come up with a partial solution for CSS in this PR https://github.com/dmjio/miso/pull/859 It adds `styles :: [CSS]` to `App`, and it will guarantee that your styles are...

If we do decide to expose a stitch like interface into `miso` (`Miso.Style`), then we could also create a `miso-from-css` tool as well to generate the DSL code (just like...

@functora let me address each point you made above > At the moment I see couple of options, but they all are kinda bad: > Using the standard external CSS...

I like the aesthetic of this approach as well https://styled-components.com/ , and this is considered CSS-in-JS

I think it might be a good idea to make a CSS lexer, parser, QQ. This way we can verify statically semantically correct CSS, and also provide interpolation

@functora #984 should address `3)` in your [original post](https://github.com/dmjio/miso/issues/746#issue-2565252587) [Example use here](https://haddocks.haskell-miso.org/miso/Miso-Style-Types.html#t:StyleSheet)

Also @functora , @dhess , regarding components and tailwind, this is a nice style (Shad minus React), uses tailwind. We will use this for the new Components example https://basecoatui.com/ Also,...

https://github.com/dmjio/miso/commit/c5ed9cb3bbbd152ebe0f47739337bddb3a1cb681