diff --git a/Gemfile.lock b/Gemfile.lock index b021182..e3ccdc9 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -235,9 +235,9 @@ GEM minitest (5.25.4) net-http (0.6.0) uri - nokogiri (1.18.2-x64-mingw-ucrt) + nokogiri (1.18.3-x64-mingw-ucrt) racc (~> 1.4) - nokogiri (1.18.2-x86_64-linux-gnu) + nokogiri (1.18.3-x86_64-linux-gnu) racc (~> 1.4) octokit (4.25.1) faraday (>= 1, < 3) diff --git a/_posts/2024-09-07-dark-mode.md b/_posts/2024-09-07-dark-mode.md index 87b26cd..baecfa6 100644 --- a/_posts/2024-09-07-dark-mode.md +++ b/_posts/2024-09-07-dark-mode.md @@ -126,12 +126,6 @@ To set `giscus` comments to match the website if you have done the CSS `@media` ``` -# Why Not Use a Toggleable Button Instead - -Most likely those who prefer only using one theme will set it in their browser settings, so it would be redundant to have them click another button to toggle the theme on a website. - -Rather than defaulting to light or dark mode and having a separate button for the user to manually switch to their preferred theme, it might be better to automatically switch to their system default or preferred browser theme. - # Conclusion If you found this blog post useful, leave a comment down below! Also check out how to add `giscus` comments to your own website on my [previous guide for it](/giscus-comments). diff --git a/_site/dark-mode.html b/_site/dark-mode.html index 6581043..338e3b1 100644 --- a/_site/dark-mode.html +++ b/_site/dark-mode.html @@ -163,12 +163,6 @@

Configure Giscus Theme

</script> -

Why Not Use a Toggleable Button Instead

- -

Most likely those who prefer only using one theme will set it in their browser settings, so it would be redundant to have them click another button to toggle the theme on a website.

- -

Rather than defaulting to light or dark mode and having a separate button for the user to manually switch to their preferred theme, it might be better to automatically switch to their system default or preferred browser theme.

-

Conclusion

If you found this blog post useful, leave a comment down below! Also check out how to add giscus comments to your own website on my previous guide for it.

diff --git a/_site/feed.xml b/_site/feed.xml index 5b18185..c43a90a 100644 --- a/_site/feed.xml +++ b/_site/feed.xml @@ -1,4 +1,4 @@ -Jekyll2025-02-10T12:57:35+08:00http://localhost:4000/feed.xmlde_sootHosted on Github PagesGuide to APA with groff ms and refer2025-02-07T00:00:00+08:002025-02-07T00:00:00+08:00http://localhost:4000/groff-apaThis guide explains why and how I used groff with the ms and refer macros to write my college essay in Neovim.

+Jekyll2025-02-25T22:14:35+08:00http://localhost:4000/feed.xmlde_sootHosted on Github PagesGuide to APA with groff ms and refer2025-02-07T00:00:00+08:002025-02-07T00:00:00+08:00http://localhost:4000/groff-apaThis guide explains why and how I used groff with the ms and refer macros to write my college essay in Neovim.

Table of Contents

@@ -549,12 +549,6 @@ join-authors " & " ", " " & " # Change default "and" to ampersand (& </script> -

Why Not Use a Toggleable Button Instead

- -

Most likely those who prefer only using one theme will set it in their browser settings, so it would be redundant to have them click another button to toggle the theme on a website.

- -

Rather than defaulting to light or dark mode and having a separate button for the user to manually switch to their preferred theme, it might be better to automatically switch to their system default or preferred browser theme.

-

Conclusion

If you found this blog post useful, leave a comment down below! Also check out how to add giscus comments to your own website on my previous guide for it.