How to change css item based on dark or light mode?

yea i tend to agree. i’ve also been tinkering with a javascript / css solution but nothing working yet