I'm working on styling a new block. I was hoping to have my button styles follow those of whatever theme is being used, but I can't find if here are any standard element classes in available.
I came across a few pages on moodle.org related to this, but it looks like the work has been abandoned, but the pages left up.
- https://docs.moodle.org/dev/Element_HTML_and_CSS_guidelines (Tracker issue says project is dead)
- https://docs.moodle.org/dev/Output_element_planning (Tracker issue closed and points to this page, but seems to be part of the above project)
- https://docs.moodle.org/dev/Render_library_specification (Already closed. Part of same project)
Is there anything going on in this area? Either way, what are best practices here? My first thought was to use bootstrap styles (class="btn btn-primary"), but I realize not all themes use bootstrap.
Any advise?