Welcome to Incremental Social! Learn more about this project here!
Check out lemmyverse to find more communities to join from here!

@hitstun@fedia.io cover
@hitstun@fedia.io avatar

hitstun

@hitstun@fedia.io

Internet hologram, Reddit refugee, and mod of @FloatingIsFun . Retro game streamer since before Twitch, on hiatus to grind levels in being a dad and ally. Easily distracted by floaty things. he/him

https://linktr.ee/hitstun

This profile is from a federated server and may be incomplete. Browse more on the original instance.

e-five , to Mbin Dev
@e-five@kbin.run avatar

@hitstun just wanted to check with you as I think I misunderstood your request for a CSS var for color scheme. Do you mean you'd like something like class=theme--scheme-[light/dark] on the body class? For instance when the user selects tokyo night, solarized dark, dark, kbin it's theme--scheme-dark and when light or solarized light, theme--scheme-light to save you from having to type out selectors for each theme?

And I did investigate the magazine description federation issues. Think I have an idea, I'll make an issue for it and it will probably be the next thing I work on after my current open PRs.

hitstun ,
@hitstun@fedia.io avatar

@e-five Yeah, something like that. I'm sure some Mbin instances will want to create their own themes in addition to the six default ones. If each new theme sets either theme--scheme-dark or theme--scheme-light, they'd be compatible with any magazine-specific CSS that uses them.

I was also thinking about making the themes set their colors in RGBA format like rgba(253,246,227,1) instead of hex like #fdf6e3. That way, we can set alpha values for cool transparent backgrounds and gradients. But I guess if I really wanted to, I could write JavaScript that make that conversion for me. I keep forgetting that there's magazine-specific JavaScript too.

hitstun ,
@hitstun@fedia.io avatar

@e-five Ah, that makes sense now. I wondered why the Solarized theme has a light background on my desktop but a dark background on my phone. Those match my dark mode preferences on those browsers. I thought I messed up my CSS somewhere.

  • All
  • Subscribed
  • Moderated
  • Favorites
  • incremental_games
  • meta
  • All magazines