Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

buttons rework: align to design specs #239

Merged
merged 18 commits into from
Dec 13, 2024

Conversation

smallTrogdor
Copy link
Contributor

@smallTrogdor smallTrogdor commented Dec 10, 2024

What was done

  • deprecate all buttons not in design specs (as seen in CHANGELOG.md)
  • fix buttonHeight of SBBTertiaryButtonSmall (40 -> 32)
  • fix coloring off from the design specs
  • simplify the theming (remove the ButtonStyleExtension)

closes #214

caused by #214

@smallTrogdor smallTrogdor requested a review from a team as a code owner December 10, 2024 17:27
@smallTrogdor smallTrogdor changed the title feat/align-buttons-to-design-specs buttons rework: align to design specs Dec 10, 2024
@smallTrogdor smallTrogdor self-assigned this Dec 10, 2024
@smallTrogdor smallTrogdor added the component review Review of components label Dec 10, 2024
Copy link
Collaborator

@VanHoangTran VanHoangTran left a comment

Choose a reason for hiding this comment

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

use small variant of icons

@@ -16,79 +16,51 @@ class ButtonPage extends StatelessWidget {
const ThemeModeSegmentedButton(),
const SizedBox(height: sbbDefaultSpacing),
const SBBListHeader('Primary Button'),
// const SBBListHeader('Default | Disabled | Loading', textStyle: SBBTextStyles.extraSmallLight),
Copy link
Collaborator

Choose a reason for hiding this comment

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

Delete

label: 'Tertiary Button Large Icon',
icon: SBBIcons.plus_small,
label: 'Icon',
icon: SBBIcons.dog_medium,
Copy link
Collaborator

Choose a reason for hiding this comment

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

use small icons

@smallTrogdor smallTrogdor merged commit f253170 into main Dec 13, 2024
8 checks passed
@smallTrogdor smallTrogdor deleted the feat/align-buttons-to-design-specs branch December 13, 2024 13:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
component review Review of components
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[Review]: Button review
2 participants