From d4edb1faeb99fe6d6726026625dd21cad0ba2025 Mon Sep 17 00:00:00 2001 From: Cory Dransfeldt Date: Wed, 28 Feb 2024 14:57:32 -0800 Subject: [PATCH] chore: simplify toggle --- package-lock.json | 8 +++--- package.json | 2 +- .../partials/nav/theme-toggle.liquid | 25 +++++++++---------- 3 files changed, 17 insertions(+), 18 deletions(-) diff --git a/package-lock.json b/package-lock.json index 667a4dab..d288a09a 100644 --- a/package-lock.json +++ b/package-lock.json @@ -9,7 +9,7 @@ "version": "6.6.4", "license": "MIT", "dependencies": { - "@cdransf/theme-toggle": "^1.1.4", + "@cdransf/theme-toggle": "^1.2.0", "@daviddarnes/mastodon-post": "^1.1.1", "@remy/webmention": "^1.5.0", "@zachleat/pagefind-search": "^1.0.3", @@ -1230,9 +1230,9 @@ } }, "node_modules/@cdransf/theme-toggle": { - "version": "1.1.4", - "resolved": "https://registry.npmjs.org/@cdransf/theme-toggle/-/theme-toggle-1.1.4.tgz", - "integrity": "sha512-D7c3hYr8dD0wgwtR0eMX/xRNqcrVNJUGtQo3baBnwFRoEjWJyRcEHBncWPcy8s37a3LNxquRKTVvOviO0bR9Ng==" + "version": "1.2.0", + "resolved": "https://registry.npmjs.org/@cdransf/theme-toggle/-/theme-toggle-1.2.0.tgz", + "integrity": "sha512-f1wAu6QOuUfeWUsJw+2pgmR43iyxd8mWb8UwSTUqAsc5qH0+wHfsVUu7QUB9P06Ly6XsAd7XpZvhfOU1dM0vpw==" }, "node_modules/@daviddarnes/mastodon-post": { "version": "1.1.1", diff --git a/package.json b/package.json index 8a199a49..bf951c8a 100644 --- a/package.json +++ b/package.json @@ -20,7 +20,7 @@ "author": "Cory Dransfeldt", "license": "MIT", "dependencies": { - "@cdransf/theme-toggle": "^1.1.4", + "@cdransf/theme-toggle": "^1.2.0", "@daviddarnes/mastodon-post": "^1.1.1", "@remy/webmention": "^1.5.0", "@zachleat/pagefind-search": "^1.0.3", diff --git a/src/_includes/partials/nav/theme-toggle.liquid b/src/_includes/partials/nav/theme-toggle.liquid index dc48640b..817d2d51 100644 --- a/src/_includes/partials/nav/theme-toggle.liquid +++ b/src/_includes/partials/nav/theme-toggle.liquid @@ -3,18 +3,17 @@ {% render "../../../assets/styles/components/theme-toggle.css" %} {% endcapture %} -
  • - + + +
  • \ No newline at end of file