Files
co-lite/solvway-customer-portal/tailwind.config.ts
T
ngqileandClaude Opus 5.5 5ee51d1913 chore: copy kept Tastefully modules and portals into Co-Lite
Backend modules from tastefully 8bd93d15: core-libs, core-session,
api-gateway, mobile-api, services-auth, services-system,
services-counter, services-member, services-log, services-email.
solvway-admin-portal from babyboo f64d096ea, solvway-customer-portal
from tastefully 8bd93d15. Copied as tracked files only.

Literal secrets replaced with environment placeholders:
- services-email: SMTP_PASSWORD, MAILGUN_API_KEY, SENDGRID_API_KEY,
  MAILJET_API_KEY, MAILJET_SECRET_KEY (optional, empty default)
- services-system: JUMIO_TOKEN, JUMIO_SECRET (optional)
- services-auth: USER_AUTH_API_SECRET (required); commented JWT secret removed
- core-libs: JWT_TOKEN default removed (required), XXL_JOB_TOKEN default
  removed, ipgeolocation key read from IPGEOLOCATION_API_KEY
- services-system EkycAppConfig: commented Jumio credentials removed

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01EFUzfj5akPxyikzGc2iAHM
2026-11-26 15:55:45 +08:00

74 lines
2.8 KiB
TypeScript

import type { Config } from "tailwindcss";
const config: Config = {
darkMode: "class",
content: [
"./app/**/*.{js,ts,jsx,tsx,mdx}",
"./components/**/*.{js,ts,jsx,tsx,mdx}",
],
theme: {
extend: {
colors: {
tastefullyOrange: "#FF6B00",
// Orange for TEXT: darker on light surfaces to pass AA (see globals.css --orange-text).
tastefullyOrangeText: "var(--orange-text)",
tastefullyDark: "#1a1a1a",
tastefullyAccent: "#290a81",
},
// Larger-than-default type scale, in rem so it follows the device/root font size.
// Floor is 14px (xs) for older readers; body copy (sm) is 16px.
fontSize: {
xs: ["0.875rem", { lineHeight: "1.25rem" }],
sm: ["1rem", { lineHeight: "1.5rem" }],
base: ["1.125rem", { lineHeight: "1.75rem" }],
lg: ["1.25rem", { lineHeight: "1.75rem" }],
xl: ["1.375rem", { lineHeight: "1.875rem" }],
"2xl": ["1.625rem", { lineHeight: "2rem" }],
"3xl": ["2rem", { lineHeight: "2.25rem" }],
"4xl": ["2.375rem", { lineHeight: "2.5rem" }],
},
backgroundImage: {
"gradient-radial": "radial-gradient(var(--tw-gradient-stops))",
"glow-orange":
"radial-gradient(ellipse at center, rgba(255,107,0,0.35) 0%, transparent 70%)",
"glow-accent":
"radial-gradient(ellipse at center, rgba(41,10,129,0.45) 0%, transparent 70%)",
"phone-bg":
"radial-gradient(ellipse at 30% 20%, rgba(41,10,129,0.25) 0%, rgba(26,26,26,0.98) 55%, rgba(10,10,10,1) 100%)",
},
boxShadow: {
"glow-orange": "0 0 40px rgba(255,107,0,0.4), 0 0 80px rgba(255,107,0,0.15)",
"glow-accent": "0 0 40px rgba(41,10,129,0.5), 0 0 80px rgba(41,10,129,0.2)",
"glass": "0 8px 32px rgba(0,0,0,0.4), inset 0 1px 0 rgba(255,255,255,0.08)",
},
animation: {
"pulse-glow": "pulseGlow 3s ease-in-out infinite",
"float": "float 6s ease-in-out infinite",
"shimmer": "shimmer 2.5s linear infinite",
},
keyframes: {
pulseGlow: {
"0%, 100%": { opacity: "0.6" },
"50%": { opacity: "1" },
},
float: {
"0%, 100%": { transform: "translateY(0px)" },
"50%": { transform: "translateY(-8px)" },
},
shimmer: {
"0%": { backgroundPosition: "-200% center" },
"100%": { backgroundPosition: "200% center" },
},
},
fontFamily: {
// "Twemoji Country Flags" contains flag glyphs only — injected by
// FlagEmojiPolyfill on platforms (Windows) without native flag emojis.
sans: ["Twemoji Country Flags", "var(--font-geist-sans)", "system-ui", "sans-serif"],
},
},
},
plugins: [],
};
export default config;