You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@sheremet-va Vitest should provide somehow at minimum 2 colorsets (until custom colors for project names come out), following an accessible dark/light theme convention, because when running Vitest with workspaces, either in a terminal with dark background or in Github Actions with dark background, it's not accessible (especially on Github actions) :
I was surprised to discover that in Vitest 3, project names are completely unreadable in my terminal with a dark color scheme. The big blank space on the left in the screenshot below is where (invisible) project names are printed. I've obscured the filenames on the right since this is a non-public codebase.
@rgrove And I guess you're being pretty unlucky because your terminal background is exactly the same black color Vitest is using (from tinyrainbow library), so you don't see it at all π΅
Activity
AriPerkkio commentedon Sep 12, 2024
Related to #6338
kevinmarrec commentedon Jan 19, 2025
@sheremet-va Vitest should provide somehow at minimum 2 colorsets (until custom colors for project names come out), following an accessible dark/light theme convention, because when running Vitest with workspaces, either in a terminal with dark background or in Github Actions with dark background, it's not accessible (especially on Github actions) :
rgrove commentedon Jan 27, 2025
I was surprised to discover that in Vitest 3, project names are completely unreadable in my terminal with a dark color scheme. The big blank space on the left in the screenshot below is where (invisible) project names are printed. I've obscured the filenames on the right since this is a non-public codebase.
kevinmarrec commentedon Jan 27, 2025
I think the first color picked is
black:vitest/packages/vitest/src/node/reporters/renderers/utils.ts
Line 226 in 9acc13f
@rgrove And I guess you're being pretty unlucky because your terminal background is exactly the same
blackcolor Vitest is using (fromtinyrainbowlibrary), so you don't see it at all π΅rgrove commentedon Jan 27, 2025
Yeah, that looks like the problem! Seems like this issue with dark backgrounds could be mitigated by removing black from the list of possible colors?
kevinmarrec commentedon Jan 27, 2025
I guess it could be indeed a first step before letting us customize the colors from the config options.