fix: Munging around with tailwind configs

This commit is contained in:
NunoSempere 2021-12-08 13:16:56 +01:00
parent c9bc44d7e5
commit 5175b9c097
4 changed files with 1330 additions and 321 deletions

1633
package-lock.json generated

File diff suppressed because it is too large Load Diff

View File

@ -16,11 +16,11 @@
"react-compound-slider": "^3.3.1", "react-compound-slider": "^3.3.1",
"react-dom": "^17.0.1", "react-dom": "^17.0.1",
"react-markdown": "^6.0.2", "react-markdown": "^6.0.2",
"remark-gfm": "^1.0.0", "remark-gfm": "^1.0.0"
"tailwindcss": "^2.0.4",
"postcss": "^8.1.10",
"autoprefixer": "^10.0.4"
}, },
"devDependencies": { "devDependencies": {
"autoprefixer": "^10.4.0",
"postcss": "^8.4.4",
"tailwindcss": "^2.2.19"
} }
} }

View File

@ -4,7 +4,12 @@
@tailwind utilities; @tailwind utilities;
*/ */
@tailwind base;
@tailwind components;
@tailwind utilities;
/*
@import 'tailwindcss/base'; @import 'tailwindcss/base';
@import 'tailwindcss/components'; @import 'tailwindcss/components';
@import './globals.css'; @import './globals.css';
@import 'tailwindcss/utilities'; @import 'tailwindcss/utilities';
*/

View File

@ -1,6 +1,7 @@
module.exports = { module.exports = {
mode: 'jit', mode: 'jit',
purge: ['./pages/**/*.{js,ts,jsx,tsx}', './components/**/*.{js,ts,jsx,tsx}'], purge: [],
// previously: './pages/**/*.{js,ts,jsx,tsx}', './components/**/*.{js,ts,jsx,tsx}'
darkMode: false, // or 'media' or 'class' darkMode: false, // or 'media' or 'class'
theme: { theme: {
extend: {}, extend: {},