From df6794ba6e419a2464c6cb09c48822d77ef6545f Mon Sep 17 00:00:00 2001 From: yqrashawn Date: Wed, 22 Jul 2020 15:12:18 +0800 Subject: [PATCH] feat(color): change errorLight add errorHover (#26) --- components/styles/themes/dark.ts | 4 ++-- components/styles/themes/default.ts | 4 ++-- components/styles/themes/index.ts | 2 +- lib/components/displays/colors-data.ts | 2 +- 4 files changed, 6 insertions(+), 6 deletions(-) diff --git a/components/styles/themes/dark.ts b/components/styles/themes/dark.ts index 66a301ddb..8c37da1fc 100644 --- a/components/styles/themes/dark.ts +++ b/components/styles/themes/dark.ts @@ -19,8 +19,8 @@ export const palette: ZeitUIThemesPalette = { code: '#79ffe1', border: '#333', error: '#e00', - errorLighter: '#f7d4d6', - errorLight: '#ff1a1a', + errorHover: '#ffcece', + errorLight: '#ffc2c2', errorDark: '#c50000', success: '#0070f3', successLighter: '#d3e5ff', diff --git a/components/styles/themes/default.ts b/components/styles/themes/default.ts index cd38fbfab..9f8705b54 100644 --- a/components/styles/themes/default.ts +++ b/components/styles/themes/default.ts @@ -19,8 +19,8 @@ export const palette: ZeitUIThemesPalette = { code: '#f81ce5', border: '#eaeaea', error: '#e15c56', - errorLight: '#ff8585', - errorLighter: '#f7d4d6', + errorLight: '#ffc2c2', + errorHover: '#ffcece', errorDark: '#b34a50', success: '#58f17a', successLight: '#8afb88', diff --git a/components/styles/themes/index.ts b/components/styles/themes/index.ts index 906879628..25d2d1c62 100644 --- a/components/styles/themes/index.ts +++ b/components/styles/themes/index.ts @@ -22,7 +22,7 @@ export interface ZeitUIThemesPalette { successLight: string successDark: string error: string - errorLighter: string + errorHover: string errorLight: string errorDark: string warning: string diff --git a/lib/components/displays/colors-data.ts b/lib/components/displays/colors-data.ts index 6e99bdc68..625320c9d 100644 --- a/lib/components/displays/colors-data.ts +++ b/lib/components/displays/colors-data.ts @@ -20,7 +20,7 @@ const normal: ColorEnum = { /* eslint-enable camelcase */ const error: ColorEnum = { - errorLighter: 'Lighter', + errorHover: 'Hover', errorLight: 'Light', error: 'Default', errorDark: 'Dark',