summaryrefslogtreecommitdiff
path: root/Pages/Component
diff options
context:
space:
mode:
Diffstat (limited to 'Pages/Component')
-rw-r--r--Pages/Component/AboutDialog.razor4
-rw-r--r--Pages/Component/TagEditDialog.razor9
-rw-r--r--Pages/Component/TagSelectDialog.razor9
3 files changed, 17 insertions, 5 deletions
diff --git a/Pages/Component/AboutDialog.razor b/Pages/Component/AboutDialog.razor
index 888040e..f696549 100644
--- a/Pages/Component/AboutDialog.razor
+++ b/Pages/Component/AboutDialog.razor
@@ -684,7 +684,9 @@
<ProgressBar @ref=progressBar />
</div>
<ButtonContainer>
- <button @onclick=Hide>Close</button>
+ <Button
+ BackgroundColor=Color.ButtonPrimary
+ OnClick=@(async () => Hide())>Close</Button>
</ButtonContainer>
</Dialog>
diff --git a/Pages/Component/TagEditDialog.razor b/Pages/Component/TagEditDialog.razor
index 14d8c27..203c6ec 100644
--- a/Pages/Component/TagEditDialog.razor
+++ b/Pages/Component/TagEditDialog.razor
@@ -22,8 +22,13 @@
</label>
<input type="text" @bind=tagAlias/>
<ButtonContainer>
- <button @onclick=Hide class="secondary">Cancel</button>
- <button @onclick=Submit>@(TagDefinition is null ? "Create" : "Apply")</button>
+ <Button OnClick=@(async () => Hide())>Cancel</Button>
+ <Button
+ BackgroundColor=Color.ButtonPrimary
+ OnClick=@(async () => Submit())>
+
+ @(TagDefinition is null ? "Create" : "Apply")
+ </Button>
</ButtonContainer>
</Dialog>
diff --git a/Pages/Component/TagSelectDialog.razor b/Pages/Component/TagSelectDialog.razor
index 5872ce7..8a9e893 100644
--- a/Pages/Component/TagSelectDialog.razor
+++ b/Pages/Component/TagSelectDialog.razor
@@ -50,9 +50,14 @@
break;
}
<ButtonContainer>
- <button @onclick=@(() => dialog.Hide()) class="secondary">Cancel</button>
+ <Button OnClick=@(async () => dialog.Hide())>Cancel</Button>
@if(state == ComponentState.Loaded) {
- <button @onclick=@(() => Submit())>Accept</button>
+ <Button
+ BackgroundColor=Color.ButtonPrimary
+ OnClick=@(async () => Submit())>
+
+ Accept
+ </Button>
}
</ButtonContainer>
</Dialog>