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(button): new component specs #821

Merged
merged 2 commits into from
Jan 15, 2021

Conversation

badejayayesubabu
Copy link
Collaborator

@badejayayesubabu badejayayesubabu commented Jan 8, 2021

Description

<hx-button> : Implementing color palette styles

What are the relevant story cards/tickets? Any additional PRs or other references?

Jira: SURF-2152

Before you request a review for this PR:

  • For UI changes, did you manually test in recent versions of modern browsers (Chrome, Firefox, and Safari)?
  • For UI changes, did you manually test in IE11 and legacy Edge?
  • Did you add component tests for any new code?
  • Did you run the component unit tests via yarn test to ensure all tests passed?
  • Did you include a screenshot of the component tests?
  • If you changed/added functionality, did you update the demo page and documentation?
  • If needed, did you add or modify the demo test page to test the changed/added functionality?
  • Did you assign reviewers?
  • In Jira, have you linked to this PR on the ticket(s)?

@netlify
Copy link

netlify bot commented Jan 8, 2021

Deploy preview for helix-ui ready!

Built with commit 368013d

https://deploy-preview-821--helix-ui.netlify.app

@100stacks 100stacks added the 🆕 New Component Specs Updated Component Specifications label Jan 11, 2021
@100stacks 100stacks added this to the HelixUI-v2.0.0 milestone Jan 11, 2021
@@ -107,15 +107,15 @@
}

@mixin hxButton-active--primary {
background-color: $cyan-700;
background-color: $cyan-900;
Copy link
Member

Choose a reason for hiding this comment

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

Please update to the new v2.0 color variables:

// ============================= //
// ===== COLOR PALETTE 2.0 ===== //
// ============================= //
// ========================== //
// ===== PRIMARY COLORS ===== //
// ========================== //
// Blue - Primary
$blue-100: #e5f2fb;
$blue-300: #6ca3e1;
$blue-500: #367ed4;
$blue-700: #0051b7;
$blue-900: #003482;
// Purple - Primary
$purple-100: #f9e4f8;
$purple-300: #ad3da5;
$purple-500: #95098a;
$purple-700: #7d0572;
$purple-900: #64005a;
// Teal - Primary
$teal-100: #9defeb;
$teal-300: #34cecc;
$teal-500: #00bebc;
$teal-700: #00aab0;
$teal-900: #006e8d;
// ====================== //
// ===== GRAY SCALE ===== //
// ====================== //
$gray-0: #ffffff;
$gray-25: #fafafa;
$gray-50: #f5f5f5;
$gray-100: #eeeeee;
$gray-200: #e7e7e7;
$gray-300: #e0e0e0;
$gray-400: #d8d8d8;
$gray-500: #bdbdbd;
$gray-600: #9e9e9e;
$gray-700: #757575;
$gray-750: #6b6b6b;
$gray-800: #616161;
$gray-900: #424242;
$gray-950: #333333;
$gray-975: #212121;
$gray-1000: #000000;
// ========================= //
// ===== STATUS COLORS ===== //
// ========================= //
// Blue - Status
$blue-status-100: #e6eefd;
$blue-status-500: #296cdc;
$blue-status-900: #0b377f;
// Green - Status
$green-status-100: #f5fef9;
$green-status-500: #008b38;
$green-status-900: #00461c;
// 1.0 vars with 2.0 color palette values
$green-100: #f5fef9;
$green-500: #008b38;
$green-900: #00461c;
// Yellow - Status
$yellow-status-100: #ffe7b3;
$yellow-status-500: #ffc749;
$yellow-status-900: #b37c00;
// 1.0 vars with 2.0 color palette values
$yellow-100: #ffe7b3;
$yellow-500: #ffc749;
$yellow-900: #b37c00;
// Red - Status
$red-status-100: #fddcdc;
$red-status-500: #d6251f;
$red-status-900: #760300;
// 1.0 vars with 2.0 color palette values
$red-100: #fddcdc;
$red-500: #d6251f;
$red-900: #760300;
// ========================== //
// ===== ACCENT COLORS ===== //
// ========================== //
// Orange - Accent
$orange-accent-100: #ffe9cc;
$orange-accent-500: #fa9000;
$orange-accent-900: #ce7700;
// 1.0 vars with 2.0 color palette values
$orange-100: #ffe9cc;
$orange-500: #fa9000;
$orange-700: #dd6105; // 1.0 color var
$orange-900: #ce7700;
// Pink - Accent
$pink-accent-100: #fceff4;
$pink-accent-500: #db2b75;
$pink-accent-900: #960e48;
// Purple - Accent
$purple-accent-100: #f9e4f8;
$purple-accent-500: #95098a;
$purple-accent-900: #64005a;
// Cyan - Accent
$cyan-accent-100: #f6fafc;
$cyan-accent-500: #437d9a;
$cyan-accent-900: #1c3948;

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Changes have been done, Please review

@@ -124,7 +124,7 @@
}

