Skip to content

Cancel button ButtonVariant #59

Description

@hateofhades

What: Replace the raw <button> cancel buttons in ExportModal and ImportModal with the Button component via a new ButtonVariant::Ghost (or ButtonVariant::Cancel).
Pros: Centralized styling — if the cancel style ever changes, one place to update.
Cons: Requires adding a new ButtonVariant to button.rs.
Context: Both modals render button { class: "flex-1 bg-surface2 border border-edge rounded-[10px] px-3 py-2 text-sm text-muted ..." } directly. A ButtonVariant::Ghost would encapsulate this style.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions