mirror of
https://github.com/youzan/vant.git
synced 2025-10-20 18:54:24 +00:00
[improvement] update color variables (#2010)
This commit is contained in:
@@ -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({
|
||||
|
Reference in New Issue
Block a user