I am writing an extension and I would like to know the best way to implement form elements, etc. in the most concise and future proof way.
My approach until now has been just to copy from another screen that I consider to look fairly nice, but now that we have projects like https://civicrm.org/extensions/shoreditch in the works, I'd like to future proof my work and would love it if we could start to coalesce around a set of fairly high level rules.
I confess that I haven't yet installed https://github.com/civicrm/org.civicrm.shoreditch or https://github.com/civicrm/org.civicrm.styleguide/ which I suspect may well answer this question. If it does, I have another question: is it possible to write an extension that will look good using our pre-shoreditch theme and the shoreditch theme? Or is the pragmatic approach to just try and make things look nice with Shoreditch?