Skip to content

Commit eb626ad

Browse files
authored
[Blazor] Apply color-scheme to error UI (#57173)
1 parent 12086fe commit eb626ad

File tree

2 files changed

+2
-0
lines changed
  • src/ProjectTemplates/Web.ProjectTemplates/content

2 files changed

+2
-0
lines changed

src/ProjectTemplates/Web.ProjectTemplates/content/BlazorWeb-CSharp/BlazorWeb-CSharp/Components/Layout/MainLayout.razor.css

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -79,6 +79,7 @@ main {
7979

8080
/*#endif*/
8181
#blazor-error-ui {
82+
color-scheme: light only;
8283
background: lightyellow;
8384
bottom: 0;
8485
box-shadow: 0 -1px 2px rgba(0, 0, 0, 0.2);

src/ProjectTemplates/Web.ProjectTemplates/content/ComponentsWebAssembly-CSharp/wwwroot/css/app.css

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,7 @@ a, .btn-link {
3939
}
4040

4141
#blazor-error-ui {
42+
color-scheme: light only;
4243
background: lightyellow;
4344
bottom: 0;
4445
box-shadow: 0 -1px 2px rgba(0, 0, 0, 0.2);

0 commit comments

Comments
 (0)