170 lines
5.3 KiB
CSS

@import 'tailwindcss';
@plugin 'tailwindcss-animate';
@source '../views';
@source '../../vendor/laravel/framework/src/Illuminate/Pagination/resources/views/*.blade.php';
@custom-variant dark (&:is(.dark *));
@theme {
--font-sans:
'Instrument Sans', ui-sans-serif, system-ui, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol', 'Noto Color Emoji';
--radius-lg: var(--radius);
--radius-md: calc(var(--radius) - 2px);
--radius-sm: calc(var(--radius) - 4px);
--color-background: var(--background);
--color-foreground: var(--foreground);
--color-card: var(--card);
--color-card-foreground: var(--card-foreground);
--color-popover: var(--popover);
--color-popover-foreground: var(--popover-foreground);
--color-primary: var(--primary);
--color-primary-foreground: var(--primary-foreground);
--color-secondary: var(--secondary);
--color-secondary-foreground: var(--secondary-foreground);
--color-muted: var(--muted);
--color-muted-foreground: var(--muted-foreground);
--color-accent: var(--accent);
--color-accent-foreground: var(--accent-foreground);
--color-destructive: var(--destructive);
--color-destructive-foreground: var(--destructive-foreground);
--color-border: var(--border);
--color-input: var(--input);
--color-ring: var(--ring);
--color-chart-1: var(--chart-1);
--color-chart-2: var(--chart-2);
--color-chart-3: var(--chart-3);
--color-chart-4: var(--chart-4);
--color-chart-5: var(--chart-5);
--color-sidebar: var(--sidebar);
--color-sidebar-foreground: var(--sidebar-foreground);
--color-sidebar-primary: var(--sidebar-primary);
--color-sidebar-primary-foreground: var(--sidebar-primary-foreground);
--color-sidebar-accent: var(--sidebar-accent);
--color-sidebar-accent-foreground: var(--sidebar-accent-foreground);
--color-sidebar-border: var(--sidebar-border);
--color-sidebar-ring: var(--sidebar-ring);
}
/*
The default border color has changed to `currentColor` in Tailwind CSS v4,
so we've added these compatibility styles to make sure everything still
looks the same as it did with Tailwind CSS v3.
If we ever want to remove these styles, we need to add an explicit border
color utility to any element that depends on these defaults.
*/
@layer base {
*,
::after,
::before,
::backdrop,
::file-selector-button {
border-color: var(--color-gray-200, currentColor);
}
}
:root {
--background: oklch(0.98 0.01 210); /* hampir putih kebiruan */
--foreground: oklch(0.22 0.02 250); /* abu kebiruan gelap */
--card: oklch(0.97 0.01 210);
--card-foreground: oklch(0.22 0.02 250);
--popover: oklch(1 0 0);
--popover-foreground: oklch(0.22 0.02 250);
--primary: oklch(0.55 0.12 220); /* biru tenang */
--primary-foreground: oklch(0.98 0.01 210);
--secondary: oklch(0.926 0.061 150.801); /* hijau pastel */
--secondary-foreground: oklch(0.1 0.02 150);
--muted: oklch(0.9 0.01 210);
--muted-foreground: oklch(0.45 0.01 210);
--accent: oklch(0.993 0.01 181.419); /* cyan lembut */
--accent-foreground: oklch(0.15 0.02 180);
--destructive: oklch(0.65 0.2 25); /* merah lembut */
--destructive-foreground: oklch(0.98 0.01 0);
--border: oklch(0.88 0.01 210);
--input: oklch(0.95 0.01 210);
--ring: oklch(0.7 0.1 220);
--chart-1: oklch(0.65 0.18 220);
--chart-2: oklch(0.65 0.1 150);
--chart-3: oklch(0.5 0.08 180);
--chart-4: oklch(0.75 0.12 100);
--chart-5: oklch(0.7 0.14 30);
--radius: 0.625rem;
--sidebar: oklch(0.95 0.01 210);
--sidebar-foreground: oklch(0.22 0.02 250);
--sidebar-primary: var(--primary);
--sidebar-primary-foreground: var(--primary-foreground);
--sidebar-accent: var(--accent);
--sidebar-accent-foreground: var(--accent-foreground);
--sidebar-border: var(--border);
--sidebar-ring: var(--ring);
}
.dark {
--background: oklch(0.18 0.02 240);
--foreground: oklch(0.98 0.01 210);
--card: oklch(0.22 0.02 250);
--card-foreground: oklch(0.98 0.01 210);
--popover: oklch(0.2 0.02 250);
--popover-foreground: oklch(0.98 0.01 210);
--primary: oklch(0.7 0.1 220);
--primary-foreground: oklch(0.15 0.02 220);
--secondary: oklch(0.6 0.06 150);
--secondary-foreground: oklch(0.95 0.01 150);
--muted: oklch(0.3 0.01 220);
--muted-foreground: oklch(0.7 0.01 220);
--accent: oklch(0.5 0.06 180);
--accent-foreground: oklch(0.95 0.01 180);
--destructive: oklch(0.55 0.15 25);
--destructive-foreground: oklch(0.98 0.01 0);
--border: oklch(0.3 0.01 220);
--input: oklch(0.35 0.01 220);
--ring: oklch(0.5 0.08 220);
--chart-1: oklch(0.6 0.16 220);
--chart-2: oklch(0.6 0.08 150);
--chart-3: oklch(0.45 0.06 180);
--chart-4: oklch(0.65 0.1 100);
--chart-5: oklch(0.6 0.12 30);
--sidebar: oklch(0.2 0.02 240);
--sidebar-foreground: oklch(0.98 0.01 210);
--sidebar-primary: var(--primary);
--sidebar-primary-foreground: var(--primary-foreground);
--sidebar-accent: var(--accent);
--sidebar-accent-foreground: var(--accent-foreground);
--sidebar-border: var(--border);
--sidebar-ring: var(--ring);
}
@layer base {
* {
@apply border-border;
}
body {
@apply bg-background text-foreground;
}
}