Skip to content

Commit

Permalink
fix: scanner text contrast when light mode
Browse files Browse the repository at this point in the history
  • Loading branch information
manuel-rw committed Jan 29, 2024
1 parent 2a20f79 commit a37729f
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
2 changes: 1 addition & 1 deletion GrocyScanner.Service/Shared/MainLayout.razor
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
<MudNavLink Icon="@Icons.Material.Filled.Settings" Href="/settings" Match="NavLinkMatch.All">Settings</MudNavLink>
</MudNavMenu>
</MudDrawer>
<MudMainContent>
<MudMainContent Class="@(_isDarkTheme ? "theme-dark" : "theme-light")">
<div class="position-relative px-3 py-2 mx-auto h-100" style="max-width: 900px;">
<Warnings />
@Body
Expand Down
4 changes: 4 additions & 0 deletions GrocyScanner.Service/wwwroot/css/site.css
Original file line number Diff line number Diff line change
Expand Up @@ -70,3 +70,7 @@ a, .btn-link {
html, html body, html body .mud-layout .mud-main-content {
height: 100%;
}

.theme-light h4, .theme-light span {
color: var(--bs-gray-200);
}

0 comments on commit a37729f

Please sign in to comment.