(tone: 'warn' | 'error')
| 263 | } |
| 264 | |
| 265 | export function issueToneClass(tone: 'warn' | 'error') { |
| 266 | return tone === 'warn' |
| 267 | ? 'border-[#F0DDC6] bg-[#FFF7EE] text-[#94663C]' |
| 268 | : 'border-[#E8C6BC] bg-[#FFF2EE] text-[#A34D3E]'; |
| 269 | } |
| 270 | |
| 271 | export function labelForPermissionMode(mode?: string | null) { |
| 272 | switch (mode) { |
no outgoing calls
no test coverage detected