You can, its just a little unstable I’ll occasionally switch to Wayland and tinker
I’m Wren (they/them). I’m a programmer and cybersecurity student. I have a blog I don’t update enough.
- 1 Post
- 6 Comments
Wren@lemmy.dbzer0.comOPto
Programming@programming.dev•Problems with dark-theme toggleEnglish
2·8 months agook, I have a new problem, it doesn’t work when I try to use the class for example
.content:has(#theme-toggle:checked) { color: #4c4f69; }won’t work :[
Wren@lemmy.dbzer0.comOPto
Programming@programming.dev•Problems with dark-theme toggleEnglish
6·8 months agoThanks, it’s working perfectly!
Wren@lemmy.dbzer0.comOPto
Programming@programming.dev•Problems with dark-theme toggleEnglish
2·8 months agoI already have a dark theme set, I’m using catppuccin’s colors What I’m trying to have it do is when a button is pressed, it switches to the light version of it
currently my code looks something like this:
#theme-toggle:checked ~ body { background-color: #eff1f5; color: #fff; } #theme-toggle:checked ~ html { background-color: #eff1f5; } #theme-toggle:checked ~ .content { background-color: #eff1f5; }the button itself is a checkbox that has display set to none and the label set as an svg so when you click the icon, it gets checked.
<input style="display: none;" type="checkbox" id="theme-toggle"> <label for="theme-toggle" class="theme-button"> <img class="theme-button-svg" src="./icons/half-moon.svg"> </label>I used a similar strategy when making the menu for the site so I know it should work
Wren@lemmy.dbzer0.comto
Linux@lemmy.ml•Are distros really different or is it more about preference?English
1·1 year agoReally they all work the same as long as they’re based on the same OS. I’ve done a lot of distro hopping and the only real difference I’ve seen is the desktop environment, package managers(sometimes), and pre-installed applications.
Even then, all of these can be changed. I would suggest picking a distro that best suits your needs by default and then add what you need from there.
I personally have been really happy with Linux Mint.


For my server, secure enough. Just the basic recommendations, non-standard ssh port, default deny on firewall, fail2ban, etc. It doesn’t need a lot of security because its just a static website. For most projects this is enough.
I will say, a honeypot can be useful and I’m getting one set up but its a low priority for me.