Added color to switch

This commit is contained in:
Thorsten Sommer 2024-07-27 22:57:56 +02:00
parent 6d2813a4bd
commit 54f0764b73
Signed by: tsommer
GPG Key ID: 371BBA77A02C0108
2 changed files with 2 additions and 2 deletions

View File

@ -16,7 +16,7 @@
</MudButton> </MudButton>
<MudStack Row="@false" Class="mb-3"> <MudStack Row="@false" Class="mb-3">
<MudSwitch T="bool" @bind-Value="@this.provideCompilerMessages"> <MudSwitch T="bool" @bind-Value="@this.provideCompilerMessages" Color="Color.Primary">
@(this.provideCompilerMessages ? "Provide compiler messages" : "Provide no compiler messages") @(this.provideCompilerMessages ? "Provide compiler messages" : "Provide no compiler messages")
</MudSwitch> </MudSwitch>
@if (this.provideCompilerMessages) @if (this.provideCompilerMessages)

View File

@ -4,7 +4,7 @@
@inherits AssistantBaseCore @inherits AssistantBaseCore
<MudField Label="Live translation" Variant="Variant.Outlined" Class="mb-3"> <MudField Label="Live translation" Variant="Variant.Outlined" Class="mb-3">
<MudSwitch T="bool" @bind-Value="@this.liveTranslation"> <MudSwitch T="bool" @bind-Value="@this.liveTranslation" Color="Color.Primary">
@(this.liveTranslation ? "Live translation" : "No live translation") @(this.liveTranslation ? "Live translation" : "No live translation")
</MudSwitch> </MudSwitch>
</MudField> </MudField>