- Extended Tailwind config with 3xl (1920px) and 4xl (2560px) breakpoints - Added responsive max-widths (8xl, 9xl, 10xl) for large screens - Updated Layout component with scaling max-width and padding - Made Header container responsive for large displays - Added responsive Sidebar width (64→72→80 for lg→3xl→4xl) - Implemented responsive typography in globals.css - Updated Dashboard grids to utilize more columns on large screens - Added comprehensive unit tests for responsive classes 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
81 lines
1.3 KiB
CSS
81 lines
1.3 KiB
CSS
@tailwind base;
|
|
@tailwind components;
|
|
@tailwind utilities;
|
|
|
|
:root {
|
|
--background: #ffffff;
|
|
--foreground: #171717;
|
|
}
|
|
|
|
@media (prefers-color-scheme: dark) {
|
|
:root {
|
|
--background: #0a0a0a;
|
|
--foreground: #ededed;
|
|
}
|
|
}
|
|
|
|
body {
|
|
color: var(--foreground);
|
|
background: var(--background);
|
|
font-family: Arial, Helvetica, sans-serif;
|
|
}
|
|
|
|
@layer utilities {
|
|
.text-balance {
|
|
text-wrap: balance;
|
|
}
|
|
}
|
|
|
|
/* Responsive typography for large screens */
|
|
@layer components {
|
|
/* Responsive heading that scales on large screens */
|
|
.responsive-heading-1 {
|
|
@apply text-2xl font-bold;
|
|
}
|
|
|
|
.responsive-heading-2 {
|
|
@apply text-xl font-semibold;
|
|
}
|
|
|
|
.responsive-heading-3 {
|
|
@apply text-lg font-semibold;
|
|
}
|
|
|
|
/* Large screen typography scaling */
|
|
@screen lg {
|
|
.responsive-heading-1 {
|
|
@apply text-3xl;
|
|
}
|
|
.responsive-heading-2 {
|
|
@apply text-2xl;
|
|
}
|
|
.responsive-heading-3 {
|
|
@apply text-xl;
|
|
}
|
|
}
|
|
|
|
@screen 3xl {
|
|
.responsive-heading-1 {
|
|
@apply text-4xl;
|
|
}
|
|
.responsive-heading-2 {
|
|
@apply text-2xl;
|
|
}
|
|
.responsive-heading-3 {
|
|
@apply text-xl;
|
|
}
|
|
}
|
|
|
|
@screen 4xl {
|
|
.responsive-heading-1 {
|
|
@apply text-5xl;
|
|
}
|
|
.responsive-heading-2 {
|
|
@apply text-3xl;
|
|
}
|
|
.responsive-heading-3 {
|
|
@apply text-2xl;
|
|
}
|
|
}
|
|
}
|