Files
eigen-hris/tailwind.config.ts
T
saefulrahman 16cbe65c62 Initialize Eigen HRIS project
- Add .gitignore, .yarnrc.yml, and initial project metadata (AGENTS.md, DESIGN.md, package.json, Yarn lock, Tailwind, PostCSS, Next.js config, TypeScript config)
- Add CSV data files (users, employees, contracts, attendances)
- Implement API routes for auth, employees, contracts, attendances, analytics, and file upload
- Add core pages (dashboard, employees, attendances, profile, login, main layout)
- Add UI components (avatar, avatar picker, badge, button, card, input, modal, select, sidebar, navigation shell, top header)
- Add attendance features (table, clock widget, unified permit modal with file upload, upload API)
- Add employee management (contract timeline with file upload, employee form modal, employee table)
- Add dashboard widgets (leaderboard, early bird, latecomer, night owl, day status feed, date filter bar)
- Add utilities (avatar generator, analytics calculations, CSV DB layer, auth context)
- Add type definitions for auth, employee, contract, attendance, dashboard

All changes are synchronized with documentation (AGENTS.md, DESIGN.md, walkthrough).
2026-08-27 17:41:59 +07:00

36 lines
1.1 KiB
TypeScript

import type { Config } from "tailwindcss";
const config: Config = {
content: [
"./src/pages/**/*.{js,ts,jsx,tsx,mdx}",
"./src/components/**/*.{js,ts,jsx,tsx,mdx}",
"./src/app/**/*.{js,ts,jsx,tsx,mdx}",
],
theme: {
extend: {
colors: {
brand: {
primary: "#1b4ef5", // Cobalt Electric
secondary: "#3874ff", // Royal Azure
tertiary: "#5996ff", // Sky Periwinkle
pastel: "#f4ceff", // Lilac Mist / Glow
hover: "#143ec4",
dark: "#0d2b99",
light: "#ebf2ff",
},
},
fontFamily: {
sans: ["var(--font-jakarta)", "Plus Jakarta Sans", "system-ui", "sans-serif"],
},
boxShadow: {
card: "0 1px 3px 0 rgba(0, 0, 0, 0.05), 0 1px 2px -1px rgba(0, 0, 0, 0.05)",
"card-hover": "0 10px 25px -5px rgba(27, 78, 245, 0.08), 0 8px 10px -6px rgba(27, 78, 245, 0.04)",
glow: "0 0 20px -3px rgba(244, 206, 255, 0.6)",
"brand-glow": "0 0 25px -5px rgba(27, 78, 245, 0.35)",
},
},
},
plugins: [],
};
export default config;