Skip to content

Commit

Permalink
Revert "feat(components): add tertiary intent to Button"
Browse files Browse the repository at this point in the history
This reverts commit e97e537.

Accidental push to main 😇
  • Loading branch information
joshuagraber committed Jan 30, 2024
1 parent e97e537 commit 0650150
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 12 deletions.
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@
"scripts": {
"_commit": "cz",
"build": "vite build && vue-tsc && npm run badges:build",
"build:watch": "vite build && vue-tsc --watch",
"build:watch": "npm run build -- --watch",
"ci": "npm run clean && npm ci",
"clean": "run-p clean:*",
"clean:deps": "rimraf node_modules",
Expand Down Expand Up @@ -138,4 +138,4 @@
"path": "./node_modules/cz-conventional-changelog"
}
}
}
}
10 changes: 1 addition & 9 deletions src/components/Button/PdapButton.vue
Original file line number Diff line number Diff line change
Expand Up @@ -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 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 mx-1 px-6 py-2 rounded-none text-center text-lg w-full;
@apply hover:brightness-85 lg:text-xl sm:max-w-max;
}
Expand All @@ -49,13 +49,5 @@ 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;
}
}
</style>
2 changes: 1 addition & 1 deletion src/components/Button/types.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
export interface PdapButtonProps {
intent?: 'primary' | 'secondary' | 'tertiary';
intent?: 'primary' | 'secondary';
isLoading?: boolean;
}

0 comments on commit 0650150

Please sign in to comment.