framapiaf.org est l'un des nombreux serveurs Mastodon indépendants que vous pouvez utiliser pour participer au fédiverse.
Un service Mastodon fourni par l'association d’éducation populaire Framasoft.

Administré par :

Statistiques du serveur :

1,4K
comptes actifs

@davidrevoy do you mean "if it's actually set to a dark theme" or "if it's possible to switch to a dark theme"? (I'm a light-theme person and I'd hate for Firefox to switch to dark theme just because it can)

@irina There's no switch to choose a theme different from OS preference (yet?)

@davidrevoy

@RyunoKi @irina Hey, in themes Firefox has an 'auto' themes that follows the O.S. themes. At least, it works on Plasma/KDE, I haven't tried elsewhere. You can also specify a light or dark preferences for browsing (in Firefox themes).

Making a button on my website is complex; mainly because I would need to link it with a cookie system so it saves on your browser your preferences.

For this feature, I only had to write the last paragraph on davidrevoy.com/themes/blogthem

@RyunoKi Thanks for sharing your solution. I'll try to adapt it so I can put a little lightbulb symbolic icon somewhere that switch it on/off.

@irina

@davidrevoy

I usually license with AGPL v3 or newer. But this is MIT because legacy (haven't updated the year 😮)
code.jaenis.ch/andre/jaenis.ch

According to

gnu.org/licenses/license-list.

it's compatible.

@davidrevoy

Since your CSS is GPL:

1. Where can I find the source?
2. Do you accept Merge Requests?

@irina

@RyunoKi my blog theme doesn't have a repo (but the engine, PLuXML has one). Yes, I put the GPL on the CSS because I had copies in the past by theme make/seller.

For Pepper&Carrot, the website is entirely here: framagit.org/peppercarrot/webs (this is the MR of the dark theme). Thanks for the help

GitLabAdd a global "dark theme" (!106) · Merge requests · peppercarrot / website · GitLabThe website of Pepper&Carrot without the huge database of picture necessary to fill the content (dozens of Gigabyte of data, see https://www.peppercarrot.com/0_sources/ ).

@davidrevoy Doesn't load right away (not even framagit).

Will try again later.

@RyunoKi No problem, Framagit is sometime capricious. (and more for new account creation depending of wave of spams). No problem if you can't make a MR, what you shared is already a good tip. I'll can do it. The harder might be the placement of the icon on the header nav bar 😅 🤣

@davidrevoy You're welcome.

I placed my switcher in the footer. There are several places that could be expected.

Might be a good time to think of „skip to“ links for my site now that we speak about it 🤔

@davidrevoy Created an account on framagit, but have to await approval by the instance admin (in case you need to vouch).

Meanwhile cloned the repo.

@RyunoKi Thanks! Yes, it can take up to 5 days I think, and sometime no email are sent, you'll just need to retry. It's a system the admin found to fight a big wave of spam accounts.

@davidrevoy hello Darkness my old friend... 🎶 Bonne journée David 🙂