@mixin hxButton-hover--primary {
background-color: $cyan-500;
background-color: $cyan-700;
Copy link
Member

Choose a reason for hiding this comment

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

Please update to the new v2.0 color variables:

// ============================= //
// ===== COLOR PALETTE 2.0 ===== //
// ============================= //
// ========================== //
// ===== PRIMARY COLORS ===== //
// ========================== //
// Blue - Primary
$blue-100: #e5f2fb;
$blue-300: #6ca3e1;
$blue-500: #367ed4;
$blue-700: #0051b7;
$blue-900: #003482;
// Purple - Primary
$purple-100: #f9e4f8;
$purple-300: #ad3da5;
$purple-500: #95098a;
$purple-700: #7d0572;
$purple-900: #64005a;
// Teal - Primary
$teal-100: #9defeb;
$teal-300: #34cecc;
$teal-500: #00bebc;
$teal-700: #00aab0;
$teal-900: #006e8d;
// ====================== //
// ===== GRAY SCALE ===== //
// ====================== //
$gray-0: #ffffff;
$gray-25: #fafafa;
$gray-50: #f5f5f5;
$gray-100: #eeeeee;
$gray-200: #e7e7e7;
$gray-300: #e0e0e0;
$gray-400: #d8d8d8;
$gray-500: #bdbdbd;
$gray-600: #9e9e9e;
$gray-700: #757575;
$gray-750: #6b6b6b;
$gray-800: #616161;
$gray-900: #424242;
$gray-950: #333333;
$gray-975: #212121;
$gray-1000: #000000;
// ========================= //
// ===== STATUS COLORS ===== //
// ========================= //
// Blue - Status
$blue-status-100: #e6eefd;
$blue-status-500: #296cdc;
$blue-status-900: #0b377f;
// Green - Status
$green-status-100: #f5fef9;
$green-status-500: #008b38;
$green-status-900: #00461c;
// 1.0 vars with 2.0 color palette values
$green-100: #f5fef9;
$green-500: #008b38;
$green-900: #00461c;
// Yellow - Status
$yellow-status-100: #ffe7b3;
$yellow-status-500: #ffc749;
$yellow-status-900: #b37c00;
// 1.0 vars with 2.0 color palette values
$yellow-100: #ffe7b3;
$yellow-500: #ffc749;
$yellow-900: #b37c00;
// Red - Status
$red-status-100: #fddcdc;
$red-status-500: #d6251f;
$red-status-900: #760300;
// 1.0 vars with 2.0 color palette values
$red-100: #fddcdc;
$red-500: #d6251f;
$red-900: #760300;
// ========================== //
// ===== ACCENT COLORS ===== //
// ========================== //
// Orange - Accent
$orange-accent-100: #ffe9cc;
$orange-accent-500: #fa9000;
$orange-accent-900: #ce7700;
// 1.0 vars with 2.0 color palette values
$orange-100: #ffe9cc;
$orange-500: #fa9000;
$orange-700: #dd6105; // 1.0 color var
$orange-900: #ce7700;
// Pink - Accent
$pink-accent-100: #fceff4;
$pink-accent-500: #db2b75;
$pink-accent-900: #960e48;
// Purple - Accent
$purple-accent-100: #f9e4f8;
$purple-accent-500: #95098a;
$purple-accent-900: #64005a;
// Cyan - Accent
$cyan-accent-100: #f6fafc;
$cyan-accent-500: #437d9a;
$cyan-accent-900: #1c3948;

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Changes have been done, Please review

@@ -155,23 +155,23 @@
}

