build: lets try tailwind jit again

pull/1510/head
sct 4 years ago
parent 91b9e0f679
commit 2a912180b8
No known key found for this signature in database
GPG Key ID: 77D146606D30DCCD

@ -88,10 +88,10 @@ const TitleCard: React.FC<TitleCardProps> = ({
onCancel={closeModal} onCancel={closeModal}
/> />
<div <div
className={`transition duration-300 transform-gpu scale-100 outline-none cursor-default relative bg-gray-800 bg-cover rounded-xl ring-1 overflow-hidden ${ className={`transition duration-300 transform-gpu outline-none cursor-default relative bg-gray-800 bg-cover rounded-xl ring-1 overflow-hidden ${
showDetail showDetail
? 'scale-105 shadow-lg ring-gray-500' ? 'scale-105 shadow-lg ring-gray-500'
: 'shadow ring-gray-700' : 'scale-100 shadow ring-gray-700'
}`} }`}
style={{ style={{
paddingBottom: '150%', paddingBottom: '150%',

@ -2,6 +2,7 @@
const defaultTheme = require('tailwindcss/defaultTheme'); const defaultTheme = require('tailwindcss/defaultTheme');
module.exports = { module.exports = {
mode: 'jit',
purge: ['./src/pages/**/*.{ts,tsx}', './src/components/**/*.{ts,tsx}'], purge: ['./src/pages/**/*.{ts,tsx}', './src/components/**/*.{ts,tsx}'],
theme: { theme: {
extend: { extend: {

Loading…
Cancel
Save