Skip to content

Commit

Permalink
uses blue for ribbon and button colors against secondary buttons (Aut…
Browse files Browse the repository at this point in the history
  • Loading branch information
rralian authored Jul 20, 2016
1 parent c18a89a commit 6764103
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
3 changes: 1 addition & 2 deletions client/my-sites/plan-features/actions.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ const PlanFeaturesActions = ( {
const className = classNames( {
'plan-features__actions-button': true,
'is-current': current,
'is-popular': popular
'is-primary': popular && ! isPlaceholder,
} );

if ( current ) {
Expand All @@ -40,7 +40,6 @@ const PlanFeaturesActions = ( {
<Button
className={ className }
onClick={ isPlaceholder ? noop : onUpgradeClick }
primary={ ! isPlaceholder }
disabled={ isPlaceholder }
>
{
Expand Down
2 changes: 1 addition & 1 deletion client/my-sites/plan-features/header.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ class PlanFeaturesHeader extends Component {
return (
<header className="plan-features__header" onClick={ this.props.onClick } >
{
popular && <Ribbon color="green">{ translate( 'Popular' ) }</Ribbon>
popular && <Ribbon>{ translate( 'Popular' ) }</Ribbon>
}
<div className="plan-features__header-figure" >
<PlanIcon plan={ planType } />
Expand Down

0 comments on commit 6764103

Please sign in to comment.