Browse Source

update color doc

pull/7831/merge
afc163 7 years ago
parent
commit
802bd98f16
  1. 1
      site/theme/static/colors.less
  2. 2
      site/theme/template/Color/ColorPalettes.jsx

1
site/theme/static/colors.less

@ -39,7 +39,6 @@
}
&-item &-text {
transition: all .3s;
font-weight: lighter;
opacity: 0.8;
}
&-item &-value {

2
site/theme/template/Color/ColorPalettes.jsx

@ -39,7 +39,7 @@ class Palette extends Component {
ref={(node) => { this.colorNodes[`${name}-${i}`] = node; }}
className={`main-color-item palatte-${name}-${i}`}
style={{
color: i > 6 ? '#fff' : 'unset',
color: i > 5 ? '#fff' : 'unset',
fontWeight: i === 6 ? 'bold' : 'normal',
}}
title="click to copy color"

Loading…
Cancel
Save