From 241c055a47902390b79ab86d126bb70ab19569e9 Mon Sep 17 00:00:00 2001 From: madrilene Date: Tue, 13 Feb 2024 16:44:27 +0100 Subject: [PATCH] update to Andy's defaults --- tailwind.config.js | 14 +++++++++++++- 1 file changed, 13 insertions(+), 1 deletion(-) diff --git a/tailwind.config.js b/tailwind.config.js index edce48f..62fe7d6 100644 --- a/tailwind.config.js +++ b/tailwind.config.js @@ -66,8 +66,20 @@ module.exports = { // Disables Tailwind's reset etc corePlugins: { - preflight: false + preflight: false, + textOpacity: false, + backgroundOpacity: false, + borderOpacity: false }, + + // Prevents Tailwind's core components + blocklist: ['container'], + + // Prevents Tailwind from generating that wall of empty custom properties + experimental: { + optimizeUniversalDefaults: true + }, + plugins: [ // Generates custom property values from tailwind config plugin(function ({addComponents, config}) {