Publish Docker image / build-and-push (push) Successful in 2m6s
- Changed the main entry point from main.jsx to main.tsx for TypeScript support. - Removed Tabler JS import and integrated Tailwind CSS for styling. - Updated package.json and package-lock.json to include new dependencies such as @fontsource-variable/geist and tailwindcss, while removing unused ones. - Enhanced Vite configuration with path aliasing for improved import management. - Deleted unused App.css and App.jsx files to streamline the project structure. Made-with: Cursor
623 lines
18 KiB
CSS
623 lines
18 KiB
CSS
@import "tailwindcss";
|
|
@import "tw-animate-css";
|
|
@import "shadcn/tailwind.css";
|
|
@import "@fontsource-variable/geist";
|
|
|
|
@custom-variant dark (&:is(.dark *));
|
|
|
|
@theme inline {
|
|
--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-border: var(--border);
|
|
--color-input: var(--input);
|
|
--color-ring: var(--ring);
|
|
--radius-sm: calc(var(--radius) * 0.6);
|
|
--radius-md: calc(var(--radius) * 0.8);
|
|
--radius-lg: var(--radius);
|
|
--radius-xl: calc(var(--radius) * 1.4);
|
|
}
|
|
|
|
: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);
|
|
}
|
|
|
|
.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);
|
|
}
|
|
|
|
@layer base {
|
|
* {
|
|
@apply border-border outline-ring/50;
|
|
}
|
|
|
|
body {
|
|
@apply bg-background text-foreground;
|
|
}
|
|
}
|
|
|
|
/* Using Bootstrap styles, this file can be empty or used for custom global styles. */
|
|
|
|
/* Sticky footer helpers */
|
|
.page { min-height: 100vh; display: flex; flex-direction: column; }
|
|
.footer { margin-top: auto; }
|
|
|
|
/* Table selected row styling */
|
|
.table-selected {
|
|
background-color: rgba(32, 107, 196, 0.08) !important;
|
|
}
|
|
.table-selected:hover {
|
|
background-color: rgba(32, 107, 196, 0.12) !important;
|
|
}
|
|
|
|
/* ===== Tabler visual consistency (global overrides) ===== */
|
|
:root {
|
|
--app-gap-xs: .25rem;
|
|
--app-gap-sm: .5rem;
|
|
--app-gap-md: .75rem;
|
|
--app-gap-lg: 1rem;
|
|
|
|
/* Semantic colors for statuses */
|
|
--status-online: #2fb344;
|
|
--status-offline: #d63939;
|
|
--status-warning: #f59f00;
|
|
--status-unknown: #868e96;
|
|
|
|
/* Accent colors for important actions */
|
|
--accent-primary: #206bc4;
|
|
--accent-danger: #d63939;
|
|
--accent-success: #2fb344;
|
|
--accent-info: #4299e1;
|
|
--accent-warning: #f59f00;
|
|
|
|
/* Enhanced spacing scale */
|
|
--space-xs: 0.25rem;
|
|
--space-sm: 0.5rem;
|
|
--space-md: 1rem;
|
|
--space-lg: 1.5rem;
|
|
--space-xl: 2rem;
|
|
--space-xxl: 3rem;
|
|
|
|
/* Shadow scale */
|
|
--shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.05);
|
|
--shadow-md: 0 2px 8px rgba(0, 0, 0, 0.1);
|
|
--shadow-lg: 0 4px 16px rgba(0, 0, 0, 0.15);
|
|
--shadow-xl: 0 8px 32px rgba(0, 0, 0, 0.2);
|
|
--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.87 0 0);
|
|
--chart-2: oklch(0.556 0 0);
|
|
--chart-3: oklch(0.439 0 0);
|
|
--chart-4: oklch(0.371 0 0);
|
|
--chart-5: oklch(0.269 0 0);
|
|
--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.708 0 0);
|
|
}
|
|
|
|
/* ===== Improved Typography ===== */
|
|
.page-title {
|
|
font-size: 1.75rem;
|
|
font-weight: 700;
|
|
letter-spacing: -0.025em;
|
|
line-height: 1.2;
|
|
}
|
|
|
|
.card-title {
|
|
font-size: 1.125rem;
|
|
font-weight: 600;
|
|
line-height: 1.4;
|
|
}
|
|
|
|
.table td {
|
|
line-height: 1.6;
|
|
}
|
|
|
|
/* ===== Improved Spacing ===== */
|
|
.page-header {
|
|
margin-bottom: var(--space-xl);
|
|
}
|
|
|
|
.card + .card {
|
|
margin-top: var(--space-lg);
|
|
}
|
|
|
|
.table td, .table th {
|
|
padding: 0.75rem 1rem;
|
|
}
|
|
|
|
/* Header actions under page header */
|
|
.page-header .header-actions {
|
|
display: flex;
|
|
flex-wrap: wrap;
|
|
gap: var(--app-gap-sm);
|
|
}
|
|
.page-header .header-actions .btn-group { margin-right: var(--app-gap-sm); }
|
|
.page-header .vr { margin: 0 var(--app-gap-sm); }
|
|
|
|
/* Buttons: icon spacing left */
|
|
.btn .icon { margin-right: .375rem; }
|
|
.btn.btn-icon .icon { margin-right: 0; }
|
|
|
|
/* Tables: remove hover background for rows (as per project preference) */
|
|
.table tbody tr:hover { background-color: transparent; }
|
|
/* Центровка контента ячеек и компактный вид */
|
|
.table.card-table th, .table.card-table td { vertical-align: middle; }
|
|
|
|
/* Compact card spacing */
|
|
.card.card-md { margin-bottom: var(--app-gap-lg); }
|
|
|
|
/* Utilities used in components */
|
|
.cursor-pointer { cursor: pointer; }
|
|
.border-dashed { border: 2px dashed rgba(0,0,0,.08); }
|
|
.transition { transition: all .2s ease; }
|
|
.rotate-180 { transform: rotate(180deg); }
|
|
|
|
/* Input icon alignment tweaks */
|
|
.input-icon .input-icon-addon { display: flex; align-items: center; }
|
|
|
|
/* Modal close button click area */
|
|
.modal .btn-close { position: absolute; right: .75rem; top: .75rem; }
|
|
|
|
/* Фильтры: удобная ширина селектов */
|
|
.form-select.w-auto { min-width: 180px; }
|
|
|
|
/* Икон-кнопки одинакового размера */
|
|
.btn.btn-icon.btn-sm { width: 2rem; height: 2rem; display: inline-flex; align-items: center; justify-content: center; }
|
|
|
|
/* Отступы между бейджами и в empty-action */
|
|
.badge + .badge { margin-left: .25rem; }
|
|
.empty .empty-action .btn + .btn { margin-left: .5rem; }
|
|
|
|
/* ===== Enhanced Interactive Elements ===== */
|
|
/* Better hover states */
|
|
.btn:not(:disabled):hover {
|
|
transform: translateY(-1px);
|
|
box-shadow: var(--shadow-md);
|
|
transition: all 0.2s ease;
|
|
}
|
|
|
|
.btn:not(:disabled):active {
|
|
transform: translateY(0);
|
|
transition: all 0.1s ease;
|
|
}
|
|
|
|
/* Card hover effects */
|
|
.card.card-hover {
|
|
transition: all 0.2s ease;
|
|
cursor: pointer;
|
|
}
|
|
|
|
.card.card-hover:hover {
|
|
transform: translateY(-2px);
|
|
box-shadow: var(--shadow-lg);
|
|
}
|
|
|
|
/* Better focus states for accessibility */
|
|
*:focus-visible {
|
|
outline: 3px solid var(--accent-primary);
|
|
outline-offset: 3px;
|
|
border-radius: 3px;
|
|
}
|
|
|
|
button:focus-visible,
|
|
.btn:focus-visible {
|
|
box-shadow: 0 0 0 3px rgba(32, 107, 196, 0.3);
|
|
}
|
|
|
|
/* Badge animations */
|
|
.badge {
|
|
transition: all 0.2s ease;
|
|
}
|
|
|
|
.badge:hover {
|
|
transform: scale(1.05);
|
|
}
|
|
|
|
/* Minimum touch target size for mobile (Tabler / a11y) */
|
|
@media (max-width: 768px) {
|
|
.btn:not(.btn-icon), .page-link, .dropdown-item {
|
|
min-height: 44px;
|
|
padding-top: 0.5rem;
|
|
padding-bottom: 0.5rem;
|
|
display: inline-flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
}
|
|
|
|
.btn-icon {
|
|
min-width: 44px;
|
|
min-height: 44px;
|
|
width: 44px;
|
|
height: 44px;
|
|
}
|
|
|
|
.navbar-toggler {
|
|
min-width: 44px;
|
|
min-height: 44px;
|
|
padding: 0.5rem;
|
|
}
|
|
}
|
|
|
|
/* Enhanced table row interactions */
|
|
.table tbody tr {
|
|
transition: background-color 0.15s ease;
|
|
}
|
|
|
|
.table tbody tr:hover {
|
|
background-color: rgba(32, 107, 196, 0.04);
|
|
}
|
|
|
|
.table tbody tr:focus-within {
|
|
background-color: rgba(32, 107, 196, 0.08);
|
|
box-shadow: inset 3px 0 0 var(--accent-primary);
|
|
}
|
|
|
|
/* Loading state improvements */
|
|
.btn.loading {
|
|
position: relative;
|
|
pointer-events: none;
|
|
}
|
|
|
|
.btn.loading::before {
|
|
content: '';
|
|
position: absolute;
|
|
top: 50%;
|
|
left: 50%;
|
|
width: 100%;
|
|
height: 100%;
|
|
border-radius: inherit;
|
|
background: rgba(255, 255, 255, 0.2);
|
|
transform: translate(-50%, -50%);
|
|
animation: pulse-button 1.5s infinite;
|
|
}
|
|
|
|
@keyframes pulse-button {
|
|
0%, 100% {
|
|
opacity: 0;
|
|
transform: translate(-50%, -50%) scale(1);
|
|
}
|
|
50% {
|
|
opacity: 1;
|
|
transform: translate(-50%, -50%) scale(1.05);
|
|
}
|
|
}
|
|
|
|
/* ===== Animations ===== */
|
|
@keyframes fadeIn {
|
|
from {
|
|
opacity: 0;
|
|
transform: translateY(10px);
|
|
}
|
|
to {
|
|
opacity: 1;
|
|
transform: translateY(0);
|
|
}
|
|
}
|
|
|
|
.animate-in {
|
|
animation: fadeIn 0.4s ease both;
|
|
}
|
|
|
|
/* ===== Statistics Cards ===== */
|
|
.card-sm .avatar {
|
|
width: 3rem;
|
|
height: 3rem;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
border-radius: var(--tblr-border-radius);
|
|
}
|
|
|
|
.card-sm .h2 {
|
|
font-size: 1.5rem;
|
|
font-weight: 600;
|
|
line-height: 1.2;
|
|
}
|
|
|
|
/* ===== Form Improvements ===== */
|
|
.form-label.required::after {
|
|
content: ' *';
|
|
color: var(--tblr-danger);
|
|
}
|
|
|
|
.input-icon {
|
|
position: relative;
|
|
}
|
|
|
|
.input-icon .input-icon-addon {
|
|
position: absolute;
|
|
left: 0.5rem;
|
|
top: 50%;
|
|
transform: translateY(-50%);
|
|
z-index: 1;
|
|
color: var(--tblr-muted);
|
|
}
|
|
|
|
.input-icon .form-control,
|
|
.input-icon .form-select {
|
|
padding-left: 2.5rem;
|
|
}
|
|
|
|
.input-icon .form-control:focus ~ .input-icon-addon,
|
|
.input-icon .form-select:focus ~ .input-icon-addon {
|
|
color: var(--tblr-primary);
|
|
}
|
|
|
|
/* Кнопка очистки поиска */
|
|
.input-icon .btn-icon {
|
|
position: absolute;
|
|
right: 0.25rem;
|
|
top: 50%;
|
|
transform: translateY(-50%);
|
|
z-index: 2;
|
|
}
|
|
|
|
/* ===== Table Improvements (Tabler + UX) ===== */
|
|
.table thead th {
|
|
font-weight: 600;
|
|
text-transform: uppercase;
|
|
font-size: 0.75rem;
|
|
letter-spacing: 0.05em;
|
|
color: var(--tblr-muted);
|
|
border-bottom: 2px solid var(--tblr-border-color);
|
|
}
|
|
|
|
.table tbody tr {
|
|
border-bottom: 1px solid var(--tblr-border-color);
|
|
}
|
|
|
|
.table tbody tr:last-child {
|
|
border-bottom: none;
|
|
}
|
|
|
|
.table tbody tr.table-active {
|
|
background-color: rgba(32, 107, 196, 0.1);
|
|
}
|
|
|
|
/* Колонка «Действия» — фиксированная ширина, не сжимается (лаконичный UX) */
|
|
.table .td-actions {
|
|
min-width: 140px;
|
|
white-space: nowrap;
|
|
}
|
|
|
|
/* Группы кнопок в таблицах: «слитые» Tabler-style action buttons */
|
|
.table .btn-group.btn-group-sm {
|
|
gap: 0;
|
|
}
|
|
|
|
.table .btn-group.btn-group-sm .btn {
|
|
border-radius: 0;
|
|
}
|
|
|
|
.table .btn-group.btn-group-sm .btn + .btn {
|
|
margin-left: -1px; /* убираем двойную границу между кнопками */
|
|
}
|
|
|
|
.table .btn-group.btn-group-sm .btn:first-child {
|
|
border-top-left-radius: .375rem;
|
|
border-bottom-left-radius: .375rem;
|
|
}
|
|
|
|
.table .btn-group.btn-group-sm .btn:last-child {
|
|
border-top-right-radius: .375rem;
|
|
border-bottom-right-radius: .375rem;
|
|
}
|
|
|
|
/* Выбранная строка поверх zebra (table-striped) */
|
|
.table-striped tbody tr.table-selected > * {
|
|
--tblr-table-bg-type: rgba(32, 107, 196, 0.08);
|
|
}
|
|
.table-striped tbody tr.table-selected:hover > * {
|
|
--tblr-table-bg-type: rgba(32, 107, 196, 0.12);
|
|
}
|
|
|
|
/* ===== Table flat (без карточной подложки, как UniFi) ===== */
|
|
/* Только горизонтальные разделители, thead темнее, без вертикальных границ */
|
|
.table-flat {
|
|
--tblr-table-border-color: var(--tblr-border-color);
|
|
background: transparent;
|
|
}
|
|
.table-flat thead th {
|
|
font-weight: 600;
|
|
border-top: none;
|
|
border-left: none;
|
|
border-right: none;
|
|
border-bottom: 1px solid var(--tblr-table-border-color);
|
|
background: var(--tblr-bg-surface-secondary, rgba(0, 0, 0, 0.03));
|
|
color: var(--tblr-body-color);
|
|
padding: 0.75rem 1rem;
|
|
white-space: nowrap;
|
|
}
|
|
.table-flat tbody td {
|
|
border-top: none;
|
|
border-left: none;
|
|
border-right: none;
|
|
border-bottom: 1px solid var(--tblr-table-border-color);
|
|
background: transparent;
|
|
padding: 0.75rem 1rem;
|
|
vertical-align: middle;
|
|
}
|
|
.table-flat tbody tr:hover td {
|
|
background: var(--tblr-bg-surface-tertiary, rgba(0, 0, 0, 0.02));
|
|
}
|
|
.table-flat tbody tr.table-selected td,
|
|
.table-flat tbody tr.table-active td {
|
|
background: rgba(32, 107, 196, 0.08);
|
|
}
|
|
.table-flat tbody tr.table-selected:hover td,
|
|
.table-flat tbody tr.table-active:hover td {
|
|
background: rgba(32, 107, 196, 0.12);
|
|
}
|
|
/* В тёмной теме — чуть другие оттенки для thead */
|
|
[data-bs-theme="dark"] .table-flat thead th {
|
|
background: rgba(255, 255, 255, 0.06);
|
|
}
|
|
[data-bs-theme="dark"] .table-flat tbody tr:hover td {
|
|
background: rgba(255, 255, 255, 0.04);
|
|
}
|
|
[data-bs-theme="dark"] .table-flat tbody tr.table-selected td,
|
|
[data-bs-theme="dark"] .table-flat tbody tr.table-active td {
|
|
background: rgba(32, 107, 196, 0.15);
|
|
}
|
|
|
|
.user-select-none {
|
|
user-select: none;
|
|
-webkit-user-select: none;
|
|
-moz-user-select: none;
|
|
-ms-user-select: none;
|
|
}
|
|
|
|
/* ===== Pagination Improvements ===== */
|
|
.pagination .page-link {
|
|
min-width: 2.5rem;
|
|
text-align: center;
|
|
transition: all 0.2s ease;
|
|
}
|
|
|
|
.pagination .page-item.active .page-link {
|
|
font-weight: 600;
|
|
}
|
|
|
|
/* ===== Card Header Improvements ===== */
|
|
.card-header.bg-primary-lt {
|
|
background-color: rgba(32, 107, 196, 0.1);
|
|
border-bottom: 1px solid rgba(32, 107, 196, 0.2);
|
|
}
|
|
|
|
/* ===== Responsive Improvements ===== */
|
|
@media (min-width: 576px) {
|
|
.w-sm-auto { width: auto !important; }
|
|
}
|
|
@media (max-width: 768px) {
|
|
.card-sm .avatar,
|
|
.card .avatar.avatar-lg {
|
|
width: 2.5rem;
|
|
height: 2.5rem;
|
|
}
|
|
|
|
.card-sm .h2,
|
|
.card .h3.mb-0 {
|
|
font-size: 1.25rem;
|
|
}
|
|
|
|
.table-responsive {
|
|
font-size: 0.875rem;
|
|
overflow-x: auto;
|
|
-webkit-overflow-scrolling: touch;
|
|
}
|
|
.table-responsive .table {
|
|
margin-bottom: 0;
|
|
}
|
|
.table-responsive .table th,
|
|
.table-responsive .table td {
|
|
white-space: nowrap;
|
|
}
|
|
|
|
.btn-group {
|
|
flex-wrap: wrap;
|
|
}
|
|
|
|
.page-title {
|
|
font-size: 1.35rem;
|
|
}
|
|
|
|
.page-header .header-actions {
|
|
width: 100%;
|
|
}
|
|
|
|
/* Карточки и ряды: компактные отступы на мобильных */
|
|
.row.g-3 { --bs-gutter-x: 0.5rem; --bs-gutter-y: 0.5rem; }
|
|
.card-title { font-size: 1rem; }
|
|
.card-header { padding: 0.5rem 0.75rem; }
|
|
}
|
|
|
|
/* Универсальные мобильные колонки: явный full-width ниже md */
|
|
@media (max-width: 767.98px) {
|
|
.row .col-md-4:not([class*="col-12"]):not([class*="col-sm"]),
|
|
.row .col-md-6:not([class*="col-12"]):not([class*="col-sm"]) {
|
|
flex: 0 0 100%;
|
|
max-width: 100%;
|
|
}
|
|
}
|
|
|
|
@theme inline { --font-heading: var(--font-sans); --font-sans: 'Geist Variable', sans-serif; --color-sidebar-ring: var(--sidebar-ring); --color-sidebar-border: var(--sidebar-border); --color-sidebar-accent-foreground: var(--sidebar-accent-foreground); --color-sidebar-accent: var(--sidebar-accent); --color-sidebar-primary-foreground: var(--sidebar-primary-foreground); --color-sidebar-primary: var(--sidebar-primary); --color-sidebar-foreground: var(--sidebar-foreground); --color-sidebar: var(--sidebar); --color-chart-5: var(--chart-5); --color-chart-4: var(--chart-4); --color-chart-3: var(--chart-3); --color-chart-2: var(--chart-2); --color-chart-1: var(--chart-1); --color-ring: var(--ring); --color-input: var(--input); --color-border: var(--border); --color-destructive: var(--destructive); --color-accent-foreground: var(--accent-foreground); --color-accent: var(--accent); --color-muted-foreground: var(--muted-foreground); --color-muted: var(--muted); --color-secondary-foreground: var(--secondary-foreground); --color-secondary: var(--secondary); --color-primary-foreground: var(--primary-foreground); --color-primary: var(--primary); --color-popover-foreground: var(--popover-foreground); --color-popover: var(--popover); --color-card-foreground: var(--card-foreground); --color-card: var(--card); --color-foreground: var(--foreground); --color-background: var(--background); --radius-sm: calc(var(--radius) * 0.6); --radius-md: calc(var(--radius) * 0.8); --radius-lg: var(--radius); --radius-xl: calc(var(--radius) * 1.4); --radius-2xl: calc(var(--radius) * 1.8); --radius-3xl: calc(var(--radius) * 2.2); --radius-4xl: calc(var(--radius) * 2.6); }
|
|
|
|
.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.87 0 0); --chart-2: oklch(0.556 0 0); --chart-3: oklch(0.439 0 0); --chart-4: oklch(0.371 0 0); --chart-5: oklch(0.269 0 0); --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); }
|
|
|
|
@layer base {
|
|
* {
|
|
@apply border-border outline-ring/50; }
|
|
body {
|
|
@apply bg-background text-foreground; }
|
|
html {
|
|
@apply font-sans; } } |