From 3a09be8d3f15c43feee29ccd885e27b5b650ce01 Mon Sep 17 00:00:00 2001 From: Cory Dransfeldt Date: Tue, 27 Feb 2024 14:08:15 -0800 Subject: [PATCH] chore: colocate styles --- .../partials/nav/theme-toggle.liquid | 7 ++-- .../playing.liquid => now-playing.liquid} | 0 src/_includes/partials/now/topper.liquid | 2 +- src/assets/scripts/components/theme-toggle.js | 1 - src/assets/styles/components/theme-toggle.css | 33 ++++++++++++++++ src/assets/styles/index.css | 38 +------------------ 6 files changed, 39 insertions(+), 42 deletions(-) rename src/_includes/partials/{now/playing.liquid => now-playing.liquid} (100%) create mode 100644 src/assets/styles/components/theme-toggle.css diff --git a/src/_includes/partials/nav/theme-toggle.liquid b/src/_includes/partials/nav/theme-toggle.liquid index f2038d0e..f3ac5d99 100644 --- a/src/_includes/partials/nav/theme-toggle.liquid +++ b/src/_includes/partials/nav/theme-toggle.liquid @@ -1,9 +1,10 @@ +{% capture css %} + {% render "../../../assets/styles/components/theme-toggle.css" %} +{% endcapture %} +