From 4181340dcada6add54f0578ce9e8a7c00340516f Mon Sep 17 00:00:00 2001 From: Oliver Davies Date: Fri, 19 Mar 2021 00:15:06 +0000 Subject: [PATCH] Disable dark mode again for now --- web/themes/custom/opdavies/assets/css/base/tables.pcss | 5 ----- web/themes/custom/opdavies/assets/css/components/block.pcss | 2 +- web/themes/custom/opdavies/assets/css/components/note.pcss | 6 +----- web/themes/custom/opdavies/tailwind.config.js | 2 +- 4 files changed, 3 insertions(+), 12 deletions(-) delete mode 100644 web/themes/custom/opdavies/assets/css/base/tables.pcss diff --git a/web/themes/custom/opdavies/assets/css/base/tables.pcss b/web/themes/custom/opdavies/assets/css/base/tables.pcss deleted file mode 100644 index 710c7b0..0000000 --- a/web/themes/custom/opdavies/assets/css/base/tables.pcss +++ /dev/null @@ -1,5 +0,0 @@ -@layer base { - th { - @apply dark:text-white - } -} diff --git a/web/themes/custom/opdavies/assets/css/components/block.pcss b/web/themes/custom/opdavies/assets/css/components/block.pcss index 6a2738c..251c54b 100644 --- a/web/themes/custom/opdavies/assets/css/components/block.pcss +++ b/web/themes/custom/opdavies/assets/css/components/block.pcss @@ -1,5 +1,5 @@ @layer components { .sidebar .block { - @apply p-6 rounded bg-gray-100 dark:bg-gray-750 + @apply p-6 rounded bg-gray-100 } } diff --git a/web/themes/custom/opdavies/assets/css/components/note.pcss b/web/themes/custom/opdavies/assets/css/components/note.pcss index 3f311e8..69a911c 100644 --- a/web/themes/custom/opdavies/assets/css/components/note.pcss +++ b/web/themes/custom/opdavies/assets/css/components/note.pcss @@ -1,10 +1,6 @@ @layer components { .note { - @apply max-w-full prose bg-blue-200 border-blue-600 border-l-4 mb-4 p-4 rounded dark:prose-dark; - - * { - @apply dark:text-gray-700 - } + @apply max-w-full prose bg-blue-200 border-blue-600 border-l-4 mb-4 p-4 rounded; p a { @apply underline hover:no-underline diff --git a/web/themes/custom/opdavies/tailwind.config.js b/web/themes/custom/opdavies/tailwind.config.js index 490c88c..0d630a6 100644 --- a/web/themes/custom/opdavies/tailwind.config.js +++ b/web/themes/custom/opdavies/tailwind.config.js @@ -7,7 +7,7 @@ const typography = require('@tailwindcss/typography') const { fontFamily } = defaultTheme module.exports = { - darkMode: 'media', + darkMode: false, important: true, purge: { content: [