Spaces:
Running
Running
File size: 6,343 Bytes
03608f2 | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 | @import "tailwindcss";
@import "tw-animate-css";
@import "shadcn/tailwind.css";
@custom-variant dark (&:is(.dark *));
@theme inline {
--color-background: var(--background);
--color-foreground: var(--foreground);
--font-sans: var(--font-geist-sans), ui-sans-serif, system-ui, sans-serif;
--font-mono: var(--font-geist-mono), ui-monospace, monospace;
--font-heading: var(--font-geist-sans), ui-sans-serif, system-ui, sans-serif;
--font-urdu: var(--font-nastaliq), var(--font-geist-sans), serif;
--color-success: var(--success);
--color-success-soft: var(--success-soft);
--color-warning: var(--warning);
--color-warning-soft: var(--warning-soft);
--color-info: var(--info);
--color-info-soft: var(--info-soft);
--color-sidebar-ring: var(--sidebar-ring);
--color-sidebar-border: var(--sidebar-border);
--color-sidebar-accent-foreground: var(--sidebar-accent-foreground);
--color-sidebar-accent: var(--sidebar-accent);
--color-sidebar-primary-foreground: var(--sidebar-primary-foreground);
--color-sidebar-primary: var(--sidebar-primary);
--color-sidebar-foreground: var(--sidebar-foreground);
--color-sidebar: var(--sidebar);
--color-chart-5: var(--chart-5);
--color-chart-4: var(--chart-4);
--color-chart-3: var(--chart-3);
--color-chart-2: var(--chart-2);
--color-chart-1: var(--chart-1);
--color-ring: var(--ring);
--color-input: var(--input);
--color-border: var(--border);
--color-destructive: var(--destructive);
--color-accent-foreground: var(--accent-foreground);
--color-accent: var(--accent);
--color-muted-foreground: var(--muted-foreground);
--color-muted: var(--muted);
--color-secondary-foreground: var(--secondary-foreground);
--color-secondary: var(--secondary);
--color-primary-foreground: var(--primary-foreground);
--color-primary: var(--primary);
--color-popover-foreground: var(--popover-foreground);
--color-popover: var(--popover);
--color-card-foreground: var(--card-foreground);
--color-card: var(--card);
--radius-sm: calc(var(--radius) * 0.6);
--radius-md: calc(var(--radius) * 0.8);
--radius-lg: var(--radius);
--radius-xl: calc(var(--radius) * 1.4);
--radius-2xl: calc(var(--radius) * 1.8);
--radius-3xl: calc(var(--radius) * 2.2);
--radius-4xl: calc(var(--radius) * 2.6);
}
:root {
/* Calm, cool neutrals with a deep teal accent: an operations tool, not a marketing page. */
--background: oklch(0.985 0.002 247);
--foreground: oklch(0.21 0.014 256);
--card: oklch(1 0 0);
--card-foreground: oklch(0.21 0.014 256);
--popover: oklch(1 0 0);
--popover-foreground: oklch(0.21 0.014 256);
--primary: oklch(0.46 0.083 182);
--primary-foreground: oklch(0.985 0.005 182);
--secondary: oklch(0.962 0.005 247);
--secondary-foreground: oklch(0.27 0.016 256);
--muted: oklch(0.962 0.005 247);
--muted-foreground: oklch(0.51 0.017 256);
--accent: oklch(0.955 0.012 182);
--accent-foreground: oklch(0.3 0.05 182);
--destructive: oklch(0.56 0.19 25);
--border: oklch(0.913 0.007 247);
--input: oklch(0.9 0.008 247);
--ring: oklch(0.6 0.08 182);
--success: oklch(0.52 0.12 155);
--success-soft: oklch(0.95 0.04 155);
--warning: oklch(0.6 0.13 65);
--warning-soft: oklch(0.965 0.05 85);
--info: oklch(0.52 0.12 250);
--info-soft: oklch(0.955 0.025 250);
--chart-1: oklch(0.46 0.083 182);
--chart-2: oklch(0.6 0.13 65);
--chart-3: oklch(0.56 0.19 25);
--chart-4: oklch(0.52 0.12 250);
--chart-5: oklch(0.7 0.02 256);
--radius: 0.5rem;
--sidebar: oklch(0.975 0.003 247);
--sidebar-foreground: oklch(0.27 0.016 256);
--sidebar-primary: oklch(0.46 0.083 182);
--sidebar-primary-foreground: oklch(0.985 0 0);
--sidebar-accent: oklch(0.94 0.008 247);
--sidebar-accent-foreground: oklch(0.21 0.014 256);
--sidebar-border: oklch(0.913 0.007 247);
--sidebar-ring: oklch(0.6 0.08 182);
}
.dark {
--background: oklch(0.165 0.01 256);
--foreground: oklch(0.95 0.004 247);
--card: oklch(0.2 0.011 256);
--card-foreground: oklch(0.95 0.004 247);
--popover: oklch(0.21 0.012 256);
--popover-foreground: oklch(0.95 0.004 247);
--primary: oklch(0.74 0.1 180);
--primary-foreground: oklch(0.2 0.03 182);
--secondary: oklch(0.26 0.012 256);
--secondary-foreground: oklch(0.95 0.004 247);
--muted: oklch(0.25 0.011 256);
--muted-foreground: oklch(0.7 0.013 256);
--accent: oklch(0.27 0.03 182);
--accent-foreground: oklch(0.92 0.03 182);
--destructive: oklch(0.68 0.17 24);
--border: oklch(1 0 0 / 9%);
--input: oklch(1 0 0 / 14%);
--ring: oklch(0.6 0.08 182);
--success: oklch(0.74 0.13 155);
--success-soft: oklch(0.3 0.05 155);
--warning: oklch(0.8 0.13 75);
--warning-soft: oklch(0.31 0.05 70);
--info: oklch(0.74 0.11 250);
--info-soft: oklch(0.3 0.05 250);
--chart-1: oklch(0.74 0.1 180);
--chart-2: oklch(0.8 0.13 75);
--chart-3: oklch(0.68 0.17 24);
--chart-4: oklch(0.74 0.11 250);
--chart-5: oklch(0.5 0.02 256);
--sidebar: oklch(0.185 0.011 256);
--sidebar-foreground: oklch(0.9 0.006 247);
--sidebar-primary: oklch(0.74 0.1 180);
--sidebar-primary-foreground: oklch(0.2 0.03 182);
--sidebar-accent: oklch(0.25 0.012 256);
--sidebar-accent-foreground: oklch(0.95 0.004 247);
--sidebar-border: oklch(1 0 0 / 8%);
--sidebar-ring: oklch(0.6 0.08 182);
}
@layer base {
* {
@apply border-border outline-ring/50;
}
body {
@apply bg-background text-foreground;
}
button:not(:disabled), [role="button"]:not(:disabled) {
cursor: pointer;
}
html {
@apply font-sans;
}
}
/* Urdu: Nastaliq is tall and slanted; give it room. Code, ids and amounts stay LTR. */
html[lang="ur"] body {
font-family: var(--font-urdu);
line-height: 2;
}
html[lang="ur"] [dir="ltr"],
html[lang="ur"] .tabular {
font-family: var(--font-geist-sans), sans-serif;
line-height: 1.5;
}
html[lang="ur"] .font-mono,
html[lang="ur"] code {
font-family: var(--font-mono);
line-height: 1.5;
}
.tabular {
font-variant-numeric: tabular-nums;
}
@media (prefers-reduced-motion: reduce) {
*,
*::before,
*::after {
animation-duration: 0.01ms !important;
transition-duration: 0.01ms !important;
}
}
|