Created
March 25, 2022 22:21
-
-
Save Vetrivel-VP/e17a7826120b50dc9002743e9997d02f to your computer and use it in GitHub Desktop.
Tailwind Configurations
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
module.exports = { | |
purge: ["./src/**/*.{js,jsx,ts,tsx}", "./public/index.html"], | |
darkMode: false, // or 'media' or 'class' | |
theme: { | |
extend: { | |
margin: { | |
320: "320px", | |
}, | |
width: { | |
190: "190px", | |
275: "275px", | |
300: "300px", | |
340: "340px", | |
350: "350px", | |
656: "656px", | |
880: "880px", | |
508: "508px", | |
}, | |
height: { | |
80: "80px", | |
340: "340px", | |
370: "370px", | |
420: "420px", | |
510: "510px", | |
600: "600px", | |
685: "685px", | |
800: "800px", | |
"90vh": "90vh", | |
}, | |
flex: { | |
0.7: "0.7 1 0%", | |
}, | |
maxHeight: { | |
370: "370px", | |
}, | |
minWidth: { | |
210: "210px", | |
350: "350px", | |
620: "620px", | |
}, | |
textColor: { | |
lightGray: "#F1EFEE", | |
primary: "#FAFAFA", | |
secColor: "#efefef", | |
navColor: "#BEBEBE", | |
}, | |
backgroundColor: { | |
mainColor: "#FBF8F9", | |
secondaryColor: "#F0F0F0", | |
blackOverlay: "rgba(0, 0 ,0 ,0.7)", | |
}, | |
keyframes: { | |
"slide-in": { | |
"0%": { | |
"-webkit-transform": "translateX(-200px)", | |
transform: "translateX(-200px)", | |
}, | |
"100%": { | |
"-webkit-transform": "translateX(0px)", | |
transform: "translateX(0px)", | |
}, | |
}, | |
"slide-fwd": { | |
"0%": { | |
"-webkit-transform": "translateZ(0px)", | |
transform: "translateZ(0px)", | |
}, | |
"100%": { | |
"-webkit-transform": "translateZ(160px)", | |
transform: "translateZ(160px)", | |
}, | |
}, | |
}, | |
animation: { | |
"slide-in": "slide-in 0.5s ease-out", | |
"slide-fwd": | |
" slide-fwd 0.45s cubic-bezier(0.250, 0.460, 0.450, 0.940) both", | |
}, | |
transitionProperty: { | |
height: "height", | |
}, | |
}, | |
cursor: { | |
"zoom-in": "zoom-in", | |
pointer: "pointer", | |
}, | |
}, | |
variants: { | |
// backgroundColor: ['active'], | |
extend: {}, | |
}, | |
plugins: [], | |
}; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment