Skip to content

Commit

Permalink
feat: use consistent font sizes in buttons (#1281) (#1290)
Browse files Browse the repository at this point in the history
* feat: use consistent font sizes in buttons

Signed-off-by: Viraj Sanghvi <virajs@amazon.com>

* Update button groups to use small font size and changelog

Signed-off-by: Viraj Sanghvi <virajs@amazon.com>

* Update button font-size for v7

Signed-off-by: Viraj Sanghvi <virajs@amazon.com>

---------

Signed-off-by: Viraj Sanghvi <virajs@amazon.com>
Signed-off-by: Viraj Sanghvi <vsanghvi@gmail.com>
Signed-off-by: Ashwin P Chandran <ashwinpc@amazon.com>
Co-authored-by: Ashwin P Chandran <ashwinpc@amazon.com>
(cherry picked from commit ae87c7e)
Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>

# Conflicts:
#	CHANGELOG.md

Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
  • Loading branch information
1 parent bb19179 commit b133971
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
.ouiButtonGroupButton {
@include ouiButtonBase;
@include ouiFont;
@include ouiFontSize;
@include ouiFontSizeS;

// sass-lint:disable-block indentation
transition: background-color $ouiAnimSpeedNormal ease-in-out,
Expand Down
2 changes: 1 addition & 1 deletion src/global_styling/mixins/_button.scss
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@
@mixin ouiButton {
@include ouiButtonBase;
@include ouiFont;
@include ouiFontSize;
@include ouiFontSizeS;

text-decoration: none;
border: solid 1px transparent;
Expand Down
2 changes: 1 addition & 1 deletion src/themes/oui-next/global_styling/mixins/_button.scss
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@
@mixin ouiButton {
@include ouiButtonBase;
@include ouiFont;
@include ouiFontSize;
@include ouiFontSizeS;

text-decoration: none;
border: solid 1px transparent;
Expand Down

0 comments on commit b133971

Please sign in to comment.