diff --git a/assets/css/app.css b/assets/css/app.css index 72ec14e9..c644d401 100644 --- a/assets/css/app.css +++ b/assets/css/app.css @@ -6,74 +6,6 @@ @source "../js"; @source "../../lib/towerops_web"; -/* ── Custom color palette ── */ -@theme { - --color-sweet-salmon-50: #ffe7e6; - --color-sweet-salmon-100: #fed0cd; - --color-sweet-salmon-200: #fea19a; - --color-sweet-salmon-300: #fd7268; - --color-sweet-salmon-400: #fd4235; - --color-sweet-salmon-500: #fc1303; - --color-sweet-salmon-600: #ca0f02; - --color-sweet-salmon-700: #970c02; - --color-sweet-salmon-800: #650801; - --color-sweet-salmon-900: #320401; - --color-sweet-salmon-950: #230300; - - --color-desert-sand-50: #faf0eb; - --color-desert-sand-100: #f5e2d6; - --color-desert-sand-200: #ebc5ad; - --color-desert-sand-300: #e0a885; - --color-desert-sand-400: #d68b5c; - --color-desert-sand-500: #cc6e33; - --color-desert-sand-600: #a35829; - --color-desert-sand-700: #7a421f; - --color-desert-sand-800: #522c14; - --color-desert-sand-900: #29160a; - --color-desert-sand-950: #1d0f07; - - --color-wheat-50: #faf4eb; - --color-wheat-100: #f5e9d6; - --color-wheat-200: #ebd3ad; - --color-wheat-300: #e0bd85; - --color-wheat-400: #d6a75c; - --color-wheat-500: #cc9133; - --color-wheat-600: #a37429; - --color-wheat-700: #7a571f; - --color-wheat-800: #523a14; - --color-wheat-900: #291d0a; - --color-wheat-950: #1d1407; - - --color-cool-steel-50: #f0f3f4; - --color-cool-steel-100: #e1e7ea; - --color-cool-steel-200: #c4cfd4; - --color-cool-steel-300: #a6b7bf; - --color-cool-steel-400: #89a0a9; - --color-cool-steel-500: #6b8894; - --color-cool-steel-600: #566d76; - --color-cool-steel-700: #405159; - --color-cool-steel-800: #2b363b; - --color-cool-steel-900: #151b1e; - --color-cool-steel-950: #0f1315; - - --color-cerulean-50: #edf4f8; - --color-cerulean-100: #dbe9f0; - --color-cerulean-200: #b6d3e2; - --color-cerulean-300: #92bcd3; - --color-cerulean-400: #6da6c5; - --color-cerulean-500: #4990b6; - --color-cerulean-600: #3a7392; - --color-cerulean-700: #2c566d; - --color-cerulean-800: #1d3a49; - --color-cerulean-900: #0f1d24; - --color-cerulean-950: #0a141a; - - /* Design tokens (replaces daisyUI semantic variables) */ - --radius-selector: 0.25rem; - --radius-field: 0.25rem; - --radius-box: 0.5rem; -} - /* Heroicons plugin */ @plugin "../vendor/heroicons"; @@ -89,14 +21,14 @@ /* Card — replaces daisyUI `card card-body bg-base-100 border-base-200` */ @utility card { - border-radius: var(--radius-box); - border: 1px solid var(--color-cool-steel-200); - background: var(--color-cool-steel-50); + border-radius: 0.5rem; + border: 1px solid #e5e7eb; + background: #f9fafb; padding: 1.5rem; } [data-theme="dark"] .card { - border-color: var(--color-cool-steel-700); - background: var(--color-cool-steel-900); + border-color: #374151; + background: #111827; } /* Badge — replaces daisyUI `badge` */ @@ -116,7 +48,7 @@ display: inline-flex; align-items: center; gap: 0.5rem; - border-radius: var(--radius-field); + border-radius: 0.25rem; padding-inline: 1rem; padding-block: 0.5rem; font-size: 0.875rem; @@ -124,13 +56,13 @@ line-height: 1.25rem; cursor: pointer; border: 1px solid transparent; - background: var(--color-cool-steel-200); - color: var(--color-cool-steel-900); + background: #e5e7eb; + color: #111827; transition: color 0.15s ease, background-color 0.15s ease, border-color 0.15s ease; } [data-theme="dark"] .btn { - background: var(--color-cool-steel-700); - color: var(--color-cool-steel-50); + background: #374151; + color: #f9fafb; } /* ── Base element styles (replaces daisyUI resets) ── */ @@ -238,12 +170,12 @@ html.sidebar-collapsed [data-sidebar-tooltip]:hover::after { [data-theme="dark"] ::-webkit-scrollbar-thumb:hover { background: rgba(255, 255, 255, 0.25); } /* Table row hover highlight */ -tbody tr:hover td { background-color: rgba(73, 144, 182, 0.06); } -[data-theme="dark"] tbody tr:hover td { background-color: rgba(73, 144, 182, 0.12); } +tbody tr:hover td { background-color: rgba(59, 130, 246, 0.04); } +[data-theme="dark"] tbody tr:hover td { background-color: rgba(59, 130, 246, 0.08); } /* Focus ring styling */ :focus-visible { - outline: 2px solid var(--color-cerulean-500); + outline: 2px solid #3b82f6; outline-offset: 2px; } @@ -253,7 +185,7 @@ a, button, input, select, textarea { } /* Password strength indicator (JS-driven via classes) */ -.password-strength-bar.strength-weak { background-color: var(--color-sweet-salmon-500); } -.password-strength-bar.strength-fair { background-color: var(--color-wheat-500); } +.password-strength-bar.strength-weak { background-color: #ef4444; } +.password-strength-bar.strength-fair { background-color: #eab308; } .password-strength-bar.strength-good { background-color: #22c55e; } .password-strength-bar.strength-strong { background-color: #16a34a; } diff --git a/lib/towerops_web/components/breadcrumbs.ex b/lib/towerops_web/components/breadcrumbs.ex index 4d765740..cea1f030 100644 --- a/lib/towerops_web/components/breadcrumbs.ex +++ b/lib/towerops_web/components/breadcrumbs.ex @@ -25,7 +25,7 @@ defmodule ToweropsWeb.Components.Breadcrumbs do def breadcrumb(assigns) do ~H""" -
+