Skip to content

Conversation

palbizu
Copy link
Contributor

@palbizu palbizu commented Sep 13, 2021

Description

Adding new style: Primary Reversed, being similar to primary but inverting colors.

Testing

Visual Testing

image

Checklist:

  • My changes generate no new warnings
  • I have added tests that prove my fix is effective or that my feature works
  • Any dependent changes have been merged and published in downstream modules

Documentation

Make sure that you have documented corresponding changes in this repository or hypertrace docs repo if required.

@palbizu palbizu requested a review from a team as a code owner September 13, 2021 22:09
@palbizu palbizu changed the title Button new style feat: button new style Sep 13, 2021
@codecov
Copy link

codecov bot commented Sep 13, 2021

Codecov Report

Merging #1121 (2d39afa) into main (ba10af3) will not change coverage.
The diff coverage is n/a.

Impacted file tree graph

@@           Coverage Diff           @@
##             main    #1121   +/-   ##
=======================================
  Coverage   85.10%   85.10%           
=======================================
  Files         822      822           
  Lines       17011    17011           
  Branches     2158     2158           
=======================================
  Hits        14478    14478           
  Misses       2502     2502           
  Partials       31       31           

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update ba10af3...2d39afa. Read the comment docs.

@github-actions

This comment has been minimized.

@github-actions

This comment has been minimized.

@@ -3,6 +3,7 @@ export const enum ButtonRole {
Primary = 'primary',
Secondary = 'secondary',
Tertiary = 'tertiary',
Quaternary = 'quaternary',
Copy link
Contributor

Choose a reason for hiding this comment

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

We might want a different name for this at some point, but I can't come up with anything better right now.

@@ -123,6 +135,10 @@
@include button-style(inherit, inherit, $blue-5, $blue-4);
}

&.primary-reversed {
Copy link
Contributor

Choose a reason for hiding this comment

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

This line needs to change also.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Removed here #1123

@palbizu palbizu merged commit a99596d into main Sep 14, 2021
@palbizu palbizu deleted the ButtonNewStyle branch September 14, 2021 14:47
@palbizu palbizu restored the ButtonNewStyle branch September 14, 2021 14:47
@github-actions
Copy link

Unit Test Results

    4 files  265 suites   16m 45s ⏱️
957 tests 957 ✔️ 0 💤 0 ❌
964 runs  964 ✔️ 0 💤 0 ❌

Results for commit a99596d.

@palbizu palbizu deleted the ButtonNewStyle branch September 14, 2021 14:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants