mirror of
https://github.com/bitbaum/loki.git
synced 2026-12-04 10:48:20 +01:00
fix(tokens): replace remaining bg-white/* indicator dots with bg-status-neutral
3 inactive state dots (never-run, low-progress) → bg-status-neutral. 2 intentional exceptions remain: hover:border-white/60 on goal checkboxes (interactive 60% hover highlight has no defined token equivalent). Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
1 parent
3b3b8ce391
commit
4cb631e856
3 files changed
+3
-3
No files matched your search
@@ -18,7 +18,7 @@ function JobRow({ job, onToggle }: { job: LinkedJob; onToggle: (id: string, enab
|
||||
className="flex items-center gap-2.5 px-3 py-2.5 cursor-pointer hover:bg-surface-base transition-colors"
|
||||
onClick={() => setExpanded(!expanded)}
|
||||
>
|
||||
<div className={`h-1.5 w-1.5 rounded-full shrink-0 ${hasError ? "bg-status-negative" : job.enabled ? "bg-status-positive" : "bg-white/20"}`} />
|
||||
<div className={`h-1.5 w-1.5 rounded-full shrink-0 ${hasError ? "bg-status-negative" : job.enabled ? "bg-status-positive" : "bg-status-neutral"}`} />
|
||||
<div className="flex-1 min-w-0">
|
||||
<div className="text-xs text-text-primary truncate">{job.name}</div>
|
||||
<div className="text-[10px] text-text-muted font-mono mt-0.5">{job.schedule}</div>
|
||||
|
||||
@@ -10,7 +10,7 @@ import { JobDetail } from "./JobDetail";
|
||||
|
||||
function StatusDot({ status, errors }: { status?: string; errors?: number }) {
|
||||
if (!status || status === "never")
|
||||
return <span className="h-2 w-2 rounded-full bg-white/20 shrink-0" title="Never run" />;
|
||||
return <span className="h-2 w-2 rounded-full bg-status-neutral shrink-0" title="Never run" />;
|
||||
if (status === "ok" || status === "completed")
|
||||
return <span className="ui-dot ui-dot-positive shrink-0" title="OK" />;
|
||||
if (errors && errors > 0)
|
||||
|
||||
@@ -38,7 +38,7 @@ export async function GoalsDueCard() {
|
||||
<div className="w-10 h-1 bg-surface-overlay rounded-full overflow-hidden">
|
||||
<div
|
||||
className={`h-full rounded-full ${
|
||||
progress >= 80 ? "bg-status-positive" : progress >= 50 ? "bg-status-warning" : "bg-white/25"
|
||||
progress >= 80 ? "bg-status-positive" : progress >= 50 ? "bg-status-warning" : "bg-status-neutral"
|
||||
}`}
|
||||
style={{ width: `${Math.max(progress, 2)}%` }}
|
||||
/>
|
||||
|
||||
Reference in new issue
Block a user