Skip to content

Commit

Permalink
[front] - fix: change button variant from 'ghost' to 'outline' (#8219)
Browse files Browse the repository at this point in the history
- Altered the style of buttons in assistant_builder and vault categories to use the 'outline' variant for better visual clarity

[sparkle] - fix: update cancel button variant in Dialog component

 - Adjusted the cancel button styling to 'outline' to maintain consistency with design changes across components

Co-authored-by: Jules <[email protected]>
  • Loading branch information
JulesBelveze and Jules authored Oct 24, 2024
1 parent 4276b64 commit ed56419
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion front/components/assistant_builder/ActionsScreen.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -606,7 +606,7 @@ function ActionCard({
<div className="w-full truncate">{spec.label}</div>
<IconButton
icon={XMarkIcon}
variant="ghost"
variant="outline"
size="sm"
onClick={(e) => {
deleteAction();
Expand Down
2 changes: 1 addition & 1 deletion front/components/vaults/VaultCategoriesList.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -177,7 +177,7 @@ export const VaultCategoriesList = ({
label="Space settings"
icon={Cog6ToothIcon}
onClick={onButtonClick}
variant="ghost"
variant="outline"
/>
)}
<DropdownMenu>
Expand Down
2 changes: 1 addition & 1 deletion sparkle/src/components/Dialog.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@ export function Dialog({
{props.onCancel && (
<Button
label={props.cancelLabel ?? "Cancel"}
variant="ghost"
variant="outline"
onClick={props.onCancel}
/>
)}
Expand Down

0 comments on commit ed56419

Please sign in to comment.