2 Comments
Comment deleted
Jul 1, 2023
Comment deleted
Expand full comment

Hi! Please feel free to contribute a selector to the project. You'll want to update bulma.sass (https://github.com/shepherdjerred/better-skill-capped/blob/239d0b3213f4d23f61f565f512a1f17684bcfb5e/src/bulma.sass#L2) to import bulma-prefers-dark.sass only when the dark mode is selected. There is some custom styling for dark mode, so you'll want to update those locations to be aware as well.

You can add a selector somewhere on the site, probably the top-right of the page since that's a common location for such a selector. The selector can default to "Automatic" and cycle through a "Force Light" and "Force Dark" mode on click. The setting can be saved to local storage so that the user's preference is remembered on future visits.

Once you have this implemented on your fork, please open a PR and I'll happily review it!

Expand full comment

Oh good lord Jerred, please accept my apologies. I somehow found this comment and thought it was about Substack itself. Very sorry about that.

Expand full comment