diff --git a/package.json b/package.json index 677acc7..3fa96ab 100644 --- a/package.json +++ b/package.json @@ -96,7 +96,7 @@ "scripts": { "_commit": "cz", "build": "vite build && vue-tsc && npm run badges:build", - "build:watch": "npm run build -- --watch", + "build:watch": "vite build && vue-tsc --watch", "ci": "npm run clean && npm ci", "clean": "run-p clean:*", "clean:deps": "rimraf node_modules", @@ -138,4 +138,4 @@ "path": "./node_modules/cz-conventional-changelog" } } -} +} \ No newline at end of file diff --git a/src/components/Button/PdapButton.vue b/src/components/Button/PdapButton.vue index 219a7c8..a7d4bb4 100644 --- a/src/components/Button/PdapButton.vue +++ b/src/components/Button/PdapButton.vue @@ -30,7 +30,7 @@ const classes = reactive({ @layer components { .pdap-button { - @apply cursor-pointer border-2 border-brand-gold decoration-0 disabled:opacity-50 font-semibold inline-block mx-1 px-6 py-2 rounded-none text-center text-lg w-full; + @apply cursor-pointer border-2 border-brand-gold decoration-0 disabled:opacity-50 font-semibold inline-block px-6 py-2 rounded-none text-center text-lg w-full; @apply hover:brightness-85 lg:text-xl sm:max-w-max; } @@ -49,5 +49,13 @@ const classes = reactive({ .pdap-button-secondary[type='submit'] { @apply bg-transparent; } + + .pdap-button-tertiary { + @apply pdap-button bg-transparent border-2 border-transparent text-neutral-950; + } + + .pdap-button-tertiary[type='submit'] { + @apply bg-transparent; + } } diff --git a/src/components/Button/types.ts b/src/components/Button/types.ts index 2e7f0e4..0e7b016 100644 --- a/src/components/Button/types.ts +++ b/src/components/Button/types.ts @@ -1,4 +1,4 @@ export interface PdapButtonProps { - intent?: 'primary' | 'secondary'; + intent?: 'primary' | 'secondary' | 'tertiary'; isLoading?: boolean; }