aboutsummaryrefslogtreecommitdiff
path: root/pages/tailwind.config.js
diff options
context:
space:
mode:
authorFactiven <[email protected]>2023-04-14 00:07:02 +0700
committerFactiven <[email protected]>2023-04-14 00:07:02 +0700
commit482b1c8db5cfeaa20d75ce92fcb10f3ca8433633 (patch)
treef0c12d3acb6bd8ce43e63e01527c97a62dba7e9c /pages/tailwind.config.js
parentUpdate index.js (diff)
downloadmoopa-482b1c8db5cfeaa20d75ce92fcb10f3ca8433633.tar.xz
moopa-482b1c8db5cfeaa20d75ce92fcb10f3ca8433633.zip
Update 5th
Diffstat (limited to 'pages/tailwind.config.js')
-rw-r--r--pages/tailwind.config.js81
1 files changed, 81 insertions, 0 deletions
diff --git a/pages/tailwind.config.js b/pages/tailwind.config.js
new file mode 100644
index 0000000..066d8b7
--- /dev/null
+++ b/pages/tailwind.config.js
@@ -0,0 +1,81 @@
+/** @type {import('tailwindcss').Config} */
+const defaultTheme = require("tailwindcss/defaultTheme");
+const scrollbarPlugin = require("tailwind-scrollbar");
+
+module.exports = {
+ content: [
+ "./pages/**/*.{js,ts,jsx,tsx}",
+ "./components/**/*.{js,ts,jsx,tsx}",
+ ],
+ darkMode: "class",
+ theme: {
+ screens: {
+ xs: "475px",
+ ...defaultTheme.screens,
+ },
+ extend: {
+ animation: {
+ text: "text 5s ease infinite",
+ },
+ keyframes: {
+ text: {
+ "0%, 100%": {
+ "background-size": "200% 200%",
+ "background-position": "left center",
+ },
+ "50%": {
+ "background-size": "200% 200%",
+ "background-position": "right center",
+ },
+ },
+ },
+ boxShadow: {
+ menu: "0 0 10px 0px rgba(255, 107, 0, 0.1)",
+ light: "0 2px 10px 2px rgba(0, 0, 0, 0.1)",
+ button: "0 0px 5px 0.5px rgba(0, 0, 0, 0.1)",
+ },
+ textColor: {
+ "gray-500": "#6c757d",
+ },
+ fontWeight: {
+ bold: "700",
+ },
+ padding: {
+ nav: "5.3rem",
+ },
+ colors: {
+ primary: "#141519",
+ secondary: "#202020",
+ action: "#FF7F57",
+ image: "#3B3C41",
+ },
+ },
+ fontFamily: {
+ rama: ["Ramabhadra", "sans-serif"],
+ outfit: ["Outfit", "sans-serif"],
+ karla: ["Karla", "sans-serif"],
+ roboto: ["Roboto", "sans-serif"],
+ inter: ["Inter", "sans-serif"],
+ },
+ },
+ variants: {
+ extend: {
+ display: ["group-focus"],
+ opacity: ["group-focus"],
+ inset: ["group-focus"],
+ backgroundImage: ["dark"],
+ },
+ textColor: ["responsive", "hover", "focus"],
+ fontWeight: ["responsive", "hover", "focus"],
+ scrollbar: ["rounded"],
+ },
+ plugins: [
+ scrollbarPlugin({
+ nocompatible: true,
+ }),
+ require("tailwind-scrollbar-hide"),
+ require("vidstack/tailwind.cjs")({
+ prefix: "media", // paused:... -> media-paused:...
+ }),
+ ],
+};