From c3655e798db6fecaa9778764792f77bc4c02a4fc Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Wed, 19 Feb 2025 13:53:13 +0000 Subject: [PATCH 1/2] Bump nokogiri in the bundler group across 1 directory Bumps the bundler group with 1 update in the / directory: [nokogiri](https://github.com/sparklemotion/nokogiri). Updates `nokogiri` from 1.18.2 to 1.18.3 - [Release notes](https://github.com/sparklemotion/nokogiri/releases) - [Changelog](https://github.com/sparklemotion/nokogiri/blob/v1.18.3/CHANGELOG.md) - [Commits](https://github.com/sparklemotion/nokogiri/compare/v1.18.2...v1.18.3) --- updated-dependencies: - dependency-name: nokogiri dependency-type: indirect dependency-group: bundler ... Signed-off-by: dependabot[bot] --- Gemfile.lock | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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) From cb605ec00c4bdaac4e7e936650f7b1ecc88556aa Mon Sep 17 00:00:00 2001 From: wc <78423238+de-soot@users.noreply.github.com> Date: Tue, 25 Feb 2025 22:14:51 +0800 Subject: [PATCH 2/2] Edited dark mode post --- _posts/2024-09-07-dark-mode.md | 6 ------ _site/dark-mode.html | 6 ------ _site/feed.xml | 8 +------- 3 files changed, 1 insertion(+), 19 deletions(-) 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.