- Added `mary.php` configuration file for customizable component and route prefixes. - Upgraded `livewire/livewire` to v4.3 and added `robsontenorio/mary` v2.8 for maryUI support. - Updated `ConnectedApps` component to fetch data dynamically via `ConnectedAppService`. - Replaced static services with computed properties and streamlined data mappings in templates. - Enhanced frontend styling with `daisyUI` and TailwindCSS v4.3 integration. - Improved user feedback in `ConnectedAppForm` with success/error toasts.
133 lines
3.5 KiB
CSS
133 lines
3.5 KiB
CSS
@import 'tailwindcss';
|
|
@import '../../vendor/livewire/flux/dist/flux.css';
|
|
|
|
@source '../views';
|
|
@source '../../vendor/laravel/framework/src/Illuminate/Pagination/resources/views/*.blade.php';
|
|
@source '../../vendor/livewire/flux-pro/stubs/**/*.blade.php';
|
|
@source '../../vendor/livewire/flux/stubs/**/*.blade.php';
|
|
|
|
@custom-variant dark (&:where(.dark, .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';
|
|
|
|
--color-zinc-50: #fafafa;
|
|
--color-zinc-100: #f5f5f5;
|
|
--color-zinc-200: #e5e5e5;
|
|
--color-zinc-300: #d4d4d4;
|
|
--color-zinc-400: #a3a3a3;
|
|
--color-zinc-500: #737373;
|
|
--color-zinc-600: #525252;
|
|
--color-zinc-700: #404040;
|
|
--color-zinc-800: #262626;
|
|
--color-zinc-900: #171717;
|
|
--color-zinc-950: #0a0a0a;
|
|
|
|
--color-accent: var(--color-neutral-800);
|
|
--color-accent-content: var(--color-neutral-800);
|
|
--color-accent-foreground: var(--color-white);
|
|
}
|
|
|
|
@layer theme {
|
|
.dark {
|
|
--color-accent: var(--color-white);
|
|
--color-accent-content: var(--color-white);
|
|
--color-accent-foreground: var(--color-neutral-800);
|
|
}
|
|
}
|
|
|
|
@layer base {
|
|
|
|
*,
|
|
::after,
|
|
::before,
|
|
::backdrop,
|
|
::file-selector-button {
|
|
border-color: var(--color-gray-200, currentColor);
|
|
}
|
|
}
|
|
|
|
[data-flux-field]:not(ui-radio, ui-checkbox) {
|
|
@apply grid gap-2;
|
|
}
|
|
|
|
[data-flux-label] {
|
|
@apply !mb-0 !leading-tight;
|
|
}
|
|
|
|
input:focus[data-flux-control],
|
|
textarea:focus[data-flux-control],
|
|
select:focus[data-flux-control] {
|
|
@apply outline-hidden ring-2 ring-accent ring-offset-2 ring-offset-accent-foreground;
|
|
}
|
|
|
|
/* \[:where(&)\]:size-4 {
|
|
@apply size-4;
|
|
} */
|
|
|
|
|
|
/**
|
|
The lines above are intact.
|
|
The lines below were added by maryUI installer.
|
|
*/
|
|
|
|
/** daisyUI */
|
|
@plugin "daisyui" {
|
|
themes: light --default
|
|
}
|
|
|
|
@plugin "daisyui/theme" {
|
|
name: "light";
|
|
default: true;
|
|
prefersdark: false;
|
|
color-scheme: "light";
|
|
--color-base-100: oklch(100% 0 0);
|
|
--color-base-200: oklch(98% 0 0);
|
|
--color-base-300: oklch(95% 0 0);
|
|
--color-base-content: oklch(21% 0.006 285.885);
|
|
--color-primary: oklch(54% 0.245 262.881);
|
|
--color-primary-content: oklch(97% 0.014 254.604);
|
|
--color-secondary: oklch(65% 0.241 354.308);
|
|
--color-secondary-content: oklch(94% 0.028 342.258);
|
|
--color-accent: oklch(77% 0.152 181.912);
|
|
--color-accent-content: oklch(38% 0.063 188.416);
|
|
--color-neutral: oklch(14% 0.005 285.823);
|
|
--color-neutral-content: oklch(92% 0.004 286.32);
|
|
--color-info: oklch(74% 0.16 232.661);
|
|
--color-info-content: oklch(29% 0.066 243.157);
|
|
--color-success: oklch(76% 0.177 163.223);
|
|
--color-success-content: oklch(37% 0.077 168.94);
|
|
--color-warning: oklch(82% 0.189 84.429);
|
|
--color-warning-content: oklch(41% 0.112 45.904);
|
|
--color-error: oklch(71% 0.194 13.428);
|
|
--color-error-content: oklch(27% 0.105 12.094);
|
|
--radius-selector: 0.5rem;
|
|
--radius-field: 0.5rem;
|
|
--radius-box: 1rem;
|
|
--size-selector: 0.25rem;
|
|
--size-field: 0.25rem;
|
|
--border: 1px;
|
|
--depth: 0;
|
|
--noise: 0;
|
|
}
|
|
|
|
|
|
/* maryUI */
|
|
@source "../../vendor/robsontenorio/mary/src/View/Components/**/*.php";
|
|
|
|
/* Theme toggle */
|
|
@custom-variant dark (&:where(.dark, .dark *));
|
|
|
|
/**
|
|
* Paginator - Traditional style
|
|
* Because Laravel defaults does not match well the design of daisyUI.
|
|
*/
|
|
|
|
.mary-table-pagination span[aria-current="page"] > span {
|
|
@apply bg-primary text-base-100
|
|
}
|
|
|
|
.mary-table-pagination button {
|
|
@apply cursor-pointer
|
|
}
|