@mixin hxButton-active--secondary {
background-color: $cyan-700;
background-color: $cyan-900;
Copy link
Member

Choose a reason for hiding this comment

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

Please update to the new v2.0 color variables:

// ============================= //
// ===== COLOR PALETTE 2.0 ===== //
// ============================= //
// ========================== //
// ===== PRIMARY COLORS ===== //
// ========================== //
// Blue - Primary
$blue-100: #e5f2fb;
$blue-300: #6ca3e1;
$blue-500: #367ed4;
$blue-700: #0051b7;
$blue-900: #003482;
// Purple - Primary
$purple-100: #f9e4f8;
$purple-300: #ad3da5;
$purple-500: #95098a;
$purple-700: #7d0572;
$purple-900: #64005a;
// Teal - Primary
$teal-100: #9defeb;
$teal-300: #34cecc;
$teal-500: #00bebc;
$teal-700: #00aab0;
$teal-900: #006e8d;
// ====================== //
// ===== GRAY SCALE ===== //
// ====================== //
$gray-0: #ffffff;
$gray-25: #fafafa;
$gray-50: #f5f5f5;
$gray-100: #eeeeee;
$gray-200: #e7e7e7;
$gray-300: #e0e0e0;
$gray-400: #d8d8d8;
$gray-500: #bdbdbd;
$gray-600: #9e9e9e;
$gray-700: #757575;
$gray-750: #6b6b6b;
$gray-800: #616161;
$gray-900: #424242;
$gray-950: #333333;
$gray-975: #212121;
$gray-1000: #000000;
// ========================= //
// ===== STATUS COLORS ===== //
// ========================= //
// Blue - Status
$blue-status-100: #e6eefd;
$blue-status-500: #296cdc;
$blue-status-900: #0b377f;
// Green - Status
$green-status-100: #f5fef9;
$green-status-500: #008b38;
$green-status-900: #00461c;
// 1.0 vars with 2.0 color palette values
$green-100: #f5fef9;
$green-500: #008b38;
$green-900: #00461c;
// Yellow - Status
$yellow-status-100: #ffe7b3;
$yellow-status-500: #ffc749;
$yellow-status-900: #b37c00;
// 1.0 vars with 2.0 color palette values
$yellow-100: #ffe7b3;
$yellow-500: #ffc749;
$yellow-900: #b37c00;
// Red - Status
$red-status-100: #fddcdc;
$red-status-500: #d6251f;
$red-status-900: #760300;
// 1.0 vars with 2.0 color palette values
$red-100: #fddcdc;
$red-500: #d6251f;
$red-900: #760300;
// ========================== //
// ===== ACCENT COLORS ===== //
// ========================== //
// Orange - Accent
$orange-accent-100: #ffe9cc;
$orange-accent-500: #fa9000;
$orange-accent-900: #ce7700;
// 1.0 vars with 2.0 color palette values
$orange-100: #ffe9cc;
$orange-500: #fa9000;
$orange-700: #dd6105; // 1.0 color var
$orange-900: #ce7700;
// Pink - Accent
$pink-accent-100: #fceff4;
$pink-accent-500: #db2b75;
$pink-accent-900: #960e48;
// Purple - Accent
$purple-accent-100: #f9e4f8;
$purple-accent-500: #95098a;
$purple-accent-900: #64005a;
// Cyan - Accent
$cyan-accent-100: #f6fafc;
$cyan-accent-500: #437d9a;
$cyan-accent-900: #1c3948;

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Changes have been done, Please review

}

@mixin hxButton-focus--secondary {
box-shadow: $focus-glow;
}

