From 05ecc605dfc2b3938eac4bc46e5aa87d57267fe5 Mon Sep 17 00:00:00 2001 From: koziavin Date: Thu, 12 Jun 2025 02:10:43 +0400 Subject: [PATCH] add component base --- src/components/Typography/UiHeading.vue | 48 ++++++++++++++++++++++ src/components/Typography/UiParagraph.vue | 45 ++++++++++++++++++++ src/components/UiButton/UiButton.params.ts | 10 +++++ src/components/UiButton/UiButton.vue | 45 ++++++++++++++++++++ 4 files changed, 148 insertions(+) create mode 100644 src/components/Typography/UiHeading.vue create mode 100644 src/components/Typography/UiParagraph.vue create mode 100644 src/components/UiButton/UiButton.params.ts create mode 100644 src/components/UiButton/UiButton.vue diff --git a/src/components/Typography/UiHeading.vue b/src/components/Typography/UiHeading.vue new file mode 100644 index 0000000..3c91ff9 --- /dev/null +++ b/src/components/Typography/UiHeading.vue @@ -0,0 +1,48 @@ + + + diff --git a/src/components/Typography/UiParagraph.vue b/src/components/Typography/UiParagraph.vue new file mode 100644 index 0000000..105854e --- /dev/null +++ b/src/components/Typography/UiParagraph.vue @@ -0,0 +1,45 @@ + + + diff --git a/src/components/UiButton/UiButton.params.ts b/src/components/UiButton/UiButton.params.ts new file mode 100644 index 0000000..681734a --- /dev/null +++ b/src/components/UiButton/UiButton.params.ts @@ -0,0 +1,10 @@ +export const colorVariants = { + primary: ['bg-accent-50', 'text-primary', 'hover:bg-accent-100', 'active:bg-accent-150'], + secondary: [ + 'bg-transparent', + 'text-primary', + 'hover:bg-accent-50', + 'border:bg-accent-50', + 'border', + ], +} diff --git a/src/components/UiButton/UiButton.vue b/src/components/UiButton/UiButton.vue new file mode 100644 index 0000000..5f54b78 --- /dev/null +++ b/src/components/UiButton/UiButton.vue @@ -0,0 +1,45 @@ + + + -- 2.49.0