From 82ffc1ed574d741be03c43dfa300fefca0d042e0 Mon Sep 17 00:00:00 2001 From: Benjamin Canac Date: Wed, 5 Jun 2024 14:55:17 +0200 Subject: [PATCH] feat(Tabs): handle `color` and `variant` props Resolves #116 --- playground/pages/tabs.vue | 32 ++- src/runtime/components/Tabs.vue | 12 +- src/theme/tabs.ts | 95 ++++++++- test/components/Tabs.spec.ts | 6 + .../__snapshots__/Tabs.spec.ts.snap | 193 ++++++++++++------ 5 files changed, 263 insertions(+), 75 deletions(-) diff --git a/playground/pages/tabs.vue b/playground/pages/tabs.vue index 8c4e13be..d0f3708d 100644 --- a/playground/pages/tabs.vue +++ b/playground/pages/tabs.vue @@ -1,4 +1,14 @@ diff --git a/src/runtime/components/Tabs.vue b/src/runtime/components/Tabs.vue index 00f1fe9a..02e3f3b0 100644 --- a/src/runtime/components/Tabs.vue +++ b/src/runtime/components/Tabs.vue @@ -1,5 +1,5 @@