diff --git a/src/components/dashboardPrimitives.jsx b/src/components/dashboardPrimitives.jsx index e7bd855..7e02a20 100644 --- a/src/components/dashboardPrimitives.jsx +++ b/src/components/dashboardPrimitives.jsx @@ -58,7 +58,7 @@ export function PageHeaderBar({ export function StatTile({ icon: Icon, label, value, accentColor = colors.blue, className = '' }) { return (
+
{(title || description) && (
{title &&

{title}

} @@ -120,7 +120,7 @@ export function DashboardEmptyState({ icon: Icon, title, description, action = n @@ -158,7 +158,7 @@ export function SectionCard({ title, icon: Icon, children, color = colors.blue, return (
div:not(#root) [class*="rounded-"] { border-radius: 2px !important; } -body > div:not(#root) :not(button):not(a)[class*="shadow-"]:not(.shadow-none) { box-shadow: var(--ah-shadow) !important; } +body > div:not(#root) [class*="shadow-"] { box-shadow: none !important; } body > div:not(#root) :is(button, a)[class*="shadow-"] { box-shadow: none !important; transform: none !important; } body > div:not(#root) [class*="backdrop-blur"] { -webkit-backdrop-filter: none !important; backdrop-filter: none !important; } body > div:not(#root) [class*="bg-dash-surfaceElevated/"] { background-color: var(--ah-panel) !important; } @@ -472,20 +472,19 @@ body > div:not(#root) :is(button, a, input, textarea, select):focus-visible { ou .dashboard-app, .admin-app { background: var(--ah-background) !important; color: var(--ah-text); } .admin-app [class*="backdrop-blur"] { -webkit-backdrop-filter: none !important; backdrop-filter: none !important; } .admin-app [class*="rounded-"] { border-radius: 2px !important; } -.admin-app :not(button):not(a)[class*="shadow-"]:not(.shadow-none) { box-shadow: var(--ah-shadow) !important; } +.dashboard-app [class*="shadow-"], .admin-app [class*="shadow-"] { box-shadow: none !important; } .admin-app [class*="scale-"] { scale: 1 !important; } .admin-app :is(button, a, input, textarea, select) { border-radius: 2px; } .admin-app :is(button, a, input, textarea, select):focus-visible { outline: 2px solid var(--ah-accent); outline-offset: 2px; } .dashboard-app .bg-dash-surface, .admin-app .bg-dash-surface { background-color: var(--ah-surface); } .dashboard-app .bg-dash-surfaceElevated, .admin-app .bg-dash-surfaceElevated { background-color: var(--ah-panel); } .dashboard-app .border-dash-border, .admin-app .border-dash-border { border-color: var(--ah-border); } -.dashboard-app .rounded-xl.border-dash-border, .dashboard-app .rounded-2xl.border-dash-border, -.admin-app .rounded-xl.border-dash-border, .admin-app .rounded-2xl.border-dash-border { box-shadow: var(--ah-shadow); } +.dashboard-app [class*="bg-white/"], .admin-app [class*="bg-white/"] { background-color: var(--ah-panel) !important; } .dashboard-app .dash-skeleton, .admin-app .dash-skeleton { background: var(--ah-surface); background-image: none; animation: none; border: 1px solid var(--ah-border); } .dashboard-app header[class*="bg-dash-surfaceElevated/"], .admin-app header[class*="bg-dash-surfaceElevated/"] { background-color: var(--ah-panel) !important; } /* Server tiles: compact, readable data panels with a single consistent hover state. */ -.ah-server-card { min-width: 0; overflow: hidden; border: 2px solid var(--ah-border); background: var(--ah-panel); color: var(--ah-text); box-shadow: 6px 6px 0 var(--ah-border); } +.ah-server-card { min-width: 0; overflow: hidden; border: 2px solid var(--ah-border); background: var(--ah-panel); color: var(--ah-text); box-shadow: none; } .ah-server-card-content { display: flex; min-height: 100%; flex-direction: column; } .ah-server-card-header { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: start; gap: 12px; min-width: 0; padding: 18px; border-bottom: 2px solid var(--ah-border); background: var(--ah-surface); } .ah-server-card-identity { display: flex; min-width: 0; align-items: center; gap: 12px; } @@ -511,7 +510,7 @@ body > div:not(#root) :is(button, a, input, textarea, select):focus-visible { ou .app-container :is(button, a)[class*="shadow-"] { box-shadow: none !important; transform: none !important; } /* Opaque tooltip panels use the same ink border and offset shadow as other surfaces. */ -.ah-tooltip { max-width: min(24rem, calc(100vw - 2rem)); border: 2px solid var(--ah-border); background: var(--ah-panel); color: var(--ah-emphasis); box-shadow: 5px 5px 0 var(--ah-border); line-height: 1.5; overflow-wrap: anywhere; } +.ah-tooltip { max-width: min(24rem, calc(100vw - 2rem)); border: 2px solid var(--ah-border); background: var(--ah-panel); color: var(--ah-emphasis); box-shadow: none; line-height: 1.5; overflow-wrap: anywhere; } .ah-tooltip-heading { margin-bottom: 7px; color: var(--ah-accent); font-size: 14px; font-weight: 850; line-height: 1.3; } .ah-tooltip-description { margin-bottom: 11px; color: var(--ah-text); font-size: 12px; line-height: 1.5; } .ah-tooltip-code { padding: 8px 9px; border: 1px solid var(--ah-border); background: var(--ah-background); color: var(--ah-emphasis); font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 12px; overflow-wrap: anywhere; } diff --git a/src/theme/colors.js b/src/theme/colors.js index 2c020f1..fc5c31d 100644 --- a/src/theme/colors.js +++ b/src/theme/colors.js @@ -28,7 +28,7 @@ export const colors = { darkGreen: '#7B9246', darkYellow: '#D3A04D', darkMagenta: '#9F4E85', - surface: '#505050', + surface: '#151515', hover: '#547C99', border: '#505050', focus: '#547C99', diff --git a/tailwind.config.js b/tailwind.config.js index 8af4ffc..d4e7130 100644 --- a/tailwind.config.js +++ b/tailwind.config.js @@ -5,7 +5,7 @@ module.exports = { extend: { colors: { dash: { - surface: "#505050", + surface: "#151515", surfaceElevated: "#151515", border: "#505050", text: "#F5F5F5",