135 lines
3.2 KiB
CSS
135 lines
3.2 KiB
CSS
@import "tailwindcss";
|
|
|
|
@theme inline {
|
|
--font-sans: var(--font-geist-sans);
|
|
--font-mono: var(--font-geist-mono);
|
|
|
|
/* Primary — Hijau Gunung #16A34A */
|
|
--color-primary-50: #f0fdf4;
|
|
--color-primary-100: #dcfce7;
|
|
--color-primary-200: #bbf7d0;
|
|
--color-primary-300: #86efac;
|
|
--color-primary-400: #4ade80;
|
|
--color-primary-500: #22c55e;
|
|
--color-primary-600: #16a34a;
|
|
--color-primary-700: #15803d;
|
|
--color-primary-800: #166534;
|
|
--color-primary-900: #14532d;
|
|
|
|
/* Secondary — Biru Langit #0EA5E9 */
|
|
--color-secondary-50: #f0f9ff;
|
|
--color-secondary-100: #e0f2fe;
|
|
--color-secondary-200: #bae6fd;
|
|
--color-secondary-300: #7dd3fc;
|
|
--color-secondary-400: #38bdf8;
|
|
--color-secondary-500: #0ea5e9;
|
|
--color-secondary-600: #0284c7;
|
|
--color-secondary-700: #0369a1;
|
|
--color-secondary-800: #075985;
|
|
--color-secondary-900: #0c4a6e;
|
|
|
|
/* Neutral — Abu Gelap #1F2937 */
|
|
--color-neutral-50: #f9fafb;
|
|
--color-neutral-100: #f3f4f6;
|
|
--color-neutral-200: #e5e7eb;
|
|
--color-neutral-300: #d1d5db;
|
|
--color-neutral-400: #9ca3af;
|
|
--color-neutral-500: #6b7280;
|
|
--color-neutral-600: #4b5563;
|
|
--color-neutral-700: #374151;
|
|
--color-neutral-800: #1f2937;
|
|
--color-neutral-900: #111827;
|
|
}
|
|
|
|
body {
|
|
background-color: #f9fafb;
|
|
color: #1f2937;
|
|
font-family: var(--font-sans), system-ui, sans-serif;
|
|
}
|
|
|
|
/* Focus ring global */
|
|
input:focus,
|
|
textarea:focus,
|
|
select:focus {
|
|
outline: none;
|
|
border-color: #16a34a;
|
|
box-shadow: 0 0 0 3px rgba(22, 163, 74, 0.15);
|
|
}
|
|
|
|
/* react-datepicker theme overrides */
|
|
.react-datepicker {
|
|
font-family: inherit !important;
|
|
border: 1px solid #e5e7eb !important;
|
|
border-radius: 1rem !important;
|
|
box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.1) !important;
|
|
}
|
|
|
|
.react-datepicker__header {
|
|
background: #f9fafb !important;
|
|
border-bottom: 1px solid #e5e7eb !important;
|
|
border-radius: 1rem 1rem 0 0 !important;
|
|
padding-top: 12px !important;
|
|
}
|
|
|
|
.react-datepicker__current-month {
|
|
font-weight: 700 !important;
|
|
color: #1f2937 !important;
|
|
font-size: 0.875rem !important;
|
|
}
|
|
|
|
.react-datepicker__day-name {
|
|
color: #6b7280 !important;
|
|
font-weight: 500 !important;
|
|
font-size: 0.75rem !important;
|
|
}
|
|
|
|
.react-datepicker__day {
|
|
border-radius: 0.5rem !important;
|
|
font-size: 0.8125rem !important;
|
|
color: #1f2937 !important;
|
|
}
|
|
|
|
.react-datepicker__day:hover {
|
|
background: #dcfce7 !important;
|
|
color: #15803d !important;
|
|
}
|
|
|
|
.react-datepicker__day--selected,
|
|
.react-datepicker__day--range-start,
|
|
.react-datepicker__day--range-end {
|
|
background: #16a34a !important;
|
|
color: #fff !important;
|
|
}
|
|
|
|
.react-datepicker__day--in-range,
|
|
.react-datepicker__day--in-selecting-range {
|
|
background: #dcfce7 !important;
|
|
color: #166534 !important;
|
|
}
|
|
|
|
.react-datepicker__day--keyboard-selected {
|
|
background: #bbf7d0 !important;
|
|
color: #166534 !important;
|
|
}
|
|
|
|
.react-datepicker__day--disabled {
|
|
color: #d1d5db !important;
|
|
}
|
|
|
|
.react-datepicker__navigation-icon::before {
|
|
border-color: #6b7280 !important;
|
|
}
|
|
|
|
.react-datepicker__navigation:hover *::before {
|
|
border-color: #16a34a !important;
|
|
}
|
|
|
|
.react-datepicker__close-icon::after {
|
|
background-color: #9ca3af !important;
|
|
font-size: 14px !important;
|
|
}
|
|
|
|
.react-datepicker__close-icon:hover::after {
|
|
background-color: #16a34a !important;
|
|
}
|