upgraded tailwindcss to support jit https://tailwindcss.com/docs/just-in-time-mode, moved css components into global.css to support jit

This commit is contained in:
Peer Richelsen committed 2021-06-20 10:57:33 +01:00
1 parent 6d7ec7fa66
commit 39fde7874d
8 files changed
+396 -252

No files matched your search

+23 -24
View File
@@ -1,41 +1,40 @@
module.exports = {
purge: ['./pages/**/*.{js,ts,jsx,tsx}', './components/**/*.{js,ts,jsx,tsx}'],
mode: "jit",
purge: ["./pages/**/*.{js,ts,jsx,tsx}", "./components/**/*.{js,ts,jsx,tsx}"],
darkMode: false, // or 'media' or 'class'
theme: {
extend: {
colors: {
gray: {
100: '#EBF1F5',
200: '#D9E3EA',
300: '#C5D2DC',
400: '#9BA9B4',
500: '#707D86',
600: '#55595F',
700: '#33363A',
800: '#25282C',
900: '#151719',
100: "#EBF1F5",
200: "#D9E3EA",
300: "#C5D2DC",
400: "#9BA9B4",
500: "#707D86",
600: "#55595F",
700: "#33363A",
800: "#25282C",
900: "#151719",
},
blue: {
100: '#b3e5fc',
200: '#81d4fa',
300: '#4fc3f7',
400: '#29b6f6',
500: '#03a9f4',
600: '#039be5',
700: '#0288d1',
800: '#0277bd',
900: '#01579b',
100: "#b3e5fc",
200: "#81d4fa",
300: "#4fc3f7",
400: "#29b6f6",
500: "#03a9f4",
600: "#039be5",
700: "#0288d1",
800: "#0277bd",
900: "#01579b",
},
},
maxHeight: {
97: '25rem',
97: "25rem",
},
},
},
variants: {
extend: {},
},
plugins: [
require('@tailwindcss/forms'),
],
}
plugins: [require("@tailwindcss/forms")],
};