[improvement] update color variables (#2010)

This commit is contained in:
neverland
2018-11-01 16:16:26 +08:00
committed by GitHub
parent 63816a4902
commit af168d6abc
40 changed files with 84 additions and 67 deletions

View File

@@ -16,12 +16,13 @@
<script>
import create from '../utils/create';
import { RED, BLUE, GREEN } from '../utils/color';
const DEFAULT_COLOR = '#999';
const COLOR_MAP = {
danger: '#f44',
primary: '#38f',
success: '#06bf04'
danger: RED,
primary: BLUE,
success: GREEN
};
export default create({