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_perderdersM
    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.

    • Zetaphor@zemmy.ccOP
      link
      fedilink
      English
      arrow-up
      1
      ·
      1 year ago

      This PR just got maintainer approval. This should introduce a lot of nice QoL for themes and userscripts once it lands in 0.18

  • GodM
    link
    fedilink
    English
    arrow-up
    1
    ·
    1 year ago

    Thank you for the updates.