Skip to content

Commit

Permalink
feat(button): Add outline brand modifier (#3077)
Browse files Browse the repository at this point in the history
* feat(button): Add outline brand modifier

* Lint
  • Loading branch information
brandonferrua authored Feb 14, 2018
1 parent 94e002d commit 0dec41e
Showing 1 changed file with 20 additions and 0 deletions.
20 changes: 20 additions & 0 deletions ui/components/buttons/base/_index.scss
Original file line number Diff line number Diff line change
Expand Up @@ -179,6 +179,26 @@ a.slds-button--inverse:focus {
}
}

/**
* Creates the outlined button with the brand color
*
* @selector .slds-button_outline-brand
* @restrict .slds-button
* @modifier
* @group theme
*/
.slds-button_outline-brand {
@include button;
@include button-base;
border-color: $brand-accessible;

&[disabled] {
background: $brand-disabled;
border-color: $brand-disabled;
color: $color-text-button-brand-disabled;
}
}

/**
* Creates the inverse style for dark backgrounds
*
Expand Down

0 comments on commit 0dec41e

Please sign in to comment.