Skip to content

Commit b35a7d1

Browse files
committed
style: Use colored circle icons for risk indicators
- 🔴 red for vulnerable - 🟡 yellow for partial risk - 🟢 green for safe - ⚪ white for unknown
1 parent b7d709a commit b35a7d1

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

pkg/output/table.go

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -361,13 +361,13 @@ func sortByRisk(crypto []cryptoDetail) {
361361
func riskIcon(risk types.QuantumRisk) string {
362362
switch risk {
363363
case types.RiskVulnerable:
364-
return "[!]"
364+
return "🔴"
365365
case types.RiskPartial:
366-
return "[~]"
366+
return "🟡"
367367
case types.RiskSafe:
368-
return "[OK]"
368+
return "🟢"
369369
default:
370-
return "[?]"
370+
return ""
371371
}
372372
}
373373

0 commit comments

Comments
 (0)