this post was submitted on 06 Jul 2023
166 points (99.4% liked)

Fediverse

27910 readers
5 users here now

A community to talk about the Fediverse and all it's related services using ActivityPub (Mastodon, Lemmy, KBin, etc).

If you wanted to get help with moderating your own community then head over to [email protected]!

Rules

Learn more at these websites: Join The Fediverse Wiki, Fediverse.info, Wikipedia Page, The Federation Info (Stats), FediDB (Stats), Sub Rehab (Reddit Migration), Search Lemmy

founded 1 year ago
MODERATORS
 

Decided to try my hand at bringing my favorite theme to Lemmy. It's very rough right now but I figured I would share with the community. You can install it in Stylus here to test. I welcome all feedback and suggestions!

you are viewing a single comment's thread
view the rest of the comments
[โ€“] [email protected] 3 points 1 year ago (1 children)

This is really well done, thank you!

Is it possible to make the font configurable? That can be done in the header like:

@var select user-font "Font" ["Comic Sans MS", "Comic Neue", "PT Sans", "PT Serif"]

Then later use it like:

html {
    font-family: var(--user-font);
}

Full working example at my Discord Solarized Dark Comic Sans MS theme.

[โ€“] [email protected] 1 points 1 year ago

Thanks for the suggestion, I didn't know this was a possibility. Just pushed an update that should now include font options!