From b3ed7248c218f4c56834e1114d4070ceb21b51fb Mon Sep 17 00:00:00 2001 From: Adam Wathan Date: Fri, 13 Nov 2020 19:25:17 -0500 Subject: [PATCH] Move black and white colors to colors.js --- colors.js | 2 ++ stubs/defaultConfig.stub.js | 5 ++--- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/colors.js b/colors.js index fe89a03ad22a..6da6e13993b2 100644 --- a/colors.js +++ b/colors.js @@ -1,4 +1,6 @@ module.exports = { + black: '#000', + white: '#fff', rose: { 50: '#fff1f2', 100: '#ffe4e6', diff --git a/stubs/defaultConfig.stub.js b/stubs/defaultConfig.stub.js index c79c74de3302..280192e54f47 100644 --- a/stubs/defaultConfig.stub.js +++ b/stubs/defaultConfig.stub.js @@ -16,9 +16,8 @@ module.exports = { transparent: 'transparent', current: 'currentColor', - black: '#000', - white: '#fff', - + black: colors.black, + white: colors.white, gray: colors.coolGray, red: colors.red, yellow: colors.amber,