From 39e135d038ddc60afdc618efdce5b0739ed0bd17 Mon Sep 17 00:00:00 2001 From: Arina Yakovenko Date: Mon, 8 Jul 2024 13:15:04 +0200 Subject: [PATCH] add some code --- app.vue | 90 +++++++++++++++++++++++++++ package.json | 2 +- src/components/Ml/Button/MlButton.vue | 2 +- 3 files changed, 92 insertions(+), 2 deletions(-) create mode 100644 app.vue diff --git a/app.vue b/app.vue new file mode 100644 index 0000000..f0311fb --- /dev/null +++ b/app.vue @@ -0,0 +1,90 @@ + + + diff --git a/package.json b/package.json index 3edb7e0..fe8585f 100644 --- a/package.json +++ b/package.json @@ -3,7 +3,7 @@ "version": "1.2.6", "private": false, "type": "module", - "main": "index.js", + "main": "app.vue", "scripts": { "build": "nuxt build", "prepack": "nuxt build", diff --git a/src/components/Ml/Button/MlButton.vue b/src/components/Ml/Button/MlButton.vue index 79264b2..35c4bf0 100644 --- a/src/components/Ml/Button/MlButton.vue +++ b/src/components/Ml/Button/MlButton.vue @@ -26,7 +26,7 @@ const classes = ref({ class: `flex justify-center items-center disabled:opacity-60`, }, outer: { - class: `bg-gradient-to-r from-accent1 to-accent2 p-[2px] w-full focus:outline-none ${ + class: `p-[2px] w-full focus:outline-none ${ props.rounded ? "rounded-3xl" : "" }`, },