MCPcopy Create free account
hub / github.com/ZenNotes/zennotes / statusChipClass

Function statusChipClass

packages/app-core/src/components/SettingsModal.tsx:5600–5604  ·  view source on GitHub ↗
(tone: 'ok' | 'warn' | 'off')

Source from the content-addressed store, hash-verified

5598}
5599
5600function statusChipClass(tone: 'ok' | 'warn' | 'off'): string {
5601 if (tone === 'ok') return 'border-accent/25 bg-accent/10 text-accent'
5602 if (tone === 'warn') return 'border-amber-500/30 bg-amber-500/10 text-amber-500'
5603 return 'border-paper-300/70 bg-paper-100/85 text-ink-500'
5604}
5605
5606function McpClientRow({
5607 title,

Callers 4

CliSettingsFunction · 0.85
RaycastExtensionSettingsFunction · 0.85
McpSettingsFunction · 0.85
McpClientRowFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected