sorted by: new top controversial old
[-] snowe@programming.dev 6 points 8 months ago

I've wondered what this problem was for years but never cared to figure it out, because it always resolved after the first button press (just refresh the page and it all works properly). turns out it is something wrong with my use of local storage to save your theme state. if you don't have the key in local storage then it does what you mentioned. I just need to switch this to prefers-color-scheme anyway.

[-] snowe@programming.dev 4 points 8 months ago

that post is about toggle buttons, not switches. e.g. a play pause button, when pressed, does it show play, or does it show pause?

[-] snowe@programming.dev 1 points 8 months ago

It shouldn't be like that. on my computer it shows the sun when it's in light mode, moon in dark mode.

[-] snowe@programming.dev 2 points 8 months ago

Hm. what browser are you on? It is showing sun for me on light mode.

[-] snowe@programming.dev 19 points 8 months ago

I've been saying this for years. My site only has a few lines of javascript. the rest is pure html and css, and it's very simple. https://tylerthrailkill.com

[-] snowe@programming.dev 8 points 8 months ago

Because no one ever uses those. Literally > and | are the only ones I’ve ever seen in over a decade and you will never need to worry about the differences between the two.

XML as a configuration language is terrible. Yaml gets the point across in an easily readable way, which is exactly the point. Same for JSON except JSON you can’t even use comments (you need json5 or one of the numerous other alternatives to get those).

[-] snowe@programming.dev 3 points 8 months ago

Awesome. Installing now

[-] snowe@programming.dev 2 points 8 months ago

Oh dang, I’ve wanted that forever. Thank you!

[-] snowe@programming.dev 4 points 8 months ago

Oh that’s nice.

[-] snowe@programming.dev 5 points 8 months ago

Haven’t heard of it. What’s your favorite feature?

[-] snowe@programming.dev 2 points 8 months ago

For looks. The middle cable is needed to allow the sides to communicate, but you only need one side plugged into the computer.

[-] snowe@programming.dev 2 points 8 months ago

It’s a crkbd also known as a corne, like the other person said. There’s hundreds of types of switches available, the keyboard in the picture has Khail Box Jades and Khail Box Royals.

The style of keyboard is a split ergomechanical keyboard. The size is 36% or 40% depending on what generation of keyboard nerd you are.

view more: ‹ prev next ›

snowe

joined 1 year ago
MODERATOR OF