this post was submitted on 10 Jan 2025
8 points (100.0% liked)

Tesseract

40 readers
2 users here now

Tesseract: An Advanced Lemmy Client

The goal of Tesseract is to address as many things in Lemmy that annoy me as I can. I also trawl various "is there any way to [blank] in Lemmy?" posts to get feature ideas. Both of those lists are pretty extensive, so Tesseract has accumulated quite a few features.

Github: https://github.com/asimons04/Tesseract/

Hosted / Demo Instance: https://tesseract.dubvee.org

Note that the hosted instance defaults to Lemmy World, but it is unlocked to be able to connect to any Lemmy server.

Announcements, support, and guidance for the Tesseract UI.

All instance rules apply here. Beyond that, just be civil and constructive.

founded 1 year ago
MODERATORS
 

The post image shows Tesseract in dark mode with the Dark Reader extension active. It's not supposed to look like that lol. In the SpaceX post, the text should be legible with a gradient effect, but DarkReader breaks that. Also, the borders should not be anywhere near that pronounced.

This is how it's supposed to look in native dark mode

Tesseract Dark Mode Proper

Native light mode + Dark Reader looks kind-of okay (I may even adjust the native color scheme to be closer to that), but it still breaks the gradient effect on collapsed post previews and makes some buttons appear disabled:

You can disable Dark Reader on a per-site basis, and it's recommended to do so for Tesseract. Customizing the native themes to work better with Dark Reader is obviously not a priority since there is a native dark theme already lol.

Edit: I found there's a way for the app to tell Dark Reader to disable, and I have that added to the dev branch. I'm working on making that "disable" header dynamic, but for now, I'm fine with statically disabling it.

top 4 comments
sorted by: hot top controversial new old
[–] [email protected] 4 points 4 days ago (1 children)

Yep, I had the same experience, but it's trivial to disable DR for a domain, so I wouldn't put much effort into it.

[–] [email protected] 2 points 4 days ago

Somehow DR got re-enabled for me in dev after I had just made some tweaks to the Tailwind config. Freaked me out for a minute because I thought I royally screwed up Tailwind lol.

[–] [email protected] 2 points 4 days ago (1 children)

Does dark reader detect if you add CSS specifying that it's a dark theme? No idea if it does, but maybe something to look at.

I also thought Tesseract had some odd theming choices until I remembered I've got DR installed lol

[–] [email protected] 2 points 4 days ago

Ok, I looked into it further, and I can actually just have the app ask Dark Reader to disable itself: <meta name="darkreader-lock"> Added that in dev, and it works.

There are already CSS classes in place which say it's in "dark" theme, but DR doesn't look at those. They maintain a list of sites that are already natively dark that it will ignore, but that's impractical for a Fediverse application which can be hosted on any domain.

I hate to be heavy handed about it, but there is a dark theme already that also responds to system preference (in addition to having easy-to-reach manual toggles). There's a way to do it dynamically which I may work on, but it'll require additional testing.