3 ms·
So make it. Add it to your tailwind.config.js: https://github.com/lights0123/lights0123.github.io/blob/7df721f715acb333eeb40b1f2361c934f08abc88/tailwind.config.
by lights0123 6y ago
So make it. Add it to your tailwind.config.js: https://github.com/lights0123/lights0123.github.io/blob/7df721f715acb333eeb40b1f2361c934f08abc88/tailwind.config.js#L36-L43 https://github.com/lights0123/lights0123.github.io/blob/7df7..., then use some CSS variables: https://github.com/lights0123/lights0123.github.io/blob/7df721f715acb333eeb40b1f2361c934f08abc88/src/assets/main.scss#L23-L50 https://github.com/lights0123/lights0123.github.io/blob/7df7...
- nailer 6y agoYou’re missing the point. I’ve already enabled dark mode in the config file. But tailwind’s approach of styling elements individually means I have to clean up a few thousand lines of styling first.