( themeName: ThemeName, env: CliEnv = getCliEnv(), )
| 96 | * Returns the primary green color with appropriate fallback. |
| 97 | */ |
| 98 | export function getLogoAccentColor( |
| 99 | themeName: ThemeName, |
| 100 | env: CliEnv = getCliEnv(), |
| 101 | ): string { |
| 102 | const isTruecolor = supportsTruecolor(env) |
| 103 | // The primary green color - 'lime' is CSS bright green |
| 104 | if (themeName === 'dark') { |
| 105 | return isTruecolor ? '#9EFC62' : 'lime' |
| 106 | } |
| 107 | return isTruecolor ? '#65A83E' : 'green' |
| 108 | } |
| 109 | |
| 110 | const IDE_THEME_INFERENCE = { |
| 111 | dark: [ |
no test coverage detected