The easiest dark mode for beginners

1 points by amrkilany 12 hours ago

hi devs i made a small opensource project for beginners who want to make fast,easy dark mode in their website with local storage without external frameworks it's here: <script src="https://cdn.jsdelivr.net/gh/AMR2010M/butterfly-css@main/dark.js"></script>

attributes: dark-btn => for the toogle dark mode switch d+color =>when dark set the bg-color to this color l+color =>light mode bg-color dt+color text in dark mode tl+color text in light mode

supported colors: white,purple,blue,green,orange,black,yellow pls give me your feedback

this dark mode will be in v2 of my framework butterfly css