Skip to content

Instantly share code, notes, and snippets.

@RayanAbid
Created February 20, 2024 16:42
Show Gist options
  • Save RayanAbid/319ae4c8ac437e7437cb27c7f63ac9d2 to your computer and use it in GitHub Desktop.
Save RayanAbid/319ae4c8ac437e7437cb27c7f63ac9d2 to your computer and use it in GitHub Desktop.
Tailwind css config file
module.exports = {
content: [
"./pages/**/*.{js,ts,jsx,tsx}",
"./components/**/*.{js,ts,jsx,tsx}",
],
purge: ["./pages/**/*.{js,ts,jsx,tsx}", "./components/**/*.{js,ts,jsx,tsx}"],
theme: {
screens: {
xs: "10px",
sm: "640px",
// => @media (min-width: 640px) { ... }
md: "768px",
// => @media (min-width: 768px) { ... }
lg: "1024px",
// => @media (min-width: 1024px) { ... }
xl: "1280px",
// => @media (min-width: 1280px) { ... }
"2xl": "1536px",
// => @media (min-width: 1536px) { ... }
},
backdropFilter: {
none: "none",
blur: "blur(20px)",
},
extend: {
colors: {
main: "#000000",
secondry: "#541212",
bgPrimary: "#FFFFFFD9",
ytred: "#FF0000",
gitBlack: "#ffff",
twiBlue: "#1da1f2",
LnBlue: "#0072b1",
hshbl: "#2962FF",
dark: "#0f0e0e",
},
},
},
plugins: [],
};
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment