Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to remove Blazor code block background color?

I am trying out blazor webassembly app and on Visual Studio 2019 Dark theme, code blocks are highlighted with dark gray color which makes it harder to read, is there a way to remove it without switching to lighter theme?

I tried to find "Razor" and "Blazor" Under Options > font & colors

enter image description here

like image 843
pk_code Avatar asked Apr 17 '26 13:04

pk_code


1 Answers

Oddly enough I had to google this yesterday, as I hated the lack of contrast!

It's set under Tools => Options menu, in Fonts and Colors: Fonts and Colors options page

I set my background to match the editor background (which is RGB 30,30,30) so the backgrounds match:

Background color settings

like image 164
Quango Avatar answered Apr 21 '26 02:04

Quango