This repository has been archived by the owner on Apr 1, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 69
Creating cutom color error #55
Comments
https://github.com/tailwindlabs/tailwindcss/blob/master/src/public/colors.js tailwind doesn't support const colors = require('tailwindcss/colors')
module.exports = {
mode: 'jit',
purge: [
'./pages/**/*.{js,ts,jsx,tsx}',
'./components/**/*.{js,ts,jsx,tsx}',
'./layouts/**/*.{js,ts,jsx,tsx}',
'./node_modules/@vechaiui/**/*.{js,ts,jsx,tsx}', // path to vechaiui
],
darkMode: 'class', // or 'media' or 'class'
theme: {
extend: {
error: colors.red,
},
},
variants: {
extend: {},
},
plugins: [
require('@tailwindcss/forms'),
require('@vechaiui/core')({
colors: ['error'],
}),
],
} |
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
I created a new color to my project inside
tailwind.config.js
you can see that config below.But I got that error when I'm trying to run it.
The text was updated successfully, but these errors were encountered: