Skip to content

refactor: Button components - #6929

Draft
IMB11 wants to merge 7 commits into
mainfrom
cal/new-button-api-cleanup
Draft

refactor: Button components#6929
IMB11 wants to merge 7 commits into
mainfrom
cal/new-button-api-cleanup

Conversation

@IMB11

@IMB11 IMB11 commented Jul 29, 2026

Copy link
Copy Markdown
Member

No description provided.

@IMB11
IMB11 requested a review from Prospector July 29, 2026 13:26
@modrinth-bot

Copy link
Copy Markdown
Member

Pull request changelog

App

Added

Changed

Deprecated

Removed

Fixed

Security

Website

Added

Changed

Deprecated

Removed

Fixed

Security

Hosting

Added

Changed

Deprecated

Removed

Fixed

Security

@modrinth-bot

Copy link
Copy Markdown
Member


export type ButtonType = 'base' | 'colored' | 'outlined' | 'quiet'

export type ButtonSize = 'sm' | 'default' | 'md' | 'lg'

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Imo it's kinda weird to have 'default' as one of the options. It's not really a size and default should just be medium.

What about 'sm' | 'md' | 'lg' | 'xl'?

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

Labels

None yet

Development

Successfully merging this pull request may close these issues.

3 participants