Files
web-probindo/resources/css/app.css
T
afriadirahman 8c6dad2a31
tests / ci (push) Canceled after 0s
Admin Panel
2026-09-29 14:57:37 +07:00

270 lines
8.4 KiB
CSS

@import 'tailwindcss';
@import 'tw-animate-css';
@source '../views';
@source '../../vendor/laravel/framework/src/Illuminate/Pagination/resources/views/*.blade.php';
@custom-variant dark (&:is(.dark *));
@theme {
--font-sans:
'Manrope', 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);
}
/*
* Probindo public site theme.
*
* Tokens are CSS variables so a single set of utility classes
* (bg-surface, text-on-surface, ...) renders both themes: light values live
* on `.probindo-site`, dark values under `.dark .probindo-site`.
*/
@theme inline {
--color-surface: var(--site-surface);
--color-surface-container-lowest: var(--site-surface-container-lowest);
--color-surface-container-low: var(--site-surface-container-low);
--color-surface-container: var(--site-surface-container);
--color-surface-container-high: var(--site-surface-container-high);
--color-surface-container-highest: var(--site-surface-container-highest);
--color-surface-bright: var(--site-surface-bright);
--color-on-surface: var(--site-on-surface);
--color-on-surface-variant: var(--site-on-surface-variant);
--color-outline: var(--site-outline);
--color-outline-variant: var(--site-outline-variant);
--color-primary-container: var(--site-primary-container);
--color-on-primary-container: var(--site-on-primary-container);
--color-highlight: var(--site-highlight);
}
@theme {
--color-paj-crimson: #a31d24;
--font-display: 'Plus Jakarta Sans', ui-sans-serif, system-ui, sans-serif;
--text-display-lg: 3.5rem;
--text-display-lg--line-height: 4rem;
--text-display-lg--letter-spacing: -0.03em;
--text-headline-xl: 2.5rem;
--text-headline-xl--line-height: 3rem;
--text-headline-xl--letter-spacing: -0.02em;
--text-headline-lg: 2rem;
--text-headline-lg--line-height: 2.5rem;
--text-headline-lg--letter-spacing: -0.015em;
--text-headline-md: 1.5rem;
--text-headline-md--line-height: 2rem;
--text-headline-md--letter-spacing: -0.01em;
--text-headline-sm: 1.25rem;
--text-headline-sm--line-height: 1.75rem;
}
.probindo-site {
--site-background: #f6f7f9;
--site-surface: #ffffff;
--site-surface-container-lowest: #f7f8fa;
--site-surface-container-low: #ffffff;
--site-surface-container: #f2f4f7;
--site-surface-container-high: #eceef2;
--site-surface-container-highest: #e2e5eb;
--site-surface-bright: #e6e9ee;
--site-on-surface: #0f172a;
--site-on-surface-variant: #4b5563;
--site-outline: #8a9099;
--site-outline-variant: #d9c6c8;
--site-primary: #c81e2a;
--site-primary-container: #9e1b22;
--site-on-primary-container: #ffffff;
--site-highlight: #be123c;
/* Tokens the app (shadcn) UI also defines: override inside the site only. */
--color-background: var(--site-background);
--color-primary: var(--site-primary);
--font-sans: 'Manrope', ui-sans-serif, system-ui, sans-serif;
--font-mono: 'JetBrains Mono', ui-monospace, monospace;
--radius-sm: 0.125rem;
--radius-md: 0.375rem;
--radius-lg: 0.5rem;
color-scheme: light;
}
.dark .probindo-site {
--site-background: #0b0f17;
--site-surface: #0d121c;
--site-surface-container-lowest: #080c14;
--site-surface-container-low: #131824;
--site-surface-container: #171e2e;
--site-surface-container-high: #1f273b;
--site-surface-container-highest: #28324a;
--site-surface-bright: #333f5c;
--site-on-surface: #f1f3f9;
--site-on-surface-variant: #b5bece;
--site-outline: #8c4449;
--site-outline-variant: #4d2327;
--site-primary: #ff4d58;
--site-primary-container: #9e1b22;
--site-on-primary-container: #ffeceb;
--site-highlight: #fda4af;
color-scheme: dark;
}
html:has(.probindo-site) {
background-color: #f6f7f9;
scroll-behavior: smooth;
}
html.dark:has(.probindo-site) {
background-color: #0b0f17;
}
.probindo-site [id] {
scroll-margin-top: 5rem;
}
.probindo-site select {
appearance: none;
background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20'%3e%3cpath stroke='%234b5563' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='M6 8l4 4 4-4'/%3e%3c/svg%3e");
background-position: right 0.75rem center;
background-repeat: no-repeat;
background-size: 1.25em 1.25em;
padding-right: 2.5rem;
}
.dark .probindo-site select {
background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20'%3e%3cpath stroke='%23b5bece' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='M6 8l4 4 4-4'/%3e%3c/svg%3e");
}
.probindo-site input[type='checkbox'] {
accent-color: var(--site-primary-container);
}
:root {
/* Admin panel (shadcn) tokens, mapped to the Probindo palette. */
--background: #f6f7f9;
--foreground: #0f172a;
--card: #ffffff;
--card-foreground: #0f172a;
--popover: #ffffff;
--popover-foreground: #0f172a;
--primary: #9e1b22;
--primary-foreground: #ffffff;
--secondary: #f2f4f7;
--secondary-foreground: #0f172a;
--muted: #f2f4f7;
--muted-foreground: #4b5563;
--accent: #fbeced;
--accent-foreground: #9e1b22;
--destructive: #dc2626;
--destructive-foreground: #dc2626;
--border: #ebe1e2;
--input: #e2d6d7;
--ring: #c81e2a;
--chart-1: #9e1b22;
--chart-2: #c81e2a;
--chart-3: #fb7185;
--chart-4: #64748b;
--chart-5: #f59e0b;
--radius: 0.75rem;
--sidebar: #ffffff;
--sidebar-foreground: #0f172a;
--sidebar-primary: #9e1b22;
--sidebar-primary-foreground: #ffffff;
--sidebar-accent: #fbeced;
--sidebar-accent-foreground: #9e1b22;
--sidebar-border: #ebe1e2;
--sidebar-ring: #c81e2a;
}
.dark {
--background: #0b0f17;
--foreground: #f1f3f9;
--card: #131824;
--card-foreground: #f1f3f9;
--popover: #131824;
--popover-foreground: #f1f3f9;
--primary: #b81f28;
--primary-foreground: #ffffff;
--secondary: #1f273b;
--secondary-foreground: #f1f3f9;
--muted: #171e2e;
--muted-foreground: #b5bece;
--accent: #2a1a22;
--accent-foreground: #fda4af;
--destructive: #7f1d1d;
--destructive-foreground: #fca5a5;
--border: #262d3d;
--input: #2e3648;
--ring: #ff4d58;
--chart-1: #ff4d58;
--chart-2: #fda4af;
--chart-3: #b81f28;
--chart-4: #94a3b8;
--chart-5: #fbbf24;
--sidebar: #0d121c;
--sidebar-foreground: #f1f3f9;
--sidebar-primary: #b81f28;
--sidebar-primary-foreground: #ffffff;
--sidebar-accent: #1f273b;
--sidebar-accent-foreground: #f1f3f9;
--sidebar-border: #1f273b;
--sidebar-ring: #ff4d58;
}
@layer base {
* {
@apply border-border;
}
body {
@apply bg-background text-foreground;
}
}