There have been a number of ongoing conversations and PR’s around trying to add semantics to the lemmy-ui markup to enable developers to more easily create custom themes, userscripts, and browser extensions.

Up until now we’ve had no input from a maintainer, as they are rightfully heads down focused on shipping the 0.18 update. We now have direction on where we should be focusing our effort and to what extent the project will offer support for this:

…I’m fine with adding something like this, with the very bold caveat that we as maintainers will not do custom theme support, and if class names change, and themes break, that is up to themers, not us. I’ve had to close so many issues on this repo for people asking me to do theming support for them, which I don’t have time to do.

This is great news for anyone who has been struggling with incredibly deep class selectors and general lack of specificity. There is further mention of switching UI frameworks in the future, so do expect that whatever you build today may break tomorrow. We’re still in the very early days of the Lemmy maturity lifecycle, but it’s encouraging to receive acknowledgement for this effort.

Relevant links to the various efforts in addition to the post link:

  • mershed_perderders@sh.itjust.worksM
    link
    fedilink
    English
    arrow-up
    4
    ·
    1 year ago

    Yeah, I’m all for it. Transitioning away from bootstrap is the right call. It was fine for it’s time, but as mentioned, offerings have improved in that area.

    Regardless of future changes, this is the right way forward at this moment.