Update button sizes

Open
#388 0 comments 0 reactions 0 assignees View on GitHub

Maintainers usually reply within 3 days

Nobody has claimed this yet.

Assessment

Difficulty
4/5
Estimated time
3-5 days
Newbie friendliness
48/100
Issue type
Feature
Clarity
Mostly clear
Activity status
Active
Tech stack
figma, typescript
Domain
design, frontend

Research direction

Start by locating the button size definitions and the 32 px token usages, including the toast references, then compare the button component with the linked Figma designs. Update the sizes to Small (24 px), Medium (28 px), and Large (40 px), keeping Large as the default; align typography, spacing, icons, states, and each family’s color tokens. Document migration of existing size values and verify all six button families and toast usage.

Written by the indexing model from the issue text.

Description

The UI kit currently uses 24, 32, and 40 px button heights. Align the size names and heights with Figma: Small (24 px), Medium (28 px), and Large (40 px). Large stays the default.

Match Figma’s typography, spacing, icon sizes, and states across Brand, Neutral, Info, Warning, Error, and Success. Use each family’s own color tokens.

Document how to migrate existing size values and check where the 32 px token is used, including in toasts.

Button designs in Figma

Dominant language
TypeScript
Stars
36
Forks
14
Avg merge
2d 10h
Merged PRs (30d)
12

Getting set up

  • Ships a Dockerfile or Docker Compose file
  • No pull request template
  • No contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from suitenumerique/ui-kit

All issues in suitenumerique/ui-kit

Similar issues

More TypeScript issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.