Replies: 1 comment
-
It would be convenient to be enabled by default. But ReactJS is ugly by default as well, so that might be an odd mismatch. Also may cause unexpected consequences once users start frequently using the JavaScript components API and/or |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Right now, IDOM doesn't come with any styled elements out of the box. This basically means you need to bring your own which, if you just want to get something working quickly, is a bit of a pain. Perhaps we could include some default styling to make this easier.
As it happens, I just discovered Pico.css which seems like a great solution to this problem. In short, it applies styling to HTML elements without a class. This means users can get a decent looking interface without any extra effort. Here's a preview of what Pico.css can do:
demo.mp4
We could either turn this styling on by default, have an option to turn on default styling when you configure your backend, or do the latter but turn on default styling in
idom.run
. I think I'm partial to having the default styling on by default because I think being able to create good looking interfaces with little effort will leave a better impression - I'd rather have a user come back asking how to turn this off than to look at their UI, think it's ugly, and then leave without learning that you can turn on a default style.Beta Was this translation helpful? Give feedback.
All reactions