Aspnetcore: Q: [Blazor] How can I change background color of Razor syntax in VS2019?

Created on 24 Apr 2019  路  3Comments  路  Source: dotnet/aspnetcore

In Vs2019, when we write Razor code VS2019 applies a dark gray background which makes the code harder to read in dark theme. How can I remove this BG color?

I checked in the Options|Fonts&Color, but couldn't find any reference.
Thanks!

area-mvc question

Most helpful comment

Tools > Options > Environment > Fonts and Colors
Display Items: HTML Razor Code Background

image

All 3 comments

Tools > Options > Environment > Fonts and Colors
Display Items: HTML Razor Code Background

image

@rjmr97 ;

Thank you Ricardo; Looks so much better
I missed it on the list as it was prefixed with HTML and I was searching for Razor.
Ended up fixing a few other color issues too.

@rjmr97 thanks for the assistance!

Was this page helpful?
0 / 5 - 0 ratings

Related issues

githubgitgit picture githubgitgit  路  3Comments

mj1856 picture mj1856  路  3Comments

farhadibehnam picture farhadibehnam  路  3Comments

FourLeafClover picture FourLeafClover  路  3Comments

aurokk picture aurokk  路  3Comments