diff --git a/web/themes/custom/opdavies/assets/css/base/forms.pcss b/web/themes/custom/opdavies/assets/css/base/forms.pcss deleted file mode 100644 index d50d00b..0000000 --- a/web/themes/custom/opdavies/assets/css/base/forms.pcss +++ /dev/null @@ -1,5 +0,0 @@ -@layer base { - input { - @apply dark:text-gray-900 - } -} 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 451beab..4558f4b 100644 --- a/web/themes/custom/opdavies/tailwind.config.js +++ b/web/themes/custom/opdavies/tailwind.config.js @@ -50,24 +50,6 @@ module.exports = { 'pre code::before': false, 'pre code::after': false } - }, - dark: { - css: { - color: theme('colors.gray.200'), - - code: { - backgroundColor: theme('colors.gray.750'), - color: theme('colors.gray.200') - }, - - 'h2, h3': { - color: theme('colors.white') - }, - - strong: { - color: theme('colors.gray.200') - } - } } }), extend: { @@ -117,11 +99,10 @@ module.exports = { borderStyle: [...variants.borderStyle, 'hover', 'focus'], borderWidth: [...variants.borderWidth, 'hover', 'focus'], margin: [...variants.margin, 'first', 'last', 'odd', 'even'], - typography: ['responsive', 'dark'] + typography: ['responsive'] }, experimental: { - applyComplexClasses: true, - darkModeVariant: true + applyComplexClasses: true }, future: { purgeLayersByDefault: true diff --git a/web/themes/custom/opdavies/templates/block/block--inline-block--recommendation.html.twig b/web/themes/custom/opdavies/templates/block/block--inline-block--recommendation.html.twig index 6dc9a83..4cdb7b2 100644 --- a/web/themes/custom/opdavies/templates/block/block--inline-block--recommendation.html.twig +++ b/web/themes/custom/opdavies/templates/block/block--inline-block--recommendation.html.twig @@ -10,7 +10,7 @@ " >