From 9bbe75d64e95e7bb518fc05e05b8ddc52fdeb0e2 Mon Sep 17 00:00:00 2001 From: Blake Blackshear Date: Wed, 9 Mar 2022 22:33:49 -0600 Subject: [PATCH] fix dark mode --- web/tailwind.config.js | 28 ++++++++++++++-------------- 1 file changed, 14 insertions(+), 14 deletions(-) diff --git a/web/tailwind.config.js b/web/tailwind.config.js index 93e713e59..2134071c7 100644 --- a/web/tailwind.config.js +++ b/web/tailwind.config.js @@ -1,24 +1,24 @@ module.exports = { - content: ["./index.html", "./src/**/*.{js,ts,jsx,tsx}"], + content: ['./index.html', './src/**/*.{js,ts,jsx,tsx}'], + darkMode: 'class', theme: { extend: { screens: { - xs: "480px", - "2xl": "1536px", - "3xl": "1720px", + xs: '480px', + '2xl': '1536px', + '3xl': '1720px', }, }, boxShadow: { - sm: "0 1px 3px rgba(0,0,0,0.12), 0 1px 2px rgba(0,0,0,0.24)", - DEFAULT: - "0px 2px 1px -1px rgb(0 0 0 / 20%), 0px 1px 1px 0px rgb(0 0 0 / 14%), 0px 1px 3px 0px rgb(0 0 0 / 12%);", - md: "0px 2px 2px -1px rgb(0 0 0 / 20%), 0px 1px 1px 0px rgb(0 0 0 / 14%), 0px 1px 3px 0px rgb(0 0 0 / 12%);", - lg: "0 10px 20px rgba(0,0,0,0.19), 0 6px 6px rgba(0,0,0,0.23)", - xl: "0 14px 28px rgba(0,0,0,0.25), 0 10px 10px rgba(0,0,0,0.22)", - "2xl": "0 19px 38px rgba(0,0,0,0.30), 0 15px 12px rgba(0,0,0,0.22)", - "3xl": "", - none: "", + sm: '0 1px 3px rgba(0,0,0,0.12), 0 1px 2px rgba(0,0,0,0.24)', + DEFAULT: '0px 2px 1px -1px rgb(0 0 0 / 20%), 0px 1px 1px 0px rgb(0 0 0 / 14%), 0px 1px 3px 0px rgb(0 0 0 / 12%);', + md: '0px 2px 2px -1px rgb(0 0 0 / 20%), 0px 1px 1px 0px rgb(0 0 0 / 14%), 0px 1px 3px 0px rgb(0 0 0 / 12%);', + lg: '0 10px 20px rgba(0,0,0,0.19), 0 6px 6px rgba(0,0,0,0.23)', + xl: '0 14px 28px rgba(0,0,0,0.25), 0 10px 10px rgba(0,0,0,0.22)', + '2xl': '0 19px 38px rgba(0,0,0,0.30), 0 15px 12px rgba(0,0,0,0.22)', + '3xl': '', + none: '', }, }, - plugins: [require("@tailwindcss/forms")], + plugins: [require('@tailwindcss/forms')], };