From 26fcdbe226a27bafaf0d7a387d313750c77f2e73 Mon Sep 17 00:00:00 2001 From: fireworks88 Date: Thu, 25 Nov 2021 22:58:01 +0100 Subject: [PATCH] colors --- tailwind.config.js | 22 ++++++++++++++++++++-- 1 file changed, 20 insertions(+), 2 deletions(-) diff --git a/tailwind.config.js b/tailwind.config.js index 62dfdaf3f..42b57cc39 100644 --- a/tailwind.config.js +++ b/tailwind.config.js @@ -1,7 +1,25 @@ +const colors = require('tailwindcss/colors') + module.exports = { - purge: [], - darkMode: false, // or 'media' or 'class' + //mode: 'jit', + //purge: [ + // '../../templates/**/*.html', + // '../../templates/*.html' + //],*/ + prefix: 'z-', + darkMode: 'class', // or 'media' or 'class' theme: { + colors: { + transparent: 'transparent', + current: 'currentColor', + black: colors.black, + white: colors.white, + gray: colors.gray, + pink: colors.pink, + green: colors.green, + red: colors.rose, + yellow: colors.amber + }, extend: {}, }, variants: {