37

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?

you are viewing a single comment's thread
view the rest of the comments
[-] nnrx@lemmy.ca 1 points 1 year ago

Great work so far! That doesn't sound easy.

this post was submitted on 14 Jul 2023
37 points (93.0% liked)

General Discussion

11946 readers
11 users here now

Welcome to Lemmy.World General!

This is a community for general discussion where you can get your bearings in the fediverse. Discuss topics & ask questions that don't seem to fit in any other community, or don't have an active community yet.


🪆 About Lemmy World


🧭 Finding CommunitiesFeel free to ask here or over in: !lemmy411@lemmy.ca!

Also keep an eye on:

For more involved tools to find communities to join: check out Lemmyverse and Feddit Lemmy Community Browser!


💬 Additional Discussion Focused Communities:


Rules

Remember, Lemmy World rules also apply here.0. See: Rules for Users.

  1. No bigotry: including racism, sexism, homophobia, transphobia, or xenophobia.
  2. Be respectful. Everyone should feel welcome here.
  3. Be thoughtful and helpful: even with ‘silly’ questions. The world won’t be made better by dismissive comments to others on Lemmy.
  4. Link posts should include some context/opinion in the body text when the title is unaltered, or be titled to encourage discussion.
  5. Posts concerning other instances' activity/decisions are better suited to !fediverse@lemmy.world or !lemmydrama@lemmy.world communities.
  6. No Ads/Spamming.
  7. No NSFW content.

founded 1 year ago
MODERATORS