@mixin hxButton-hover--secondary {
background-color: $cyan-500;
background-color: $cyan-700;
Copy link
Member

Choose a reason for hiding this comment

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

Please update to the new v2.0 color variables:

// ============================= //
// ===== COLOR PALETTE 2.0 ===== //
// ============================= //
// ========================== //
// ===== PRIMARY COLORS ===== //
// ========================== //
// Blue - Primary
$blue-100: #e5f2fb;
$blue-300: #6ca3e1;
$blue-500: #367ed4;
$blue-700: #0051b7;
$blue-900: #003482;
// Purple - Primary
$purple-100: #f9e4f8;
$purple-300: #ad3da5;
$purple-500: #95098a;
$purple-700: #7d0572;
$purple-900: #64005a;
// Teal - Primary
$teal-100: #9defeb;
$teal-300: #34cecc;
$teal-500: #00bebc;
$teal-700: #00aab0;
$teal-900: #006e8d;
// ====================== //
// ===== GRAY SCALE ===== //
// ====================== //
$gray-0: #ffffff;
$gray-25: #fafafa;
$gray-50: #f5f5f5;
$gray-100: #eeeeee;
$gray-200: #e7e7e7;
$gray-300: #e0e0e0;
$gray-400: #d8d8d8;
$gray-500: #bdbdbd;
$gray-600: #9e9e9e;
$gray-700: #757575;
$gray-750: #6b6b6b;
$gray-800: #616161;
$gray-900: #424242;
$gray-950: #333333;
$gray-975: #212121;
$gray-1000: #000000;
// ========================= //
// ===== STATUS COLORS ===== //
// ========================= //
// Blue - Status
$blue-status-100: #e6eefd;
$blue-status-500: #296cdc;
$blue-status-900: #0b377f;
// Green - Status
$green-status-100: #f5fef9;
$green-status-500: #008b38;
$green-status-900: #00461c;
// 1.0 vars with 2.0 color palette values
$green-100: #f5fef9;
$green-500: #008b38;
$green-900: #00461c;
// Yellow - Status
$yellow-status-100: #ffe7b3;
$yellow-status-500: #ffc749;
$yellow-status-900: #b37c00;
// 1.0 vars with 2.0 color palette values
$yellow-100: #ffe7b3;
$yellow-500: #ffc749;
$yellow-900: #b37c00;
// Red - Status
$red-status-100: #fddcdc;
$red-status-500: #d6251f;
$red-status-900: #760300;
// 1.0 vars with 2.0 color palette values
$red-100: #fddcdc;
$red-500: #d6251f;
$red-900: #760300;
// ========================== //
// ===== ACCENT COLORS ===== //
// ========================== //
// Orange - Accent
$orange-accent-100: #ffe9cc;
$orange-accent-500: #fa9000;
$orange-accent-900: #ce7700;
// 1.0 vars with 2.0 color palette values
$orange-100: #ffe9cc;
$orange-500: #fa9000;
$orange-700: #dd6105; // 1.0 color var
$orange-900: #ce7700;
// Pink - Accent
$pink-accent-100: #fceff4;
$pink-accent-500: #db2b75;
$pink-accent-900: #960e48;
// Purple - Accent
$purple-accent-100: #f9e4f8;
$purple-accent-500: #95098a;
$purple-accent-900: #64005a;
// Cyan - Accent
$cyan-accent-100: #f6fafc;
$cyan-accent-500: #437d9a;
$cyan-accent-900: #1c3948;

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Changes have been done, Please review

@@ -184,7 +184,7 @@
@mixin hxButton--tertiary {
background-color: transparent;
border: 0;
color: $cyan-900;
color: $cyan-500;
Copy link
Member

Choose a reason for hiding this comment

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

Please update to the new v2.0 color variables:

// ============================= //
// ===== COLOR PALETTE 2.0 ===== //
// ============================= //
// ========================== //
// ===== PRIMARY COLORS ===== //
// ========================== //
// Blue - Primary
$blue-100: #e5f2fb;
$blue-300: #6ca3e1;
$blue-500: #367ed4;
$blue-700: #0051b7;
$blue-900: #003482;
// Purple - Primary
$purple-100: #f9e4f8;
$purple-300: #ad3da5;
$purple-500: #95098a;
$purple-700: #7d0572;
$purple-900: #64005a;
// Teal - Primary
$teal-100: #9defeb;
$teal-300: #34cecc;
$teal-500: #00bebc;
$teal-700: #00aab0;
$teal-900: #006e8d;
// ====================== //
// ===== GRAY SCALE ===== //
// ====================== //
$gray-0: #ffffff;
$gray-25: #fafafa;
$gray-50: #f5f5f5;
$gray-100: #eeeeee;
$gray-200: #e7e7e7;
$gray-300: #e0e0e0;
$gray-400: #d8d8d8;
$gray-500: #bdbdbd;
$gray-600: #9e9e9e;
$gray-700: #757575;
$gray-750: #6b6b6b;
$gray-800: #616161;
$gray-900: #424242;
$gray-950: #333333;
$gray-975: #212121;
$gray-1000: #000000;
// ========================= //
// ===== STATUS COLORS ===== //
// ========================= //
// Blue - Status
$blue-status-100: #e6eefd;
$blue-status-500: #296cdc;
$blue-status-900: #0b377f;
// Green - Status
$green-status-100: #f5fef9;
$green-status-500: #008b38;
$green-status-900: #00461c;
// 1.0 vars with 2.0 color palette values
$green-100: #f5fef9;
$green-500: #008b38;
$green-900: #00461c;
// Yellow - Status
$yellow-status-100: #ffe7b3;
$yellow-status-500: #ffc749;
$yellow-status-900: #b37c00;
// 1.0 vars with 2.0 color palette values
$yellow-100: #ffe7b3;
$yellow-500: #ffc749;
$yellow-900: #b37c00;
// Red - Status
$red-status-100: #fddcdc;
$red-status-500: #d6251f;
$red-status-900: #760300;
// 1.0 vars with 2.0 color palette values
$red-100: #fddcdc;
$red-500: #d6251f;
$red-900: #760300;
// ========================== //
// ===== ACCENT COLORS ===== //
// ========================== //
// Orange - Accent
$orange-accent-100: #ffe9cc;
$orange-accent-500: #fa9000;
$orange-accent-900: #ce7700;
// 1.0 vars with 2.0 color palette values
$orange-100: #ffe9cc;
$orange-500: #fa9000;
$orange-700: #dd6105; // 1.0 color var
$orange-900: #ce7700;
// Pink - Accent
$pink-accent-100: #fceff4;
$pink-accent-500: #db2b75;
$pink-accent-900: #960e48;
// Purple - Accent
$purple-accent-100: #f9e4f8;
$purple-accent-500: #95098a;
$purple-accent-900: #64005a;
// Cyan - Accent
$cyan-accent-100: #f6fafc;
$cyan-accent-500: #437d9a;
$cyan-accent-900: #1c3948;

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Changes have been done, Please review

@@ -212,13 +212,13 @@
@mixin hxButton-active--tertiary {
background-color: transparent;
border-color: transparent;
color: $cyan-700;
color: $cyan-900;
Copy link
Member

Choose a reason for hiding this comment

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

Please update to the new v2.0 color variables:

// ============================= //
// ===== COLOR PALETTE 2.0 ===== //
// ============================= //
// ========================== //
// ===== PRIMARY COLORS ===== //
// ========================== //
// Blue - Primary
$blue-100: #e5f2fb;
$blue-300: #6ca3e1;
$blue-500: #367ed4;
$blue-700: #0051b7;
$blue-900: #003482;
// Purple - Primary
$purple-100: #f9e4f8;
$purple-300: #ad3da5;
$purple-500: #95098a;
$purple-700: #7d0572;
$purple-900: #64005a;
// Teal - Primary
$teal-100: #9defeb;
$teal-300: #34cecc;
$teal-500: #00bebc;
$teal-700: #00aab0;
$teal-900: #006e8d;
// ====================== //
// ===== GRAY SCALE ===== //
// ====================== //
$gray-0: #ffffff;
$gray-25: #fafafa;
$gray-50: #f5f5f5;
$gray-100: #eeeeee;
$gray-200: #e7e7e7;
$gray-300: #e0e0e0;
$gray-400: #d8d8d8;
$gray-500: #bdbdbd;
$gray-600: #9e9e9e;
$gray-700: #757575;
$gray-750: #6b6b6b;
$gray-800: #616161;
$gray-900: #424242;
$gray-950: #333333;
$gray-975: #212121;
$gray-1000: #000000;
// ========================= //
// ===== STATUS COLORS ===== //
// ========================= //
// Blue - Status
$blue-status-100: #e6eefd;
$blue-status-500: #296cdc;
$blue-status-900: #0b377f;
// Green - Status
$green-status-100: #f5fef9;
$green-status-500: #008b38;
$green-status-900: #00461c;
// 1.0 vars with 2.0 color palette values
$green-100: #f5fef9;
$green-500: #008b38;
$green-900: #00461c;
// Yellow - Status
$yellow-status-100: #ffe7b3;
$yellow-status-500: #ffc749;
$yellow-status-900: #b37c00;
// 1.0 vars with 2.0 color palette values
$yellow-100: #ffe7b3;
$yellow-500: #ffc749;
$yellow-900: #b37c00;
// Red - Status
$red-status-100: #fddcdc;
$red-status-500: #d6251f;
$red-status-900: #760300;
// 1.0 vars with 2.0 color palette values
$red-100: #fddcdc;
$red-500: #d6251f;
$red-900: #760300;
// ========================== //
// ===== ACCENT COLORS ===== //
// ========================== //
// Orange - Accent
$orange-accent-100: #ffe9cc;
$orange-accent-500: #fa9000;
$orange-accent-900: #ce7700;
// 1.0 vars with 2.0 color palette values
$orange-100: #ffe9cc;
$orange-500: #fa9000;
$orange-700: #dd6105; // 1.0 color var
$orange-900: #ce7700;
// Pink - Accent
$pink-accent-100: #fceff4;
$pink-accent-500: #db2b75;
$pink-accent-900: #960e48;
// Purple - Accent
$purple-accent-100: #f9e4f8;
$purple-accent-500: #95098a;
$purple-accent-900: #64005a;
// Cyan - Accent
$cyan-accent-100: #f6fafc;
$cyan-accent-500: #437d9a;
$cyan-accent-900: #1c3948;

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Changes have been done, Please review

@@ -228,5 +228,5 @@
@mixin hxButton-hover--tertiary {
background-color: transparent;
border-color: transparent;
color: $cyan-500;
color: $cyan-700;
Copy link
Member

Choose a reason for hiding this comment

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

Please update to the new v2.0 color variables:

// ============================= //
// ===== COLOR PALETTE 2.0 ===== //
// ============================= //
// ========================== //
// ===== PRIMARY COLORS ===== //
// ========================== //
// Blue - Primary
$blue-100: #e5f2fb;
$blue-300: #6ca3e1;
$blue-500: #367ed4;
$blue-700: #0051b7;
$blue-900: #003482;
// Purple - Primary
$purple-100: #f9e4f8;
$purple-300: #ad3da5;
$purple-500: #95098a;
$purple-700: #7d0572;
$purple-900: #64005a;
// Teal - Primary
$teal-100: #9defeb;
$teal-300: #34cecc;
$teal-500: #00bebc;
$teal-700: #00aab0;
$teal-900: #006e8d;
// ====================== //
// ===== GRAY SCALE ===== //
// ====================== //
$gray-0: #ffffff;
$gray-25: #fafafa;
$gray-50: #f5f5f5;
$gray-100: #eeeeee;
$gray-200: #e7e7e7;
$gray-300: #e0e0e0;
$gray-400: #d8d8d8;
$gray-500: #bdbdbd;
$gray-600: #9e9e9e;
$gray-700: #757575;
$gray-750: #6b6b6b;
$gray-800: #616161;
$gray-900: #424242;
$gray-950: #333333;
$gray-975: #212121;
$gray-1000: #000000;
// ========================= //
// ===== STATUS COLORS ===== //
// ========================= //
// Blue - Status
$blue-status-100: #e6eefd;
$blue-status-500: #296cdc;
$blue-status-900: #0b377f;
// Green - Status
$green-status-100: #f5fef9;
$green-status-500: #008b38;
$green-status-900: #00461c;
// 1.0 vars with 2.0 color palette values
$green-100: #f5fef9;
$green-500: #008b38;
$green-900: #00461c;
// Yellow - Status
$yellow-status-100: #ffe7b3;
$yellow-status-500: #ffc749;
$yellow-status-900: #b37c00;
// 1.0 vars with 2.0 color palette values
$yellow-100: #ffe7b3;
$yellow-500: #ffc749;
$yellow-900: #b37c00;
// Red - Status
$red-status-100: #fddcdc;
$red-status-500: #d6251f;
$red-status-900: #760300;
// 1.0 vars with 2.0 color palette values
$red-100: #fddcdc;
$red-500: #d6251f;
$red-900: #760300;
// ========================== //
// ===== ACCENT COLORS ===== //
// ========================== //
// Orange - Accent
$orange-accent-100: #ffe9cc;
$orange-accent-500: #fa9000;
$orange-accent-900: #ce7700;
// 1.0 vars with 2.0 color palette values
$orange-100: #ffe9cc;
$orange-500: #fa9000;
$orange-700: #dd6105; // 1.0 color var
$orange-900: #ce7700;
// Pink - Accent
$pink-accent-100: #fceff4;
$pink-accent-500: #db2b75;
$pink-accent-900: #960e48;
// Purple - Accent
$purple-accent-100: #f9e4f8;
$purple-accent-500: #95098a;
$purple-accent-900: #64005a;
// Cyan - Accent
$cyan-accent-100: #f6fafc;
$cyan-accent-500: #437d9a;
$cyan-accent-900: #1c3948;

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Changes have been done, Please review

Comment on lines 67 to 69
font-size: 0.625rem;
font-weight: 400;
line-height: 1.5rem;
line-height: 1;
Copy link
Member

Choose a reason for hiding this comment

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

We should make these changes specific to the Pill component.

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Changes have been done, Please review

@100stacks 100stacks added the PR: Comments Provided PR: Comments Provided label Jan 11, 2021
@badejayayesubabu badejayayesubabu force-pushed the SURF-2152 branch 2 times, most recently from d0be969 to 768d354 Compare January 12, 2021 09:40
Copy link

@danielmdesigns danielmdesigns left a comment

Choose a reason for hiding this comment

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

There is a darker blue border on the primary buttons. Please remove this border, there should be no border on primary buttons.

The secondary button should not have a fill on hover state. Should only be outlined. The color changes should be as follows:

Default: Blue-500
Hover: Blue-700
Pressed: Blue-900

@100stacks 100stacks marked this pull request as ready for review January 12, 2021 22:03
@100stacks 100stacks added PR: Comments Provided PR: Comments Provided and removed PR: Comments Provided PR: Comments Provided labels Jan 12, 2021
Comment on lines 16 to 17
height: 1rem;
line-height: 1;
Copy link
Member

Choose a reason for hiding this comment

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

Please revert these changes. I'll add the patch to PR #822.

@100stacks 100stacks removed the PR: Comments Provided PR: Comments Provided label Jan 14, 2021
Copy link
Member

@100stacks 100stacks left a comment

Choose a reason for hiding this comment

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

Copy link

@danielmdesigns danielmdesigns left a comment

Choose a reason for hiding this comment

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

Buttons have been corrected and look good to me. Approved.

Copy link
Contributor

@lalithkarikelli lalithkarikelli left a comment

Choose a reason for hiding this comment

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

DEV LGTM

Copy link
Member

@100stacks 100stacks left a comment

Choose a reason for hiding this comment

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

Dev LGTM

@100stacks 100stacks changed the title feat(button): new color palette specs feat(button): new component specs Jan 15, 2021
@100stacks 100stacks merged commit 7fc23e4 into HelixDesignSystem:master Jan 15, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🆕 New Component Specs Updated Component Specifications
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants