add some files

This commit is contained in:
Arina Yakovenko 2024-07-08 11:55:33 +02:00
parent e6fdbf7a94
commit d824da5a39
4 changed files with 25 additions and 4 deletions

21
app.vue Normal file
View File

@ -0,0 +1,21 @@
<template>
<div>
<MlButton
:pt="{
root: { class: '' },
outer: { class: 'bg-gradient-to-r from-accent1 to-accent2' },
inner: { class: 'dark:bg-gradient-to-r bg-white' },
}"
>
Let's talk
</MlButton>
</div>
</template>
<script setup>
</script>
<style lang="scss" scoped>
</style>

3
assets/css/main.css Normal file
View File

@ -0,0 +1,3 @@
@tailwind base;
@tailwind components;
@tailwind utilities;

View File

@ -1,5 +1,6 @@
// https://nuxt.com/docs/api/configuration/nuxt-config
export default defineNuxtConfig({
css: ["~/assets/css/main.css"],
modules: ["@nuxtjs/tailwindcss", "@nuxtjs/color-mode", "~/modules/module"],
compatibilityDate: "2024-04-03",
devtools: { enabled: true },

View File

@ -1,10 +1,6 @@
import type { SpinnerSize, SpinnerColor } from '../Spinner/types';
export type ButtonProps = {
rounded?: boolean;
pt?: PTAttribs;
spinerSize?: SpinnerSize;
spinerColor?: SpinnerColor;
spinerPlace?: spinerPlace;
showSpiner?: boolean;
};