From 91ad1fcdeb0c08fcda11bcaf03f62a9b550a6701 Mon Sep 17 00:00:00 2001 From: Cory Dransfeldt Date: Sun, 2 Jul 2023 22:00:04 -0700 Subject: [PATCH] feat: respect system theme for appearance --- src/_includes/base.liquid | 19 +------------------ src/_includes/icons/toggle-theme.liquid | 12 ------------ src/_includes/nav.liquid | 5 +---- tailwind.config.js | 1 - 4 files changed, 2 insertions(+), 35 deletions(-) delete mode 100644 src/_includes/icons/toggle-theme.liquid diff --git a/src/_includes/base.liquid b/src/_includes/base.liquid index c965ab59..27f54e8d 100644 --- a/src/_includes/base.liquid +++ b/src/_includes/base.liquid @@ -53,14 +53,6 @@ href="/follow.xml" title="Cory Dransfeldt's activity feed" type="application/rss+xml"> - @@ -69,15 +61,6 @@ {{ content }} - + \ No newline at end of file diff --git a/src/_includes/icons/toggle-theme.liquid b/src/_includes/icons/toggle-theme.liquid deleted file mode 100644 index eb75144c..00000000 --- a/src/_includes/icons/toggle-theme.liquid +++ /dev/null @@ -1,12 +0,0 @@ -
- - - - - - -
\ No newline at end of file diff --git a/src/_includes/nav.liquid b/src/_includes/nav.liquid index ff4dc769..470776f0 100644 --- a/src/_includes/nav.liquid +++ b/src/_includes/nav.liquid @@ -9,11 +9,8 @@
  • {% include "icons/tags.liquid" %}
  • -
  • - {% include "icons/rss.liquid" %} -
  • - {% include "icons/toggle-theme.liquid" %} + {% include "icons/rss.liquid" %}
  • \ No newline at end of file diff --git a/tailwind.config.js b/tailwind.config.js index b0454425..39a64b83 100644 --- a/tailwind.config.js +++ b/tailwind.config.js @@ -1,7 +1,6 @@ const defaultTheme = require('tailwindcss/defaultTheme') module.exports = { - darkMode: 'class', theme: { extend: { spacing: {