35
submitted 1 year ago by [email protected] to c/plugins

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:

top 4 comments
sorted by: hot top controversial new old
[-] mershed_perderders 4 points 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.

[-] [email protected] 2 points 1 year ago
[-] [email protected] 1 points 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

[-] god 1 points 1 year ago

Thank you for the updates.

this post was submitted on 19 Jun 2023
35 points (100.0% liked)

Lemmy Plugins and Userscripts

2110 readers
1 users here now

A general repository for user scripts and plugins used to enhance the Lemmy browsing experience.

Post (or cross-post) your favorite Lemmy enhancements here!

General posting suggestions:

Thanks!

founded 1 year ago
MODERATORS