feat(ui-lib): demo pages for c-lib components

This commit is contained in:
Corentin Thomasset authored and Corentin THOMASSET committed 2023-04-23 22:43:06 +02:00
1 parent e88c1d5f2c
commit 92bd83536f
14 files changed
+294 -248

No files matched your search

+3 -2
View File
@@ -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 {