Skip to content

armgit / ARES

Public Imported from GitHub
0

ARES - authorized red-team engagement automation with dashboard, campaign scope, module orchestration, OPSEC controls, encrypted vault, and reporting.

feat(ui): implement anti-slop Linear precision dark theme across dashboard and graph

Mafifrizic5276b51a04f
diff --git a/frontend/src/features/auth/AuthProvider.tsx b/frontend/src/features/auth/AuthProvider.tsx
index 2ca9d6c..07273ee 100644
--- a/frontend/src/features/auth/AuthProvider.tsx
+++ b/frontend/src/features/auth/AuthProvider.tsx
@@ -19,10 +19,10 @@ import { AuthContext, type AuthState } from "./authContext";
function LoadingSession() {
return (
- <div className="grid min-h-screen place-items-center bg-slate-100 p-4">
- <div className="panel p-5 text-center">
- <h1 className="text-xl font-bold">ARES</h1>
- <p className="mt-1 text-sm text-slate-600">Loading session</p>
+ <div className="grid min-h-screen place-items-center bg-zinc-950 p-4 text-zinc-100">
+ <div className="rounded-xl border border-zinc-800 bg-zinc-900/60 p-6 text-center shadow-sm">
+ <h1 className="text-lg font-semibold tracking-tight text-zinc-100">ARES</h1>
+ <p className="mt-1 text-xs text-zinc-400">Loading session</p>
</div>
</div>
);
diff --git a/frontend/src/features/dashboard/DashboardPages.tsx b/frontend/src/features/dashboard/DashboardPages.tsx
index 8594c74..e6504e4 100644
--- a/frontend/src/features/dashboard/DashboardPages.tsx
+++ b/frontend/src/features/dashboard/DashboardPages.tsx
@@ -2359,7 +2359,7 @@ function SparklineBars({ values }: { values: MonthlyFindingStats["series"] }) {
{values.map((value) => (
<span
key={value.date}
- title={`${formatMonthlyDate(value.date)} — ${value.count} ${value.count === 1 ? "security signal" : "security signals"}`}
+ title={`${formatMonthlyDate(value.date)} - ${value.count} ${value.count === 1 ? "security signal" : "security signals"}`}
style={{ height: value.count > 0 ? `${Math.max(6, (value.count / max) * 100)}%` : "0%" }}
/>
))}
@@ -2994,10 +2994,10 @@ function formatDefaultValue(value: unknown): string {
function ScreenMessage({ title, body }: { title: string; body: string }) {
return (
- <div className="grid min-h-screen place-items-center bg-slate-100 p-4">
- <div className="panel p-5 text-center">
- <h1 className="text-xl font-bold">{title}</h1>
- <p className="mt-1 text-sm text-slate-600">{body}</p>
+ <div className="grid min-h-screen place-items-center bg-zinc-950 p-4 text-zinc-100">
+ <div className="rounded-xl border border-zinc-800 bg-zinc-900/60 p-6 text-center shadow-sm">
+ <h1 className="text-lg font-semibold tracking-tight text-zinc-100">{title}</h1>
+ <p className="mt-1 text-xs text-zinc-400">{body}</p>
</div>
</div>
);
diff --git a/frontend/src/features/graph/GraphPage.tsx b/frontend/src/features/graph/GraphPage.tsx
index 9f656aa..2b70b01 100644
--- a/frontend/src/features/graph/GraphPage.tsx
+++ b/frontend/src/features/graph/GraphPage.tsx
@@ -98,20 +98,20 @@ function graphLayout(graph: SafeGraph, highlightedNodeIds: Set<string>, highligh
animated: highlightedEdgeIds.has(edge.id),
markerEnd: { type: MarkerType.ArrowClosed },
style: {
- stroke: edge.color || "#94a3b8",
+ stroke: edge.color || "#52525b",
strokeWidth: highlightedEdgeIds.has(edge.id) ? 3 : 1.5,
opacity: highlightedEdgeIds.size > 0 && !highlightedEdgeIds.has(edge.id) ? 0.18 : 1,
strokeDasharray: edge.dashed ? "5 4" : undefined
},
- labelStyle: { fill: "#475569", fontSize: 11, fontWeight: 600 },
- labelBgStyle: { fill: "#ffffff", fillOpacity: 0.9 },
+ labelStyle: { fill: "#d4d4d8", fontSize: 11, fontWeight: 600 },
+ labelBgStyle: { fill: "#18181b", fillOpacity: 0.95 },
labelBgPadding: [4, 3]
}));
return { nodes, edges };
}
function safeValueText(value: SafeGraphValue): string {
- if (value === null) return "—";
+ if (value === null) return "-";
if (typeof value === "string" || typeof value === "number" || typeof value === "boolean") return String(value);
if (Array.isArray(value)) return value.map(safeValueText).join(", ");
return Object.entries(value).map(([key, item]) => `${key}: ${safeValueText(item)}`).join(" · ");
@@ -253,7 +253,7 @@ function AttackPathList({ paths, selectedIndex, onSelect }: {
>
<span>Path {index + 1}</span>
<strong>{attackPathSummary(path)}</strong>
- <small>{path.path_length ?? path.steps.length + 1} nodes · score {path.total_score ?? "—"}</small>
+ <small>{path.path_length ?? path.steps.length + 1} nodes · score {path.total_score ?? "-"}</small>
</button>
))}
</div>
@@ -291,7 +291,7 @@ function GraphCanvas({ graph, highlightedNodeIds, highlightedEdgeIds, onSelect }
}}
proOptions={{ hideAttribution: true }}
>
- <Background color="#dbe5f0" gap={18} />
+ <Background color="#27272a" gap={18} />
<Controls showInteractive={false} />
<MiniMap pannable zoomable />
</ReactFlow>
diff --git a/frontend/src/styles.css b/frontend/src/styles.css
index 4fb7475..7e34c09 100644
--- a/frontend/src/styles.css
+++ b/frontend/src/styles.css
@@ -3,8 +3,8 @@
@tailwind utilities;
:root {
- color: #1f2937;
- background: #edf2f7;
+ color: #f4f4f5;
+ background: #09090b;
font-family:
Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
font-synthesis: none;
@@ -18,7 +18,9 @@
body {
margin: 0;
min-width: 320px;
- background: #edf2f7;
+ background: #09090b;
+ color: #f4f4f5;
+ -webkit-font-smoothing: antialiased;
}
button,
@@ -40,7 +42,7 @@ button:disabled {
display: grid;
min-height: 100vh;
grid-template-columns: 248px minmax(0, 1fr);
- background: #edf2f7;
+ background: #09090b;
}
.app-shell.sidebar-collapsed {
@@ -74,55 +76,57 @@ button:disabled {
display: flex;
height: 100vh;
flex-direction: column;
- border-right: 1px solid rgba(255, 255, 255, 0.08);
- background: #172033;
- color: #edf2f7;
+ border-right: 1px solid #27272a;
+ background: #09090b;
+ color: #f4f4f5;
}
.sidebar-brand {
display: flex;
- min-height: 72px;
+ min-height: 64px;
align-items: center;
gap: 0.75rem;
- padding: 0.95rem 1rem;
- border-bottom: 1px solid rgba(255, 255, 255, 0.08);
+ padding: 0.85rem 1rem;
+ border-bottom: 1px solid #27272a;
}
.sidebar-mark {
- height: 42px;
- width: 42px;
- border-radius: 8px;
+ height: 36px;
+ width: 36px;
+ border-radius: 6px;
object-fit: contain;
- background: rgba(255, 255, 255, 0.05);
+ background: #18181b;
+ border: 1px solid #27272a;
}
.sidebar-title {
- color: #ffffff;
- font-size: 1rem;
- font-weight: 650;
- letter-spacing: 0;
+ color: #f4f4f5;
+ font-size: 0.94rem;
+ font-weight: 600;
+ letter-spacing: -0.01em;
}
.sidebar-subtitle {
margin-top: 0.1rem;
- color: #b7c4d6;
- font-size: 0.75rem;
+ color: #71717a;
+ font-size: 0.72rem;
font-weight: 500;
}
.sidebar-nav {
display: grid;
gap: 1rem;
- overflow: auto;
- padding: 0.9rem 0.85rem;
+ overflow-y: auto;
+ padding: 0.9rem 0.75rem;
}
.nav-group-label {
- margin: 0 0 0.35rem 0.35rem;
- color: #9fb0c4;
+ margin: 0 0 0.35rem 0.45rem;
+ color: #71717a;
font-size: 0.68rem;
- font-weight: 500;
- letter-spacing: 0.02em;
+ font-weight: 600;
+ letter-spacing: 0.05em;
+ text-transform: uppercase;
}
.nav-link {
@@ -132,10 +136,10 @@ button:disabled {
align-items: center;
gap: 0.65rem;
border-radius: 6px;
- padding: 0.48rem 0.6rem;
- color: #d5deea;
- font-size: 0.88rem;
- font-weight: 600;
+ padding: 0.45rem 0.65rem;
+ color: #a1a1aa;
+ font-size: 0.84rem;
+ font-weight: 500;
text-decoration: none;
transition:
background 120ms ease,
@@ -143,23 +147,24 @@ button:disabled {
}
.nav-link:hover {
- background: rgba(255, 255, 255, 0.07);
- color: #ffffff;
+ background: #18181b;
+ color: #f4f4f5;
}
.nav-link.active {
- background: rgba(255, 255, 255, 0.1);
+ background: #27272a;
color: #ffffff;
+ font-weight: 600;
}
.nav-link.active::before {
position: absolute;
left: 0;
- top: 9px;
- bottom: 9px;
- width: 3px;
+ top: 8px;
+ bottom: 8px;
+ width: 2px;
border-radius: 999px;
- background: #f97316;
+ background: #f4f4f5;
content: "";
}
@@ -170,11 +175,12 @@ button:disabled {
justify-content: center;
flex: 0 0 auto;
border-radius: 999px;
- font-weight: 650;
+ font-weight: 600;
}
.main-shell {
min-width: 0;
+ background: #09090b;
}
.topbar {
@@ -186,11 +192,11 @@ button:disabled {
align-items: center;
justify-content: space-between;
gap: 1rem;
- border-bottom: 1px solid #d5dce7;
- background: #f8fafc;
+ border-bottom: 1px solid #27272a;
+ background: rgba(9, 9, 11, 0.85);
+ backdrop-filter: blur(12px);
padding: 0.48rem 1.2rem;
- color: #334155;
- box-shadow: 0 8px 18px rgba(15, 23, 42, 0.05);
+ color: #f4f4f5;
}
.topbar-left,
@@ -212,13 +218,19 @@ button:disabled {
min-width: min(520px, 46vw);
align-items: center;
gap: 0.55rem;
- border: 1px solid #cfd8e5;
- border-radius: 7px;
- background: #ffffff;
- padding: 0.48rem 0.75rem;
- color: #64748b;
- font-size: 0.84rem;
- font-weight: 550;
+ border: 1px solid #27272a;
+ border-radius: 6px;
+ background: #121215;
+ padding: 0.45rem 0.75rem;
+ color: #71717a;
+ font-size: 0.82rem;
+ font-weight: 500;
+ transition: border-color 120ms ease, box-shadow 120ms ease;
+}
+
+.topbar-search:focus-within {
+ border-color: #52525b;
+ box-shadow: 0 0 0 1px #52525b;
}
.topbar-search-wrap {
@@ -230,8 +242,13 @@ button:disabled {
width: 100%;
border: 0;
background: transparent;
- color: #1f2937;
+ color: #f4f4f5;
outline: none;
+ font-size: 0.84rem;
+}
+
+.topbar-search input::placeholder {
+ color: #71717a;
}
.search-results {
@@ -242,26 +259,27 @@ button:disabled {
display: grid;
width: min(520px, 76vw);
overflow: hidden;
- border: 1px solid #cfd8e5;
- border-radius: 7px;
- background: #ffffff;
- box-shadow: 0 18px 32px rgba(15, 23, 42, 0.14);
+ border: 1px solid #27272a;
+ border-radius: 6px;
+ background: #121215;
+ box-shadow: 0 16px 36px rgba(0, 0, 0, 0.6);
}
.search-results button {
display: grid;
gap: 0.16rem;
border: 0;
- border-bottom: 1px solid #eef2f7;
- background: #ffffff;
+ border-bottom: 1px solid #1f1f23;
+ background: #121215;
padding: 0.62rem 0.75rem;
- color: #1f2937;
+ color: #f4f4f5;
text-align: left;
+ transition: background 100ms ease;
}
.search-results button:hover,
.search-results button:focus {
- background: #fff8f1;
+ background: #1c1c20;
outline: none;
}
@@ -270,13 +288,14 @@ button:disabled {
}
.search-results strong {
- font-size: 0.86rem;
- font-weight: 650;
+ font-size: 0.84rem;
+ font-weight: 600;
+ color: #f4f4f5;
}
.search-results span,
.search-empty {
- color: #64748b;
+ color: #a1a1aa;
font-size: 0.76rem;
font-weight: 500;
}
@@ -288,18 +307,21 @@ button:disabled {
.icon-button {
position: relative;
display: inline-flex;
- height: 36px;
- width: 36px;
+ height: 34px;
+ width: 34px;
align-items: center;
justify-content: center;
- border: 1px solid #cfd8e5;
- border-radius: 7px;
- background: #ffffff;
- color: #475569;
+ border: 1px solid #27272a;
+ border-radius: 6px;
+ background: #121215;
+ color: #a1a1aa;
+ transition: background 120ms ease, border-color 120ms ease, color 120ms ease;
}
.icon-button:hover {
- background: #f1f5f9;
+ background: #1c1c20;
+ border-color: #3f3f46;
+ color: #f4f4f5;
}
.icon-button-small {
@@ -312,14 +334,14 @@ button:disabled {
right: -0.32rem;
top: -0.32rem;
display: inline-flex;
- min-width: 1.1rem;
- height: 1.1rem;
+ min-width: 1rem;
+ height: 1rem;
align-items: center;
justify-content: center;
border-radius: 999px;
- background: #dc2626;
+ background: #f43f5e;
color: #ffffff;
- font-size: 0.66rem;
+ font-size: 0.62rem;
font-weight: 700;
}
@@ -329,11 +351,11 @@ button:disabled {
top: calc(100% + 0.45rem);
z-index: 40;
width: min(360px, calc(100vw - 1.8rem));
- border: 1px solid #cfd8e5;
- border-radius: 7px;
- background: #ffffff;
+ border: 1px solid #27272a;
+ border-radius: 8px;
+ background: #121215;
padding: 0.85rem;
- box-shadow: 0 20px 36px rgba(15, 23, 42, 0.16);
+ box-shadow: 0 20px 40px rgba(0, 0, 0, 0.7);
}
.notification-list {
@@ -344,9 +366,9 @@ button:disabled {
.notification-item {
display: grid;
gap: 0.35rem;
- border: 1px solid #e5e7eb;
+ border: 1px solid #27272a;
border-radius: 6px;
- background: #fbfdff;
+ background: #18181b;
padding: 0.62rem;
}
@@ -358,44 +380,45 @@ button:disabled {
}
.notification-item strong {
- color: #1f2937;
- font-size: 0.84rem;
- font-weight: 650;
+ color: #f4f4f5;
+ font-size: 0.82rem;
+ font-weight: 600;
}
.notification-item p {
margin: 0;
- color: #64748b;
- font-size: 0.78rem;
+ color: #a1a1aa;
+ font-size: 0.76rem;
font-weight: 500;
line-height: 1.35;
}
.notification-warn {
- border-color: #fed7aa;
- background: #fff8f1;
+ border-color: rgba(245, 158, 11, 0.3);
+ background: rgba(245, 158, 11, 0.08);
}
.notification-danger {
- border-color: #fecaca;
- background: #fff1f2;
+ border-color: rgba(244, 63, 94, 0.3);
+ background: rgba(244, 63, 94, 0.08);
}
.user-chip {
display: inline-flex;
- min-height: 38px;
+ min-height: 36px;
align-items: center;
gap: 0.55rem;
- border-left: 1px solid #d5dce7;
+ border-left: 1px solid #27272a;
padding-left: 0.75rem;
}
.user-chip-avatar {
- height: 30px;
- width: 30px;
- background: #f97316;
- color: #1f2937;
- font-size: 0.8rem;
+ height: 28px;
+ width: 28px;
+ background: #27272a;
+ border: 1px solid #3f3f46;
+ color: #f4f4f5;
+ font-size: 0.75rem;
}
.user-chip strong,
@@ -405,22 +428,22 @@ button:disabled {
}
.user-chip strong {
- color: #1f2937;
+ color: #f4f4f5;
font-size: 0.78rem;
- font-weight: 650;
+ font-weight: 600;
}
.user-chip small {
margin-top: 0.1rem;
- color: #64748b;
+ color: #71717a;
font-size: 0.68rem;
- font-weight: 550;
+ font-weight: 500;
}
.content-shell {
margin: 0 auto;
width: min(100%, 1500px);
- padding: 1rem 1.2rem 1.75rem;
+ padding: 1rem 1.2rem 2rem;
}
.page {
@@ -433,11 +456,10 @@ button:disabled {
align-items: center;
justify-content: space-between;
gap: 1rem;
- border: 1px solid #d5dce7;
- border-radius: 7px;
- background: #ffffff;
- padding: 0.72rem 0.85rem;
- box-shadow: 0 10px 22px rgba(15, 23, 42, 0.04);
+ border: 1px solid #27272a;
+ border-radius: 8px;
+ background: #121215;
+ padding: 0.75rem 1rem;
}
.page-heading {
@@ -449,43 +471,44 @@ button:disabled {
.page-icon {
display: inline-flex;
- height: 38px;
- width: 38px;
+ height: 36px;
+ width: 36px;
align-items: center;
justify-content: center;
- border: 1px solid #fed7aa;
- border-radius: 7px;
- background: #fff8f1;
- color: #ea580c;
+ border: 1px solid #27272a;
+ border-radius: 6px;
+ background: #18181b;
+ color: #f4f4f5;
}
.page-eyebrow,
.section-eyebrow {
- margin: 0 0 0.12rem;
- color: #718198;
- font-size: 0.66rem;
- font-weight: 500;
- letter-spacing: 0.01em;
+ margin: 0 0 0.15rem;
+ color: #71717a;
+ font-size: 0.68rem;
+ font-weight: 600;
+ letter-spacing: 0.05em;
+ text-transform: uppercase;
}
.page-header h1,
.section-header h2 {
margin: 0;
- color: #111827;
+ color: #f4f4f5;
font-weight: 600;
- letter-spacing: 0;
+ letter-spacing: -0.01em;
}
.page-header h1 {
- font-size: 1.08rem;
+ font-size: 1.05rem;
line-height: 1.2;
}
.page-header p,
.section-header p {
margin: 0.16rem 0 0;
- color: #64748b;
- font-size: 0.82rem;
+ color: #a1a1aa;
+ font-size: 0.8rem;
font-weight: 400;
}
@@ -496,9 +519,9 @@ button:disabled {
.page-tabs {
display: flex;
- gap: 0.1rem;
- border-bottom: 1px solid #d5dce7;
- padding-left: 0.65rem;
+ gap: 0.25rem;
+ border-bottom: 1px solid #27272a;
+ padding-left: 0.25rem;
}
.page-tabs button {
@@ -507,18 +530,24 @@ button:disabled {
border-bottom: 2px solid transparent;
background: transparent;
padding: 0 0.75rem;
- color: #475569;
- font-size: 0.84rem;
- font-weight: 550;
+ color: #71717a;
+ font-size: 0.82rem;
+ font-weight: 500;
+ transition: color 120ms ease, border-color 120ms ease;
+}
+
+.page-tabs button:hover {
+ color: #d4d4d8;
}
.page-tabs button.active {
- border-bottom-color: #dc2626;
- color: #991b1b;
+ border-bottom-color: #f4f4f5;
+ color: #f4f4f5;
+ font-weight: 600;
}
.page-tabs button:focus-visible {
- outline: 2px solid rgba(249, 115, 22, 0.35);
+ outline: 2px solid #52525b;
outline-offset: 2px;
}
@@ -528,10 +557,9 @@ button:disabled {
}
.panel {
- border: 1px solid #d5dce7;
- border-radius: 7px;
- background: #ffffff;
- box-shadow: 0 7px 16px rgba(15, 23, 42, 0.035);
+ border: 1px solid #27272a;
+ border-radius: 8px;
+ background: #121215;
}
.section-header {
@@ -543,7 +571,7 @@ button:disabled {
}
.section-header h2 {
- font-size: 0.94rem;
+ font-size: 0.92rem;
line-height: 1.25;
}
@@ -591,88 +619,105 @@ button:disabled {
align-items: center;
justify-content: center;
gap: 0.45rem;
- border: 1px solid #cbd5e1;
+ border: 1px solid #27272a;
border-radius: 6px;
- background: #ffffff;
+ background: #18181b;
padding: 0.45rem 0.75rem;
- color: #1f2937;
+ color: #e4e4e7;
font-size: 0.84rem;
- font-weight: 550;
+ font-weight: 500;
line-height: 1.15;
transition:
background 120ms ease,
border-color 120ms ease,
- color 120ms ease;
+ color 120ms ease,
+ transform 80ms ease;
}
.btn:hover {
- border-color: #aeb9c8;
- background: #f8fafc;
+ border-color: #3f3f46;
+ background: #27272a;
+ color: #ffffff;
+}
+
+.btn:active {
+ transform: scale(0.98);
}
.btn-compact {
- min-height: 30px;
- padding: 0.35rem 0.55rem;
- font-size: 0.78rem;
+ min-height: 28px;
+ padding: 0.3rem 0.55rem;
+ font-size: 0.76rem;
}
.btn:disabled,
.btn:disabled:hover {
- opacity: 0.62;
+ opacity: 0.5;
+ cursor: not-allowed;
+ transform: none;
}
.btn-primary {
- border-color: #c2410c;
- background: #c2410c;
- color: #ffffff;
+ border-color: #f4f4f5;
+ background: #f4f4f5;
+ color: #09090b;
+ font-weight: 600;
}
.btn-primary:hover {
- border-color: #9a3412;
- background: #9a3412;
+ border-color: #ffffff;
+ background: #ffffff;
+ color: #09090b;
+}
+
+.btn-primary:active {
+ background: #e4e4e7;
}
.btn-danger {
- border-color: #fecaca;
- color: #b91c1c;
+ border-color: rgba(244, 63, 94, 0.35);
+ background: rgba(244, 63, 94, 0.1);
+ color: #fda4af;
}
.btn-danger:hover {
- border-color: #fca5a5;
- background: #fff1f2;
+ border-color: rgba(244, 63, 94, 0.55);
+ background: rgba(244, 63, 94, 0.18);
+ color: #fecdd3;
}
.btn-topbar {
- border-color: #cfd8e5;
- background: #ffffff;
- color: #334155;
+ border-color: #27272a;
+ background: #121215;
+ color: #e4e4e7;
}
.btn-topbar:hover {
- background: #f1f5f9;
+ background: #1c1c20;
+ border-color: #3f3f46;
}
.field {
width: 100%;
- min-height: 36px;
- border: 1px solid #cbd5e1;
+ min-height: 34px;
+ border: 1px solid #27272a;
border-radius: 6px;
- background: #ffffff;
- padding: 0.52rem 0.68rem;
- color: #1f2937;
- font-size: 0.88rem;
+ background: #09090b;
+ padding: 0.45rem 0.68rem;
+ color: #f4f4f5;
+ font-size: 0.84rem;
+ transition: border-color 120ms ease, box-shadow 120ms ease;
}
.field::placeholder,
.field-with-icon input::placeholder {
- color: #94a3b8;
+ color: #71717a;
}
.field:focus,
.field-with-icon:focus-within {
- border-color: #f97316;
- outline: 2px solid rgba(249, 115, 22, 0.14);
- outline-offset: 1px;
+ border-color: #52525b;
+ outline: 1px solid #52525b;
}
textarea.field {
@@ -682,14 +727,14 @@ textarea.field {
.field-with-icon {
display: flex;
- min-height: 38px;
+ min-height: 36px;
align-items: center;
gap: 0.5rem;
- border: 1px solid #cbd5e1;
+ border: 1px solid #27272a;
border-radius: 6px;
- background: #ffffff;
+ background: #09090b;
padding: 0 0.62rem;
- color: #64748b;
+ color: #71717a;
}
.field-with-icon input {
@@ -697,45 +742,46 @@ textarea.field {
width: 100%;
border: 0;
background: transparent;
- color: #1f2937;
+ color: #f4f4f5;
outline: none;
+ font-size: 0.84rem;
}
.toggle-row {
display: inline-flex;
align-items: center;
gap: 0.55rem;
- color: #334155;
- font-size: 0.88rem;
- font-weight: 600;
+ color: #d4d4d8;
+ font-size: 0.84rem;
+ font-weight: 500;
}
.notice {
display: flex;
align-items: flex-start;
gap: 0.5rem;
- border: 1px solid #fed7aa;
+ border: 1px solid rgba(245, 158, 11, 0.25);
border-radius: 6px;
- background: #fff8f1;
+ background: rgba(245, 158, 11, 0.08);
padding: 0.58rem 0.66rem;
- color: #9a3412;
- font-size: 0.86rem;
+ color: #fcd34d;
+ font-size: 0.82rem;
font-weight: 500;
}
.notice-danger {
- border-color: #fecaca;
- background: #fff1f2;
- color: #991b1b;
+ border-color: rgba(244, 63, 94, 0.25);
+ background: rgba(244, 63, 94, 0.08);
+ color: #fda4af;
}
.loading-row {
display: flex;
align-items: center;
gap: 0.5rem;
- color: #475569;
- font-size: 0.88rem;
- font-weight: 600;
+ color: #a1a1aa;
+ font-size: 0.84rem;
+ font-weight: 500;
}
.spin {
@@ -753,44 +799,44 @@ textarea.field {
display: inline-flex;
align-items: center;
gap: 0.35rem;
- border: 1px solid #cbd5e1;
+ border: 1px solid #27272a;
border-radius: 999px;
- background: #f8fafc;
- color: #475569;
- font-size: 0.74rem;
- font-weight: 550;
+ background: #18181b;
+ color: #a1a1aa;
+ font-size: 0.72rem;
+ font-weight: 500;
line-height: 1;
white-space: nowrap;
}
.badge {
- padding: 0.24rem 0.52rem;
+ padding: 0.22rem 0.52rem;
}
.status-pill {
- min-height: 26px;
- padding: 0.28rem 0.56rem;
+ min-height: 24px;
+ padding: 0.26rem 0.56rem;
}
.badge-high,
.status-high {
- border-color: #fecaca;
- background: #fff1f2;
- color: #991b1b;
+ border-color: rgba(244, 63, 94, 0.3);
+ background: rgba(244, 63, 94, 0.1);
+ color: #fda4af;
}
.badge-medium,
.status-medium {
- border-color: #fed7aa;
- background: #fff8f1;
- color: #9a3412;
+ border-color: rgba(245, 158, 11, 0.3);
+ background: rgba(245, 158, 11, 0.1);
+ color: #fcd34d;
}
.badge-low,
.status-low {
- border-color: #99f6e4;
- background: #f0fdfa;
- color: #0f766e;
+ border-color: rgba(16, 185, 129, 0.3);
+ background: rgba(16, 185, 129, 0.1);
+ color: #6ee7b7;
}
.telemetry-panel {
@@ -801,7 +847,7 @@ textarea.field {
display: grid;
gap: 0.72rem;
margin-top: 0.35rem;
- border-top: 1px solid #e5e7eb;
+ border-top: 1px solid #27272a;
padding-top: 0.9rem;
}
@@ -810,39 +856,40 @@ textarea.field {
grid-template-columns: 112px minmax(120px, 1fr) 48px;
align-items: center;
gap: 0.75rem;
- color: #475569;
- font-size: 0.82rem;
- font-weight: 600;
+ color: #a1a1aa;
+ font-size: 0.8rem;
+ font-weight: 500;
}
.telemetry-bar-track {
- height: 11px;
+ height: 8px;
overflow: hidden;
border-radius: 999px;
- background: #e2e8f0;
+ background: #27272a;
}
.telemetry-bar-fill {
height: 100%;
border-radius: inherit;
- background: #f59e0b;
+ background: #e4e4e7;
}
.telemetry-bar-fill.danger {
- background: #dc2626;
+ background: #f43f5e;
}
.telemetry-bar strong {
- color: #1f2937;
- font-size: 0.86rem;
- font-weight: 650;
+ color: #f4f4f5;
+ font-size: 0.84rem;
+ font-weight: 600;
+ font-family: ui-monospace, SFMono-Regular, monospace;
text-align: right;
}
.telemetry-strip {
- border: 1px solid #e5e7eb;
+ border: 1px solid #27272a;
border-radius: 6px;
- background: #fbfdff;
+ background: #18181b;
padding: 0.72rem;
}
@@ -852,16 +899,17 @@ textarea.field {
}
.telemetry-strip span {
- color: #64748b;
- font-size: 0.76rem;
+ color: #71717a;
+ font-size: 0.72rem;
font-weight: 600;
}
.telemetry-strip strong {
margin-top: 0.15rem;
- color: #111827;
- font-size: 1rem;
- font-weight: 650;
+ color: #f4f4f5;
+ font-size: 0.95rem;
+ font-weight: 600;
+ font-family: ui-monospace, SFMono-Regular, monospace;
}
.telemetry-footer {
@@ -869,11 +917,11 @@ textarea.field {
flex-wrap: wrap;
gap: 0.55rem 1rem;
margin-top: 0.9rem;
- border-top: 1px solid #e5e7eb;
+ border-top: 1px solid #27272a;
padding-top: 0.75rem;
- color: #64748b;
- font-size: 0.78rem;
- font-weight: 550;
+ color: #71717a;
+ font-size: 0.76rem;
+ font-weight: 500;
}
.telemetry-footer span {
@@ -894,26 +942,27 @@ textarea.field {
align-items: center;
justify-content: space-between;
gap: 0.65rem;
- border: 1px solid #e5e7eb;
+ border: 1px solid #27272a;
border-radius: 6px;
- background: #fbfdff;
+ background: #18181b;
padding: 0.6rem;
}
.mini-stat span,
.mini-stat small {
display: block;
- color: #64748b;
+ color: #71717a;
font-size: 0.72rem;
- font-weight: 550;
+ font-weight: 500;
}
.mini-stat strong {
display: block;
margin-top: 0.12rem;
- color: #111827;
- font-size: 1rem;
- font-weight: 650;
+ color: #f4f4f5;
+ font-size: 0.95rem;
+ font-weight: 600;
+ font-family: ui-monospace, SFMono-Regular, monospace;
line-height: 1.1;
}
@@ -929,8 +978,8 @@ textarea.field {
align-items: center;
justify-content: center;
border-radius: 6px;
- background: #fff8f1;
- color: #ea580c;
+ background: #27272a;
+ color: #f4f4f5;
}
.highlight-list {
@@ -943,7 +992,7 @@ textarea.field {
align-items: center;
justify-content: space-between;
gap: 1rem;
- border-bottom: 1px solid #eef2f7;
+ border-bottom: 1px solid #1f1f23;
padding: 0.75rem 0;
}
@@ -962,45 +1011,46 @@ textarea.field {
}
.highlight-row strong {
- color: #1f2937;
- font-size: 0.88rem;
+ color: #f4f4f5;
+ font-size: 0.84rem;
font-weight: 600;
}
.highlight-row span {
margin-top: 0.15rem;
- color: #64748b;
- font-size: 0.76rem;
+ color: #71717a;
+ font-size: 0.74rem;
font-weight: 500;
}
.highlight-value {
- min-width: 58px;
+ min-width: 54px;
border-radius: 999px;
- padding: 0.35rem 0.55rem;
+ padding: 0.28rem 0.5rem;
text-align: center;
- font-size: 0.9rem;
- font-weight: 650;
+ font-size: 0.84rem;
+ font-weight: 600;
+ font-family: ui-monospace, SFMono-Regular, monospace;
}
.highlight-low {
- background: #f0fdfa;
- color: #0f766e;
+ background: rgba(16, 185, 129, 0.12);
+ color: #6ee7b7;
}
.highlight-medium {
- background: #fff8f1;
- color: #c2410c;
+ background: rgba(245, 158, 11, 0.12);
+ color: #fcd34d;
}
.highlight-high {
- background: #fff1f2;
- color: #991b1b;
+ background: rgba(244, 63, 94, 0.12);
+ color: #fda4af;
}
.highlight-neutral {
- background: #f1f5f9;
- color: #475569;
+ background: #27272a;
+ color: #d4d4d8;
}
.monthly-stat {
@@ -1012,23 +1062,24 @@ textarea.field {
}
.monthly-stat span {
- color: #1f2937;
+ color: #f4f4f5;
font-size: 1.55rem;
- font-weight: 400;
+ font-weight: 500;
+ font-family: ui-monospace, SFMono-Regular, monospace;
}
.monthly-stat small {
- color: #94a3b8;
- font-size: 0.82rem;
- font-weight: 550;
+ color: #71717a;
+ font-size: 0.8rem;
+ font-weight: 500;
}
.sparkline {
display: flex;
- height: 92px;
+ height: 84px;
align-items: end;
gap: 0.18rem;
- border-bottom: 1px solid #fed7aa;
+ border-bottom: 1px solid #27272a;
padding: 0.35rem 0;
overflow: hidden;
}
@@ -1037,9 +1088,14 @@ textarea.field {
flex: 1 1 0;
min-width: 2px;
max-width: 12px;
- border-radius: 3px 3px 1px 1px;
- background: #f4b84a;
- opacity: 0.82;
+ border-radius: 2px 2px 1px 1px;
+ background: #71717a;
+ opacity: 0.8;
+ transition: background 120ms ease;
+}
+
+.sparkline span:hover {
+ background: #f4f4f5;
}
.sparkline-axis {
@@ -1048,7 +1104,7 @@ textarea.field {
min-height: 0.85rem;
margin-top: 0.25rem;
overflow: hidden;
- color: #94a3b8;
+ color: #71717a;
font-size: 0.64rem;
line-height: 1;
}
@@ -1086,21 +1142,23 @@ textarea.field {
.table th,
.table td {
- border-bottom: 1px solid #e5e7eb;
+ border-bottom: 1px solid #27272a;
padding: 0.6rem 0.58rem;
text-align: left;
vertical-align: middle;
}
.table th {
- color: #64748b;
- font-size: 0.74rem;
+ color: #71717a;
+ font-size: 0.72rem;
font-weight: 600;
+ letter-spacing: 0.04em;
+ text-transform: uppercase;
}
.table td {
- color: #334155;
- font-size: 0.86rem;
+ color: #d4d4d8;
+ font-size: 0.84rem;
}
.table tr:last-child td {
@@ -1108,18 +1166,19 @@ textarea.field {
}
.muted-cell {
- color: #94a3b8;
- font-size: 0.8rem;
- font-weight: 600;
+ color: #71717a;
+ font-size: 0.78rem;
+ font-weight: 500;
+ font-family: ui-monospace, SFMono-Regular, monospace;
}
.empty-state {
- border: 1px dashed #cbd5e1;
+ border: 1px dashed #27272a;
border-radius: 6px;
- background: #f8fafc;
+ background: #18181b;
padding: 0.82rem;
- color: #64748b;
- font-size: 0.88rem;
+ color: #71717a;
+ font-size: 0.84rem;
font-weight: 500;
}
@@ -1129,7 +1188,7 @@ textarea.field {
.inline-summary,
.detail-summary {
- border-top: 1px solid #e5e7eb;
+ border-top: 1px solid #27272a;
padding-top: 0.85rem;
}
@@ -1147,7 +1206,7 @@ textarea.field {
.advanced-details summary {
cursor: pointer;
- color: #718198;
+ color: #71717a;
font-size: 0.76rem;
font-weight: 500;
}
@@ -1157,10 +1216,12 @@ textarea.field {
overflow: auto;
margin-top: 0.45rem;
border-radius: 6px;
- background: #172033;
- color: #dbeafe;
+ background: #09090b;
+ border: 1px solid #27272a;
+ color: #e4e4e7;
padding: 0.7rem;
- font-size: 0.78rem;
+ font-size: 0.76rem;
+ font-family: ui-monospace, SFMono-Regular, monospace;
line-height: 1.45;
}
@@ -1170,9 +1231,9 @@ textarea.field {
}
.compact-row {
- border: 1px solid #e5e7eb;
+ border: 1px solid #27272a;
border-radius: 6px;
- background: #fbfdff;
+ background: #18181b;
padding: 0.72rem;
}
@@ -1181,37 +1242,43 @@ textarea.field {
display: grid;
gap: 0.25rem;
width: 100%;
- border: 1px solid #d5dce7;
+ border: 1px solid #27272a;
border-radius: 6px;
- background: #ffffff;
+ background: #18181b;
padding: 0.74rem;
- color: #1f2937;
+ color: #f4f4f5;
text-align: left;
+ transition: border-color 120ms ease, background 120ms ease;
}
.template-card:hover,
.catalog-card:hover {
- border-color: #f97316;
- background: #fffaf5;
+ border-color: #52525b;
+ background: #222226;
}
.template-card.active,
.catalog-card.active {
- border-color: #f97316;
- box-shadow: inset 3px 0 0 #f97316;
+ border-color: #f4f4f5;
+ box-shadow: inset 2px 0 0 #f4f4f5;
+ background: #222226;
}
.template-card small,
.catalog-card small {
- color: #64748b;
- font-size: 0.8rem;
+ color: #a1a1aa;
+ font-size: 0.78rem;
line-height: 1.35;
}
.preview-card {
- border-left: 3px solid #f97316;
- background: #fff8f1;
+ border-left: 2px solid #f4f4f5;
+ border: 1px solid #27272a;
+ border-left-width: 3px;
+ border-left-color: #f4f4f5;
+ background: #18181b;
padding: 0.72rem 0.85rem;
+ border-radius: 6px;
}
.entity-card {
@@ -1220,16 +1287,16 @@ textarea.field {
column-gap: 0.55rem;
row-gap: 0.15rem;
align-items: start;
- border: 1px solid #e5e7eb;
+ border: 1px solid #27272a;
border-radius: 6px;
- background: #fbfdff;
+ background: #18181b;
padding: 0.72rem;
}
.entity-card svg {
grid-row: span 2;
margin-top: 0.1rem;
- color: #c2410c;
+ color: #d4d4d8;
}
.graph-panel {
@@ -1249,9 +1316,9 @@ textarea.field {
.graph-filter-group {
display: grid;
gap: 0.34rem;
- color: #475569;
+ color: #a1a1aa;
font-size: 0.76rem;
- font-weight: 650;
+ font-weight: 600;
}
.graph-campaign-select {
@@ -1269,16 +1336,16 @@ textarea.field {
align-items: center;
flex-wrap: wrap;
gap: 0.65rem;
- border: 1px solid #e2e8f0;
+ border: 1px solid #27272a;
border-radius: 6px;
- background: #fbfdff;
+ background: #18181b;
padding: 0.62rem;
}
.graph-filter-title {
- color: #334155;
+ color: #f4f4f5;
font-size: 0.8rem;
- font-weight: 700;
+ font-weight: 600;
}
.graph-filter-group {
@@ -1297,19 +1364,19 @@ textarea.field {
}
.filter-chip {
- border: 1px solid #cbd5e1;
+ border: 1px solid #27272a;
border-radius: 999px;
- background: #ffffff;
+ background: #18181b;
padding: 0.22rem 0.48rem;
- color: #475569;
+ color: #a1a1aa;
font-size: 0.72rem;
- font-weight: 650;
+ font-weight: 600;
}
.filter-chip.active {
- border-color: #c2410c;
- background: #fff8f1;
- color: #9a3412;
+ border-color: #f4f4f5;
+ background: #27272a;
+ color: #ffffff;
}
.graph-path-only-toggle {
@@ -1318,11 +1385,11 @@ textarea.field {
}
.graph-active-path {
- border-color: #fed7aa;
- background: #fff8f1;
- color: #9a3412;
+ border-color: rgba(245, 158, 11, 0.35);
+ background: rgba(245, 158, 11, 0.08);
+ color: #fcd34d;
font-size: 0.82rem;
- font-weight: 600;
+ font-weight: 500;
}
.graph-active-path .btn {
@@ -1332,33 +1399,33 @@ textarea.field {
.graph-canvas {
min-height: 520px;
overflow: hidden;
- border: 1px solid #d5dce7;
+ border: 1px solid #27272a;
border-radius: 6px;
- background: #f8fafc;
+ background: #09090b;
}
.graph-canvas .react-flow__controls,
.graph-canvas .react-flow__minimap {
- border: 1px solid #cbd5e1;
- border-radius: 5px;
- box-shadow: 0 4px 10px rgba(15, 23, 42, 0.1);
+ border: 1px solid #27272a;
+ border-radius: 6px;
+ background: #121215;
}
.ares-flow-node {
min-width: 148px;
max-width: 210px;
- border: 1px solid color-mix(in srgb, var(--node-color) 62%, #64748b);
- border-left: 4px solid var(--node-color);
+ border: 1px solid #27272a;
+ border-left: 3px solid var(--node-color);
border-radius: 6px;
- background: #ffffff;
+ background: #18181b;
padding: 0.45rem 0.55rem;
- color: #1f2937;
- box-shadow: 0 5px 12px rgba(15, 23, 42, 0.09);
+ color: #f4f4f5;
+ box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
transition: opacity 120ms ease, box-shadow 120ms ease;
}
.ares-flow-node.selected {
- box-shadow: 0 0 0 3px rgba(249, 115, 22, 0.28), 0 5px 12px rgba(15, 23, 42, 0.1);
+ box-shadow: 0 0 0 2px #f4f4f5;
}
.ares-flow-node.dimmed {
@@ -1368,9 +1435,9 @@ textarea.field {
.ares-flow-node-type,
.ares-flow-node small {
display: block;
- color: #64748b;
+ color: #71717a;
font-size: 0.65rem;
- font-weight: 650;
+ font-weight: 600;
text-transform: uppercase;
}
@@ -1378,9 +1445,9 @@ textarea.field {
display: block;
margin: 0.16rem 0;
overflow: hidden;
- color: #1f2937;
+ color: #f4f4f5;
font-size: 0.78rem;
- font-weight: 700;
+ font-weight: 600;
text-overflow: ellipsis;
white-space: nowrap;
}
@@ -1403,7 +1470,7 @@ textarea.field {
align-items: flex-start;
justify-content: space-between;
gap: 0.55rem;
- color: #334155;
+ color: #f4f4f5;
}
.graph-side-heading {
@@ -1419,14 +1486,14 @@ textarea.field {
.graph-detail-heading span,
.graph-detail-route {
- color: #64748b;
+ color: #71717a;
font-size: 0.72rem;
- font-weight: 600;
+ font-weight: 500;
}
.graph-detail-heading strong {
margin-top: 0.14rem;
- color: #1f2937;
+ color: #f4f4f5;
font-size: 0.88rem;
overflow-wrap: anywhere;
}
@@ -1436,7 +1503,7 @@ textarea.field {
}
.graph-detail-empty {
- color: #64748b;
+ color: #71717a;
font-size: 0.82rem;
line-height: 1.45;
}
@@ -1448,21 +1515,21 @@ textarea.field {
}
.graph-detail-list div {
- border-top: 1px solid #eef2f7;
+ border-top: 1px solid #1f1f23;
padding-top: 0.48rem;
}
.graph-detail-list dt {
- color: #64748b;
+ color: #71717a;
font-size: 0.69rem;
- font-weight: 700;
+ font-weight: 600;
text-transform: capitalize;
}
.graph-detail-list dd {
margin: 0.14rem 0 0;
overflow-wrap: anywhere;
- color: #334155;
+ color: #d4d4d8;
font-size: 0.78rem;
line-height: 1.4;
}
@@ -1476,30 +1543,32 @@ textarea.field {
display: grid;
gap: 0.2rem;
width: 100%;
- border: 1px solid #e2e8f0;
+ border: 1px solid #27272a;
border-radius: 6px;
- background: #fbfdff;
+ background: #18181b;
padding: 0.62rem;
text-align: left;
+ transition: border-color 120ms ease, background 120ms ease;
}
.attack-path-card:hover,
.attack-path-card.active {
- border-color: #f97316;
- background: #fff8f1;
+ border-color: #52525b;
+ background: #222226;
}
.attack-path-card span,
.attack-path-card small {
- color: #64748b;
+ color: #71717a;
font-size: 0.7rem;
- font-weight: 600;
+ font-weight: 500;
}
.attack-path-card strong {
overflow-wrap: anywhere;
- color: #334155;
+ color: #f4f4f5;
font-size: 0.8rem;
+ font-weight: 600;
}
.graph-ingest-form {
@@ -1514,13 +1583,13 @@ textarea.field {
}
.graph-ingest-form h2 {
- color: #1f2937;
+ color: #f4f4f5;
font-size: 0.95rem;
}
.graph-ingest-form p:not(.notice) {
margin-top: 0.2rem;
- color: #64748b;
+ color: #a1a1aa;
font-size: 0.82rem;
line-height: 1.4;
}
@@ -1530,7 +1599,7 @@ textarea.field {
align-items: center;
justify-content: space-between;
gap: 1rem;
- border-top: 1px solid #e5e7eb;
+ border-top: 1px solid #27272a;
padding: 0.82rem 0;
}
@@ -1545,46 +1614,48 @@ textarea.field {
}
.profile-avatar-light {
- height: 40px;
- width: 40px;
- background: #fff8f1;
- color: #c2410c;
+ height: 38px;
+ width: 38px;
+ background: #27272a;
+ border: 1px solid #3f3f46;
+ color: #f4f4f5;
}
.event-card {
display: grid;
grid-template-columns: auto minmax(0, 1fr);
gap: 0.65rem;
- border: 1px solid #e5e7eb;
+ border: 1px solid #27272a;
border-radius: 6px;
- background: #fbfdff;
+ background: #18181b;
padding: 0.76rem;
}
.event-marker {
- width: 7px;
+ width: 4px;
border-radius: 999px;
- background: #f97316;
+ background: #f4f4f5;
}
.event-card strong {
- color: #1f2937;
- font-size: 0.9rem;
+ color: #f4f4f5;
+ font-size: 0.88rem;
font-weight: 600;
}
.event-card p {
margin: 0.35rem 0 0;
- color: #475569;
- font-size: 0.86rem;
+ color: #a1a1aa;
+ font-size: 0.84rem;
}
.event-card small {
display: block;
margin-top: 0.25rem;
- color: #94a3b8;
- font-size: 0.76rem;
+ color: #71717a;
+ font-size: 0.74rem;
font-weight: 500;
+ font-family: ui-monospace, SFMono-Regular, monospace;
}
@media (max-width: 1180px) {