FIRE calculator

This commit is contained in:
2025-04-29 18:32:26 +02:00
parent a1e9b667f3
commit 97fa489d6c
5 changed files with 403 additions and 66 deletions

View File

@ -4,7 +4,8 @@
@custom-variant dark (&:is(.dark *));
@theme {
--font-sans: var(--font-geist-sans), ui-sans-serif, system-ui, sans-serif,
--font-sans:
var(--font-geist-sans), ui-sans-serif, system-ui, sans-serif,
"Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
}
@ -48,71 +49,77 @@
:root {
--radius: 0.625rem;
--background: oklch(1 0 0);
--foreground: oklch(0.145 0 0);
--card: oklch(1 0 0);
--card-foreground: oklch(0.145 0 0);
--popover: oklch(1 0 0);
--popover-foreground: oklch(0.145 0 0);
--primary: oklch(0.205 0 0);
--primary-foreground: oklch(0.985 0 0);
--secondary: oklch(0.97 0 0);
--secondary-foreground: oklch(0.205 0 0);
--muted: oklch(0.97 0 0);
--muted-foreground: oklch(0.556 0 0);
--accent: oklch(0.97 0 0);
--accent-foreground: oklch(0.205 0 0);
--destructive: oklch(0.577 0.245 27.325);
--border: oklch(0.922 0 0);
--input: oklch(0.922 0 0);
--ring: oklch(0.708 0 0);
--chart-1: oklch(0.646 0.222 41.116);
--chart-2: oklch(0.6 0.118 184.704);
--chart-3: oklch(0.398 0.07 227.392);
--chart-4: oklch(0.828 0.189 84.429);
--chart-5: oklch(0.769 0.188 70.08);
--sidebar: oklch(0.985 0 0);
--sidebar-foreground: oklch(0.145 0 0);
--sidebar-primary: oklch(0.205 0 0);
--sidebar-primary-foreground: oklch(0.985 0 0);
--sidebar-accent: oklch(0.97 0 0);
--sidebar-accent-foreground: oklch(0.205 0 0);
--sidebar-border: oklch(0.922 0 0);
--sidebar-ring: oklch(0.708 0 0);
--background: oklch(0.97 0.0228 95.96); /* cosmic latte */
--foreground: oklch(0.39 0.0215 96.47); /* black olive */
--card: oklch(0.97 0.0228 95.96); /* cosmic latte */
--card-foreground: oklch(0.39 0.0215 96.47); /* black olive */
--popover: oklch(0.97 0.0228 95.96); /* cosmic latte */
--popover-foreground: oklch(0.39 0.0215 96.47); /* black olive */
--primary: oklch(0.67 0.0763 198.81); /* verdigris */
--primary-foreground: oklch(0.97 0.0228 95.96); /* cosmic latte */
--secondary: oklch(0.49 0.1326 259.29); /* denim */
--secondary-foreground: oklch(0.97 0.0228 95.96); /* cosmic latte */
--muted: oklch(0.67 0.0763 198.81 / 20%); /* verdigris with opacity */
--muted-foreground: oklch(
0.39 0.0215 96.47 / 80%
); /* black olive with opacity */
--accent: oklch(0.49 0.1326 259.29); /* denim */
--accent-foreground: oklch(0.97 0.0228 95.96); /* cosmic latte */
--destructive: oklch(0.33 0.1316 336.24); /* palatinate */
--border: oklch(0.67 0.0763 198.81 / 30%); /* verdigris with opacity */
--input: oklch(0.67 0.0763 198.81 / 30%); /* verdigris with opacity */
--ring: oklch(0.67 0.0763 198.81); /* verdigris */
--chart-1: oklch(0.67 0.0763 198.81); /* verdigris */
--chart-2: oklch(0.49 0.1326 259.29); /* denim */
--chart-3: oklch(0.33 0.1316 336.24); /* palatinate */
--chart-4: oklch(0.39 0.0215 96.47); /* black olive */
--chart-5: oklch(0.67 0.0763 198.81 / 70%); /* verdigris with opacity */
--sidebar: oklch(0.49 0.1326 259.29 / 10%); /* denim with opacity */
--sidebar-foreground: oklch(0.39 0.0215 96.47); /* black olive */
--sidebar-primary: oklch(0.67 0.0763 198.81); /* verdigris */
--sidebar-primary-foreground: oklch(0.97 0.0228 95.96); /* cosmic latte */
--sidebar-accent: oklch(0.49 0.1326 259.29); /* denim */
--sidebar-accent-foreground: oklch(0.97 0.0228 95.96); /* cosmic latte */
--sidebar-border: oklch(
0.67 0.0763 198.81 / 20%
); /* verdigris with opacity */
--sidebar-ring: oklch(0.67 0.0763 198.81); /* verdigris */
}
.dark {
--background: oklch(0.145 0 0);
--foreground: oklch(0.985 0 0);
--card: oklch(0.205 0 0);
--card-foreground: oklch(0.985 0 0);
--popover: oklch(0.205 0 0);
--popover-foreground: oklch(0.985 0 0);
--primary: oklch(0.922 0 0);
--primary-foreground: oklch(0.205 0 0);
--secondary: oklch(0.269 0 0);
--secondary-foreground: oklch(0.985 0 0);
--muted: oklch(0.269 0 0);
--muted-foreground: oklch(0.708 0 0);
--accent: oklch(0.269 0 0);
--accent-foreground: oklch(0.985 0 0);
--destructive: oklch(0.704 0.191 22.216);
--border: oklch(1 0 0 / 10%);
--input: oklch(1 0 0 / 15%);
--ring: oklch(0.556 0 0);
--chart-1: oklch(0.488 0.243 264.376);
--chart-2: oklch(0.696 0.17 162.48);
--chart-3: oklch(0.769 0.188 70.08);
--chart-4: oklch(0.627 0.265 303.9);
--chart-5: oklch(0.645 0.246 16.439);
--sidebar: oklch(0.205 0 0);
--sidebar-foreground: oklch(0.985 0 0);
--sidebar-primary: oklch(0.488 0.243 264.376);
--sidebar-primary-foreground: oklch(0.985 0 0);
--sidebar-accent: oklch(0.269 0 0);
--sidebar-accent-foreground: oklch(0.985 0 0);
--sidebar-border: oklch(1 0 0 / 10%);
--sidebar-ring: oklch(0.556 0 0);
--background: oklch(0.39 0.0215 96.47); /* black olive */
--foreground: oklch(0.97 0.0228 95.96); /* cosmic latte */
--card: oklch(0.39 0.0215 96.47 / 80%); /* black olive with opacity */
--card-foreground: oklch(0.97 0.0228 95.96); /* cosmic latte */
--popover: oklch(0.39 0.0215 96.47); /* black olive */
--popover-foreground: oklch(0.97 0.0228 95.96); /* cosmic latte */
--primary: oklch(0.67 0.0763 198.81); /* verdigris */
--primary-foreground: oklch(0.97 0.0228 95.96); /* cosmic latte */
--secondary: oklch(0.49 0.1326 259.29); /* denim */
--secondary-foreground: oklch(0.97 0.0228 95.96); /* cosmic latte */
--muted: oklch(0.39 0.0215 96.47 / 70%); /* black olive with opacity */
--muted-foreground: oklch(0.67 0.0763 198.81); /* verdigris */
--accent: oklch(0.49 0.1326 259.29); /* denim */
--accent-foreground: oklch(0.97 0.0228 95.96); /* cosmic latte */
--destructive: oklch(0.33 0.1316 336.24); /* palatinate */
--border: oklch(0.97 0.0228 95.96 / 20%); /* cosmic latte with opacity */
--input: oklch(0.97 0.0228 95.96 / 20%); /* cosmic latte with opacity */
--ring: oklch(0.67 0.0763 198.81); /* verdigris */
--chart-1: oklch(0.67 0.0763 198.81); /* verdigris */
--chart-2: oklch(0.49 0.1326 259.29); /* denim */
--chart-3: oklch(0.33 0.1316 336.24); /* palatinate */
--chart-4: oklch(0.97 0.0228 95.96); /* cosmic latte */
--chart-5: oklch(0.67 0.0763 198.81 / 70%); /* verdigris with opacity */
--sidebar: oklch(0.39 0.0215 96.47 / 90%); /* black olive with opacity */
--sidebar-foreground: oklch(0.97 0.0228 95.96); /* cosmic latte */
--sidebar-primary: oklch(0.67 0.0763 198.81); /* verdigris */
--sidebar-primary-foreground: oklch(0.97 0.0228 95.96); /* cosmic latte */
--sidebar-accent: oklch(0.49 0.1326 259.29); /* denim */
--sidebar-accent-foreground: oklch(0.97 0.0228 95.96); /* cosmic latte */
--sidebar-border: oklch(
0.97 0.0228 95.96 / 10%
); /* cosmic latte with opacity */
--sidebar-ring: oklch(0.67 0.0763 198.81); /* verdigris */
}
@layer base {