Okay y’all, I’ve condensed my ideas about a new UI tool into one (hopefully) coherent document. Can y’all be so kind to see if this is a good approach to programming UIs?

https://knstrktr.aartaka.me/docs/spec.html

#programming #specification #UI #GUI #theWorkshop

knstrktr specification

@aartaka are you sure you want to approach styling this way? My first thoughts are supporting dark/light themes etc. Many programs are straight up illegible in my light terminal. I'm not sure what the right approach is.

@bouncepaw yeah, theming is fun indeed. But then, if the user can (and probably should) change the styles to the ones they like, it’s not a problem?

An alternative could be to make a palette and allow styling this palette instead. Which is as restrictive as per-element styling, but might be more universal and harder to break. Hmmmmmm.

@aartaka afaik you state in the spec that all programs should ship with default styles. Maybe say ‘should not’ instead? This way, they come with default sensible colours by default (and the user may override them as they please).
@bouncepaw hmmm, this is not stated anywhere, actually. The more we talk about it, the more I think that programs should never touch the styles—only the end user. Which is a misnomer—programmer and the user is likely the same 🤔
@aartaka oh, I've gravely misread, sorry