From a49a07b3f7fef5a6c7f9134ab9bc2c8ab82da4a0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Krzysztof=20=C5=BBuraw?= <9116238+krzysztofzuraw@users.noreply.github.com> Date: Tue, 23 Jan 2024 15:08:37 +0100 Subject: [PATCH] fix: wrong warning colors (#735) --- src/theme/contract.css.ts | 2 +- src/theme/themes/defaultDark.ts | 5 +++-- src/theme/themes/defaultLight.ts | 5 +++-- 3 files changed, 7 insertions(+), 5 deletions(-) diff --git a/src/theme/contract.css.ts b/src/theme/contract.css.ts index 8710d298..2e644641 100644 --- a/src/theme/contract.css.ts +++ b/src/theme/contract.css.ts @@ -110,7 +110,7 @@ export const vars = createGlobalThemeContract( defaultDisabled: null, info1: null, success1: null, - // warning1: null, + warning1: null, }, }, fontSize: { diff --git a/src/theme/themes/defaultDark.ts b/src/theme/themes/defaultDark.ts index 2715638a..a9e3279d 100644 --- a/src/theme/themes/defaultDark.ts +++ b/src/theme/themes/defaultDark.ts @@ -47,7 +47,7 @@ export const defaultDark = { defaultDisabled: "hsla(211, 32%, 21%, 1)", info1: "hsla(215, 100%, 62%, 1)", success1: "hsla(173, 100%, 32%, 1)", - warning1: "hsla(36, 44%, 50%, 1)", + warning1: "hsla(42, 100%, 84%, 1)", }, text: { accent1: "hsla(215, 100%, 83%, 1)", @@ -63,7 +63,7 @@ export const defaultDark = { defaultDisabled: "hsla(212, 19%, 39%, 1)", info1: "hsla(215, 100%, 83%, 1)", success1: "hsla(173, 79%, 62%, 1)", - warning1: "hsla(42, 100%, 84%, 1)", + warning1: "hsla(36, 44%, 50%, 1)", }, border: { accent1: "hsla(215, 100%, 39%, 1)", @@ -75,6 +75,7 @@ export const defaultDark = { default2: "hsla(211, 21%, 39%, 1)", info1: "hsla(210, 32%, 25%, 1)", success1: "hsl(173, 79%, 62%, 1)", + warning1: "hsla(36, 44%, 50%, 1)", }, }, fontSize, diff --git a/src/theme/themes/defaultLight.ts b/src/theme/themes/defaultLight.ts index 4669aa9f..f550b78d 100644 --- a/src/theme/themes/defaultLight.ts +++ b/src/theme/themes/defaultLight.ts @@ -47,7 +47,7 @@ export const defaultLight = { defaultDisabled: "hsla(211, 16%, 94%, 1)", info1: "hsla(233, 100%, 91%, 1)", success1: "hsla(173, 43%, 80%, 1)", - warning1: "hsla(36, 44%, 50%, 1)", + warning1: "hsla(42, 100%, 84%, 1)", }, text: { accent1: "hsla(234, 96%, 56%, 1)", @@ -63,7 +63,7 @@ export const defaultLight = { defaultDisabled: "hsla(212, 14%, 67%, 1)", info1: "hsla(234, 100%, 42%, 1)", success1: "hsla(169, 42%, 20%, 1)", - warning1: "hsla(42, 100%, 84%, 1)", + warning1: "hsla(36, 44%, 50%, 1)", }, border: { accent1: "hsla(215, 100%, 74%, 1)", @@ -75,6 +75,7 @@ export const defaultLight = { defaultDisabled: "hsla(210, 15%, 87%, 1)", info1: "hsla(234, 100%, 42%, 1)", success1: "hsla(173, 97%, 15%, 1)", + warning1: "hsla(36, 44%, 50%, 1)", }, }, fontSize,