From 92bd83536fd1ca84e71d27c3682153cc8eb27d84 Mon Sep 17 00:00:00 2001
From: Corentin Thomasset <corentin.thomasset74@gmail.com>
Date: Sun, 23 Apr 2023 22:26:32 +0200
Subject: feat(ui-lib): demo pages for c-lib components

---
 src/ui/c-button/c-button.vue | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

(limited to 'src/ui/c-button/c-button.vue')

diff --git a/src/ui/c-button/c-button.vue b/src/ui/c-button/c-button.vue
index f52a069..2cbc4fd 100644
--- a/src/ui/c-button/c-button.vue
+++ b/src/ui/c-button/c-button.vue
@@ -14,6 +14,7 @@
 <script lang="ts" setup>
 import type { RouteLocationRaw } from 'vue-router';
 import { useTheme } from './c-button.theme';
+import { useAppTheme } from '../theme/themes';
 
 const props = withDefaults(
   defineProps<{
@@ -56,11 +57,11 @@ const tag = computed(() => {
   }
   return 'button';
 });
+const appTheme = useAppTheme();
 </script>
 
 <style lang="less" scoped>
 .c-button {
-  margin: 0;
   line-height: 1;
   font-family: inherit;
   font-size: inherit;
@@ -103,7 +104,7 @@ const tag = computed(() => {
   }
 
   &:focus {
-    outline: 2px solid v-bind('variantTheme.outline.color');
+    outline: 1px solid v-bind('appTheme.primary.color');
   }
 
   &.disabled {
-- 
cgit v1.2.3

