Fix Tailwind deprecation warnings during build

This commit is contained in:
Pierce Thompson
2023-06-28 16:01:10 -04:00
parent aa6e2488df
commit c757307627
+8 -1
View File
@@ -1,5 +1,12 @@
const colors = require('tailwindcss/colors');
/** @type {import('tailwindcss').Config} */
// Suppress deprecation warnings during build
delete colors.lightBlue;
delete colors.warmGray;
delete colors.trueGray;
delete colors.coolGray;
delete colors.blueGray;
module.exports = {
darkMode: 'class',
content: ['./src/renderer/**/*.{js,jsx,ts,tsx,ejs}'],