toot.si is one of the many independent Mastodon servers you can use to participate in the fediverse.
Toot.si je slovensko Mastodon vozlišče katerega osnovni cilj je omogočati prijazno skupnost in varnejši prostor.

Administered by:

Server stats:

107
active users

#webdevelopment

6 posts6 participants0 posts today

#Coding Q: Anyone implemented a nice three-state dark mode toggle?

Love to hear your tips, ideas and even links to examples/code are welcome.

This feature is more involved that first look as this HN post unpacks..
news.ycombinator.com/item?id=2

My current wishlist:

- Three states (system/light/dark)
- Preference stored for next time
- Two icons light/darl (click selected icon a second time to 'turn it off' and return to system)
- vanilla js
- leans into css

This implementation comes pretty close.
bram.us/2020/04/26/the-quest-f

This post points to a bunch of great three-state dark mode articles in its references.
brycewray.com/posts/2024/01/it

news.ycombinator.comAsk HN: Dark mode for HN please? | Hacker News
Hello fellow plant enthusiasts! HortusFox does now maintain an official account on pixelfed! 🪴

Here I want to post more visual stuff around HortusFox and plant parenting.

To those new to the app:

HortusFox is a selfhosted, collaborative indoor and outdoor plants management system to track, journal and manage your plants. Therefore it provides a vast amount of features:

🪴 Plant management
🏠 Custom locations
📜 Tasks system
📖 Inventory system
📆 Calendar system
🔍 Search feature
🕰️ History feature
🌦️ Weather feature
💬 Group chat
⚙️ Profile management
🦋 Themes
🔑 Admin dashboard
📢 Reminders
💾 Backups
💻 REST API
🔬 Plant identification

If you need a management system for your plants while being 100% in control of your personal data, feel free to check it out!

#introductions #houseplants #plants #gardening #botany #horticulture #indoorplants #php #webdevelopment #naturephotography
Continued thread

control the market. It also means its not going anywhere anytime soon.

3. Manifest V2 is dead. Yes, it is supported by Firefox but it'll be dropped eventually. Maintaining V2 and V3 simultaneously will be exhausting for the Firefox team that's already severly undermanned.

Software people out there, especially web development types. I have a project in mind that I would like to build using Django, however I'm getting stuck in the meta planning stage.

I have a decent handle on the syntax, structure, etc.

But what I need more direction on is, how to design the models, how "simple/complex" to make the apps, etc.

Are their any good sites, courses, blogs, etc that help with this portion.

Many online color contrast checkers work only with hexadecimal or RGB formats. But colors in CSS have evolved considerably in the past 3-5 years, why limit contrast checking to "ancient" formats?

I extended an old demo to support newer formats (thanks, color.js!) and now it validates hexadecimal, RGB, HSL, LCH, OKLCH, named colors, Lab, HWB... Check it out here: alvaromontoro.com/demos/color-

alvaromontoro.comColor Contrast CheckerA color contrast checker that supports more than just RGB/Hex color formats