| 3 | import { theme } from '../semantic-colors.js' |
| 4 | |
| 5 | export interface ColorizeCodeOptions { |
| 6 | code: string |
| 7 | language?: string | null |
| 8 | availableHeight?: number |
| 9 | maxWidth: number |
| 10 | hideLineNumbers?: boolean |
| 11 | } |
| 12 | |
| 13 | const resolveLineColor = (line: string, language?: string | null): string => { |
| 14 | const isDiff = language === 'diff' || language === 'patch' |
nothing calls this directly
no outgoing calls
no test coverage detected