Skip to content

Conversation

krgjert
Copy link
Member

@krgjert krgjert commented Nov 14, 2026

Purpose

Make button styling consistent across the application and reduce duplicated styles by using shared components.

Changes

  • Added default, dark, secondary, danger, and text variants to Button.
  • Added support for navigation through <Button to="...">.
  • Created TextButton using the shared button component.
  • Migrated account, authentication, build, notification, and catalogue actions to shared buttons.
  • Removed local colour and hover overrides from migrated buttons.
  • Moved build-action labels and optional icons into AddToBuildButton.
  • Standardised header action styling and removed borders from component-list action icons.
  • Updated the Clear build dialog to use secondary and danger.

Related issues

None

Checklist

  • I have reviewed my own changes.
  • The changes meet the linked issue's acceptance criteria, where applicable.
  • I have verified the changes and recorded the results above.
  • I have added or updated tests where needed.
  • I have updated documentation where needed.
  • I have included screenshots for visual changes, or marked them not applicable.

@krgjert krgjert added the enhancement New feature or request label Nov 14, 2026
@krgjert krgjert added this to the 4. underveisinnlevering milestone Nov 14, 2026
@krgjert krgjert self-assigned this Nov 14, 2026
@krgjert krgjert requested a review from a team as a code owner November 14, 2026 16:48
Copy link
Member

@wilhelsr wilhelsr left a comment

Choose a reason for hiding this comment

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

Approved, this is a way better than before.

@wilhelsr wilhelsr merged commit 9f0bd5e into dev Nov 14, 2026
@wilhelsr wilhelsr deleted the 132-standardize-button-components-and-styling branch November 14, 2026 17:41
Sign in to join this conversation on GitHub.
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants