mirror of
https://github.com/ant-design/ant-design.git
synced 2025-01-18 22:36:31 +08:00
docs: update introduce.md
This commit is contained in:
parent
5ecdc88640
commit
e15d12ffdf
@ -114,6 +114,10 @@ const ExtendPalettes = React.createClass({
|
||||
{
|
||||
name: 'cyan',
|
||||
description: '清新、冷静、结构化',
|
||||
},
|
||||
{
|
||||
name: 'grey',
|
||||
description: '平稳、中性',
|
||||
}
|
||||
];
|
||||
return (
|
||||
|
@ -35,18 +35,19 @@
|
||||
}
|
||||
|
||||
.color-title {
|
||||
margin: 0 0 16px;
|
||||
margin: 0 0 24px;
|
||||
font-weight: 500;
|
||||
color: #5c6b77;
|
||||
font-size: 22px;
|
||||
font-size: 26px;
|
||||
text-transform: capitalize;
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
.color-description {
|
||||
font-size: 16px;
|
||||
margin-left: 12px;
|
||||
font-weight: normal;
|
||||
color: #888;
|
||||
font-size: 12px;
|
||||
font-weight: lighter;
|
||||
color: #777;
|
||||
display: block;
|
||||
}
|
||||
|
||||
.main-color:hover {
|
||||
@ -99,6 +100,17 @@
|
||||
.make-palatte(@color, (@index + 1)); // next iteration
|
||||
}
|
||||
|
||||
@grey-1: #fbfbfb;
|
||||
@grey-2: #f7f7f7;
|
||||
@grey-3: #f5f5f5;
|
||||
@grey-4: #e9e9e9;
|
||||
@grey-5: #d9d9d9;
|
||||
@grey-6: #bfbfbf;
|
||||
@grey-7: #919191;
|
||||
@grey-8: #5a5a5a;
|
||||
@grey-9: #404040;
|
||||
@grey-10: #222;
|
||||
|
||||
.main-color {
|
||||
.make-palatte(blue);
|
||||
.make-palatte(purple);
|
||||
@ -108,4 +120,5 @@
|
||||
.make-palatte(red);
|
||||
.make-palatte(orange);
|
||||
.make-palatte(yellow);
|
||||
.make-palatte(grey);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user