Skip to content

Commit

Permalink
Use transparent background for days that aren't selected (#42)
Browse files Browse the repository at this point in the history
  • Loading branch information
lbrdar authored and peacechen committed Jul 13, 2017
1 parent e2b421b commit ab8c3b2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/CalendarDay.js
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,7 @@ export default class CalendarDay extends Component {
//If it is border, the user has to input color for border animation
switch (this.props.daySelectionAnimation.type) {
case 'background':
let dateViewBGColor = this.state.selected ? this.props.daySelectionAnimation.highlightColor : this.props.calendarColor;
let dateViewBGColor = this.state.selected ? this.props.daySelectionAnimation.highlightColor : 'transparent';
dateViewStyle = {backgroundColor: dateViewBGColor};
break;
case 'border':
Expand Down

0 comments on commit ab8c3b2

Please sign in to comment.