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

feat(components/atom/tag): Customize background for close icon #2462

Merged
merged 2 commits into from
Nov 10, 2022

Conversation

manjarcode
Copy link
Collaborator

@manjarcode manjarcode commented Nov 10, 2022

Allows to customize the close icon background and color when mouse hover

Category/Component

❓ Ask

TASK: https://jira.scmspain.com/browse/PI-52232

Types of changes

  • 🪲 Bug fix (non-breaking change which fixes an issue)
  • ✨ New feature (non-breaking change which adds functionality)
  • 💥 Breaking change (fix or feature that would cause existing functionality to not work as expected)
  • 🧾 Documentation
  • 📷 Demo
  • 🧪 Test
  • 🧠 Refactor
  • 💄 Styles

Description, Motivation and Context

In jobs we want to customize the close icon hover color to improve the UX
https://www.figma.com/file/x80a9OA3Q6bk182smlfZsl/CV_Refactor?node-id=2002%3A334&t=RsscI4T8ihl0YsBp-0

Screenshots - Animations

We want to customize this default close icon color
image

According to this we want to customize this default close icon background color (when hover)
image

The custom type config for the icon color
image

The custom type config for the icon background (when hover)
image

@github-actions
Copy link

STATEMENTS BRANCHES FUNCTIONS LINES
≍ 0= ≍ 0= ≍ 0= ≍ 0=
% 72.43 58.73 60.48 74.16
ABS 2825 / 3900 1617 / 2753 525 / 868 2719 / 3666

@@ -206,6 +209,7 @@ $base-class: '.sui-AtomTag';
fill: $c;

&#{$self}-actionable {
border: 1px solid;
Copy link
Collaborator

Choose a reason for hiding this comment

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

Suggested change
border: 1px solid;
border: $bdw-s solid;

SUI-Theme

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

I missed this one! it was only for testing I will remove it!

@github-actions
Copy link

STATEMENTS BRANCHES FUNCTIONS LINES
≍ 0= ≍ 0= ≍ 0= ≍ 0=
% 72.43 58.73 60.48 74.16
ABS 2825 / 3900 1617 / 2753 525 / 868 2719 / 3666

@manjarcode manjarcode merged commit 664a703 into master Nov 10, 2022
@manjarcode manjarcode deleted the feat/atomTag-customize-close-icon-bg-color branch November 10, 2022 11:40
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.

4 participants