Hey all! So lemmy-ui actually supports custom themes, i.e. Instance owners can drag and drop a css file into an extra_themes folder. I noticed a reddit theme did not exist (at the time of writing), so I’ve begun working on one. I’m gonna keep working on it, but I always like to take a step back and ponder if this is even a good idea. The reason I’m doubting myself is, I can’t change the layout so I’m resorting to writing some pretty awful css. i.e.:

  • there’s a couple dropdowns, that I have to convert to not-dropdowns
  • I’m using the :has css selector, which is supported in chrome but behind a flag in firefox
  • some elements that I need to style do not have class names so I have to use super long selectors, like an adblocker filter almost

Is there a better way to do this? Is anyone else working on this?

  • Kabe@lemmy.world
    link
    fedilink
    arrow-up
    5
    ·
    edit-2
    1 year ago

    Check out this custom CSS from /u/frellwit@lemmy.world.

    https://lemmy.world/post/1376086

    Not only does it make Lemmy look much better on desktop without turning it into a Reddit clone, it adds some subtle but very cool little features:

    • Uses rounded thumbnails to external links.
    • Uses square thumbnails to internal images.
    • Colored proprietary social media thumbs with their brand colors. (So you don’t accidentally click on a youtube link for example).