konnos
Dashboard
flndrn
Briven
apps
studio
components
interfaces
Settings
Infrastructure
InfrastructureConfiguration
InstanceNode.utils.ts
InstanceNode.utils.ts
5 lines ·
main
1
export function metricColor(value: number): string {
2
if (value >= 90) return 'text-destructive'
3
if (value >= 80) return 'text-warning'
4
return 'text-foreground-light'
5
}