Skip to content

Instantly share code, notes, and snippets.

@Ernesto-tha-great
Created July 8, 2022 03:59
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save Ernesto-tha-great/8f19bfcac196a14033c4efcbbe93af97 to your computer and use it in GitHub Desktop.
Save Ernesto-tha-great/8f19bfcac196a14033c4efcbbe93af97 to your computer and use it in GitHub Desktop.
module.exports = {
content: [
"./pages/**/*.{js,ts,jsx,tsx}",
"./components/**/*.{js,ts,jsx,tsx}",
],
mode: "jit",
darkMode: "media", // or 'media' or 'class'
theme: {
extend: {
colors: {
borderGray: "#202229",
white: "#fff",
primary: "#3B84F5",
backgroundBlack: "#1a1c1f",
whiteIcons: "#1a1c1f",
borderWhiteGray: "#dfdfdf",
textSubTitle: "#878787",
textTitle: "#fff",
},
boxShadow: {
xs: "0 0 0 1px rgba(0, 0, 0, 0.16)",
sm: "0 1px 2px 0 rgba(0, 0, 0, 0.16)",
default:
"0 1px 3px 0 rgba(0, 0, 0, 0.12), 0 1px 2px 0 rgba(0, 0, 0, 0.03)",
md: "0 4px 6px -1px rgba(0, 0, 0, 0.04), 0 2px 4px -1px rgba(0, 0, 0, 0.03)",
lg: "0 10px 15px -3px rgba(0, 0, 0, 0.04), 0 4px 6px -2px rgba(0, 0, 0, 0.02)",
xl: "0 20px 25px -5px rgba(0, 0, 0, 0.12), 0 10px 10px -5px rgba(0, 0, 0, 0.02)",
"2xl": "0 25px 50px -12px rgba(0, 0, 0, 0.15)",
inner: "inset 0 2px 4px 0 rgba(0, 0, 0, 0.04)",
outline: "0 0 0 3px rgba(66, 153, 225, 0.5)",
none: "none",
},
spacing: {
"9/16": "56.25%",
"3/4": "75%",
"1/1": "100%",
},
fontFamily: {
inter: ["Inter", "sans-serif"],
},
fontSize: {
xs: "0.75rem",
sm: "0.875rem",
base: "1rem",
lg: "1.125rem",
xl: "1.25rem",
"2xl": "1.5rem",
"3xl": "2rem",
"4xl": "2.625rem",
"5xl": "3.25rem",
"6xl": "5.5rem",
},
inset: {
"1/2": "50%",
full: "100%",
},
letterSpacing: {
tighter: "-0.02em",
tight: "-0.01em",
normal: "0",
wide: "0.01em",
wider: "0.02em",
widest: "0.4em",
},
lineHeight: {
none: "1",
tighter: "1.125",
tight: "1.25",
snug: "1.375",
normal: "1.5",
relaxed: "1.625",
loose: "2",
3: ".75rem",
4: "1rem",
5: "1.2rem",
6: "1.5rem",
7: "1.75rem",
8: "2rem",
9: "2.25rem",
10: "2.5rem",
},
minWidth: {
10: "2.5rem",
48: "12rem",
},
opacity: {
90: "0.9",
},
scale: {
98: ".98",
},
animation: {
float: "float 3s ease-in-out infinite",
},
keyframes: {
float: {
"0%, 100%": { transform: "translateY(0)" },
"50%": { transform: "translateY(-5%)" },
},
},
zIndex: {
"-1": "-1",
},
},
},
variants: {
backgroundColor: ["responsive", "hover", "focus", "group-hover"],
textColor: ["responsive", "hover", "focus", "group-hover"],
translate: ["responsive", "hover", "focus", "group-hover"],
boxShadow: ["responsive", "hover", "focus", "focus-within"],
opacity: ["responsive", "hover", "focus", "group-hover"],
},
plugins: [],
};
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment