autobrr/web/tailwind.config.js
smallobject 11fcf1ead9
Feature: Toast Notification System (#25)
* Add react-hot-toaster to dependencies

* Enable TailwindCSS 'jit' mode

* Add Toast component

* Add Toaster context for react-hot-toast

* Add toast notification for queries, form validation fix

* Add new animations for Toast component

* fix: nickserv account validation

Co-authored-by: Ludvig Lundgren <hello@ludviglundgren.se>
2021-08-31 18:53:42 +02:00

39 lines
829 B
JavaScript

const colors = require('tailwindcss/colors')
module.exports = {
mode: 'jit',
purge: {
content: [
'./src/**/*.{tsx,ts,html,css}',
],
safelist: [
'col-span-1',
'col-span-2',
'col-span-3',
'col-span-4',
'col-span-5',
'col-span-6',
'col-span-7',
'col-span-8',
'col-span-9',
'col-span-10',
'col-span-11',
'col-span-12',
],
},
darkMode: false, // or 'media' or 'class'
theme: {
extend: {
colors: {
gray: colors.gray,
teal: colors.teal,
}
},
},
variants: {
extend: {},
},
plugins: [
require('@tailwindcss/forms'),
],
}