From 4186546e512dd050a794a00b30ed8cdf2e265ac5 Mon Sep 17 00:00:00 2001 From: Nassim Jahnke Date: Sat, 2 Apr 2022 21:32:56 +0200 Subject: [PATCH] Update close and disabled buttons --- frontend-new/src/components/design/Button.vue | 6 +++--- frontend-new/src/components/modals/ChannelModal.vue | 2 +- frontend-new/src/components/modals/DeletePageModal.vue | 2 +- frontend-new/src/components/modals/DiffModal.vue | 2 +- frontend-new/src/components/modals/MarkdownModal.vue | 2 +- frontend-new/src/components/modals/NewPageModal.vue | 2 +- frontend-new/src/components/modals/TaglineModal.vue | 7 +++---- frontend-new/src/components/modals/TextAreaModal.vue | 2 +- .../src/components/modals/VisibilityChangerModal.vue | 2 +- frontend-new/windi.config.ts | 4 +++- 10 files changed, 16 insertions(+), 15 deletions(-) diff --git a/frontend-new/src/components/design/Button.vue b/frontend-new/src/components/design/Button.vue index 0c2d4632..c1de8947 100644 --- a/frontend-new/src/components/design/Button.vue +++ b/frontend-new/src/components/design/Button.vue @@ -8,10 +8,12 @@ const props = withDefaults( defineProps<{ disabled?: boolean; size?: "small" | "medium" | "large"; + type?: "primary" | "gray"; }>(), { disabled: false, size: "small", + type: "primary", } ); const paddingClass = computed(() => { @@ -32,9 +34,7 @@ const paddingClass = computed(() => {