From a7f677aafcf58e112c7da8aa2c3f9a62b741982f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Hannes=20K=C3=BCttner?= Date: Fri, 22 Dec 2023 15:40:58 +0100 Subject: [PATCH] fix: Respect Directus theming --- src/group-tabs.vue | 2 +- src/tab-button.vue | 34 ++++++++++++---------------------- src/tab-group.vue | 4 ++-- src/tab-panel.vue | 29 ----------------------------- 4 files changed, 15 insertions(+), 54 deletions(-) diff --git a/src/group-tabs.vue b/src/group-tabs.vue index bf4ef84..5acb219 100644 --- a/src/group-tabs.vue +++ b/src/group-tabs.vue @@ -114,7 +114,7 @@ function useComputedGroup() { diff --git a/src/tab-button.vue b/src/tab-button.vue index af61caf..9464aa6 100644 --- a/src/tab-button.vue +++ b/src/tab-button.vue @@ -34,51 +34,41 @@ const { t } = useI18n(); diff --git a/src/tab-group.vue b/src/tab-group.vue index caa8e1b..3f6ccc7 100644 --- a/src/tab-group.vue +++ b/src/tab-group.vue @@ -68,8 +68,8 @@ function onKeyDown(event: KeyboardEvent) { display: flex; gap: 0 0.5rem; padding: 2px; - border-radius: var(--border-radius-outline); - background-color: var(--background-subdued); + border-radius: var(--theme--border-radius); + background-color: var(--theme--background-subdued); flex-wrap: wrap; } diff --git a/src/tab-panel.vue b/src/tab-panel.vue index 3e2fb1d..d23da7e 100644 --- a/src/tab-panel.vue +++ b/src/tab-panel.vue @@ -47,32 +47,3 @@ const { fieldsInSection } = useGroupSection(toRefs(props)); /> - -