270 lines
9.0 KiB
CSS
270 lines
9.0 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:
|
|
'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);
|
|
}
|
|
|
|
/*
|
|
* 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 {
|
|
--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);
|
|
--destructive-foreground: oklch(0.577 0.245 27.325);
|
|
--border: oklch(0.922 0 0);
|
|
--input: oklch(0.922 0 0);
|
|
--ring: oklch(0.87 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);
|
|
--radius: 0.625rem;
|
|
--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.87 0 0);
|
|
}
|
|
|
|
.dark {
|
|
--background: oklch(0.145 0 0);
|
|
--foreground: oklch(0.985 0 0);
|
|
--card: oklch(0.145 0 0);
|
|
--card-foreground: oklch(0.985 0 0);
|
|
--popover: oklch(0.145 0 0);
|
|
--popover-foreground: oklch(0.985 0 0);
|
|
--primary: oklch(0.985 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.396 0.141 25.723);
|
|
--destructive-foreground: oklch(0.637 0.237 25.331);
|
|
--border: oklch(0.269 0 0);
|
|
--input: oklch(0.269 0 0);
|
|
--ring: oklch(0.439 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.985 0 0);
|
|
--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(0.269 0 0);
|
|
--sidebar-ring: oklch(0.439 0 0);
|
|
}
|
|
|
|
@layer base {
|
|
* {
|
|
@apply border-border;
|
|
}
|
|
|
|
body {
|
|
@apply bg-background text-foreground;
|
|
}
|
|
}
|