Files
portfolio/tailwind.config.js
T
admin 8ee9046bb3 Task 3: Build LoginScreen component with typing animation
- Created LoginScreen.tsx with character-by-character username typing (30ms/char)
- Password dots fill at 20ms per dot
- Button shows pressed state before transition
- Added 'login' phase to App.tsx flow
- Added PMR colors and fonts to tailwind.config.js
- Added Inter font family to index.html
- Respects prefers-reduced-motion: instant completion in ~500ms
2026-02-11 00:54:48 +00:00

65 lines
1.5 KiB
JavaScript

/** @type {import('tailwindcss').Config} */
export default {
content: [
"./index.html",
"./src/**/*.{js,ts,jsx,tsx}",
],
theme: {
screens: {
'xs': '480px',
'sm': '640px',
'md': '768px',
'lg': '1024px',
'xl': '1280px',
},
extend: {
colors: {
teal: {
DEFAULT: '#00897B',
light: 'rgba(0, 137, 123, 0.08)',
medium: 'rgba(0, 137, 123, 0.15)',
},
coral: {
DEFAULT: '#FF6B6B',
light: 'rgba(255, 107, 107, 0.08)',
},
heading: '#0F172A',
text: '#334155',
muted: '#94A3B8',
border: '#E2E8F0',
ecg: {
green: '#00ff41',
cyan: '#00e5ff',
dim: '#3a6b45',
grey: '#666666',
},
pmr: {
sidebar: '#1E293B',
banner: '#334155',
content: '#F5F7FA',
nhsblue: '#005EB8',
green: '#22C55E',
amber: '#F59E0B',
red: '#EF4444',
},
},
fontFamily: {
primary: ['Plus Jakarta Sans', 'system-ui', 'sans-serif'],
secondary: ['Inter Tight', 'system-ui', 'sans-serif'],
mono: ['Fira Code', 'monospace'],
inter: ['Inter', 'system-ui', 'sans-serif'],
geist: ['Geist Mono', 'Fira Code', 'monospace'],
},
boxShadow: {
'sm': '0 1px 3px rgba(0,0,0,0.06)',
'md': '0 4px 12px rgba(0,0,0,0.08)',
'lg': '0 8px 24px rgba(0,0,0,0.1)',
},
borderRadius: {
'card': '16px',
},
},
},
plugins: [],
}