Skip to content

Commit

Permalink
Merge pull request #864 from takenet/bugfix/color-button
Browse files Browse the repository at this point in the history
fix(button): fixing the old variant color button
  • Loading branch information
WillianLomeu authored Jul 31, 2024
2 parents 9a5f889 + 5d951f2 commit a626fdf
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 0 deletions.
12 changes: 12 additions & 0 deletions src/components.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1776,6 +1776,9 @@ export namespace Components {
* Data test is the prop to specifically test the component action object.
*/
"dataTest"?: string;
/**
* Disable state. Indicates if the component is disabled.
*/
"disable"?: boolean;
/**
* Icon. Used to add icon in list item.
Expand All @@ -1785,6 +1788,9 @@ export namespace Components {
* A prop for make the nav open.
*/
"isOpen"?: boolean;
/**
* Loading state. Indicates if the component is in a loading state.
*/
"loading"?: boolean;
/**
* SecondaryText. Used to insert a secondaryText in the display item.
Expand Down Expand Up @@ -5471,6 +5477,9 @@ declare namespace LocalJSX {
* Data test is the prop to specifically test the component action object.
*/
"dataTest"?: string;
/**
* Disable state. Indicates if the component is disabled.
*/
"disable"?: boolean;
/**
* Icon. Used to add icon in list item.
Expand All @@ -5480,6 +5489,9 @@ declare namespace LocalJSX {
* A prop for make the nav open.
*/
"isOpen"?: boolean;
/**
* Loading state. Indicates if the component is in a loading state.
*/
"loading"?: boolean;
/**
* When de open or close of component change, the event are dispache.
Expand Down
8 changes: 8 additions & 0 deletions src/components/button/button.scss
Original file line number Diff line number Diff line change
Expand Up @@ -193,6 +193,14 @@ $button-border-radius: 8px;
}
}

&.button__variant--secondary {
@include button-variant(transparent, transparent, $color-content-default);
}

&.button__variant--tertiary {
@include button-variant(transparent, $color-border-1, $color-content-default);
}

&__group {
width: 100%;
}
Expand Down

0 comments on commit a626fdf

Please sign in to comment.