Skip to content

Commit

Permalink
fix:change primary-color
Browse files Browse the repository at this point in the history
  • Loading branch information
lijinke666 committed Nov 15, 2017
1 parent b71f55a commit cad7f85
Show file tree
Hide file tree
Showing 5 changed files with 8 additions and 8 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -148,7 +148,7 @@ ReactDOM.render(
- `Default` : `-`

## Special options
## Base Options of the `confirm()` and `prompt()`
> Base Options of the `confirm()` and `prompt()`
- options.content
- `Desc` : `content of the message`
Expand Down
6 changes: 3 additions & 3 deletions example/dist/build.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion example/dist/build.js.map

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions src/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -188,8 +188,8 @@ export default class Message extends PureComponent {
(type === typeConfig['confirm'] || isPrompt)
? (
<div className='confirm-footer'>
<button className="btn confirm-btn" onClick={this.onCancel}>{cancelText}</button>
<button className="btn confirm-btn primary-btn" onClick={this.onOk}>{okText}</button>
<button className="btn confirm-btn btn-default" onClick={this.onCancel}>{cancelText}</button>
<button className="btn confirm-btn btn-primary" onClick={this.onOk}>{okText}</button>
</div>
)
: undefined
Expand Down
2 changes: 1 addition & 1 deletion src/index.less
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@
font-size:16px
}
svg{
color:@info-color;
color:@primary-color;
&+.title{
font-size:16px;
vertical-align: middle;
Expand Down

0 comments on commit cad7f85

Please sign in to comment.