WellNuo/admin/app/globals.css
Sergei 4b60a92777 Add basic UI components for web application
- Set up Tailwind CSS configuration for styling
- Create Button component with variants (primary, secondary, outline, ghost, danger)
- Create Input component with label, error, and helper text support
- Create Card component with composable subcomponents (Header, Title, Description, Content, Footer)
- Create LoadingSpinner component with size and fullscreen options
- Create ErrorMessage component with retry and dismiss actions
- Add comprehensive test suite using Jest and React Testing Library
- Configure ESLint and Jest for quality assurance

All components follow consistent design patterns from mobile app
and include proper TypeScript types and accessibility features.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
2026-01-31 18:11:31 -08:00

45 lines
722 B
CSS

@tailwind base;
@tailwind components;
@tailwind utilities;
* {
margin: 0;
padding: 0;
box-sizing: border-box;
}
:root {
--primary: #4A90D9;
--primary-dark: #2E5C8A;
--success: #5AC8A8;
--warning: #F5A623;
--error: #D0021B;
--background: #FFFFFF;
--surface: #F5F7FA;
--text-primary: #333333;
--text-secondary: #666666;
--text-muted: #999999;
--border: #E5E7EB;
}
body {
font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
background: var(--surface);
color: var(--text-primary);
line-height: 1.5;
}
a {
color: inherit;
text-decoration: none;
}
button {
cursor: pointer;
font-family: inherit;
}
input, select, textarea {
font-family: inherit;
}