From 0ab5622756ca5b2465e39ffb32dfc5ffd7621f80 Mon Sep 17 00:00:00 2001 From: IRBorisov <8611739+IRBorisov@users.noreply.github.com> Date: Mon, 4 Sep 2023 18:14:59 +0300 Subject: [PATCH] Color fixes --- rsconcept/frontend/src/components/ConceptToaster.tsx | 2 -- rsconcept/frontend/src/index.css | 9 +++++++-- 2 files changed, 7 insertions(+), 4 deletions(-) diff --git a/rsconcept/frontend/src/components/ConceptToaster.tsx b/rsconcept/frontend/src/components/ConceptToaster.tsx index 0c425a3b..5f1cc184 100644 --- a/rsconcept/frontend/src/components/ConceptToaster.tsx +++ b/rsconcept/frontend/src/components/ConceptToaster.tsx @@ -1,5 +1,3 @@ -import 'react-toastify/dist/ReactToastify.css'; - import { ToastContainer, type ToastContainerProps } from 'react-toastify'; import { useConceptTheme } from '../context/ThemeContext'; diff --git a/rsconcept/frontend/src/index.css b/rsconcept/frontend/src/index.css index f879e76b..ceddcf15 100644 --- a/rsconcept/frontend/src/index.css +++ b/rsconcept/frontend/src/index.css @@ -1,3 +1,5 @@ +@import 'react-toastify/dist/ReactToastify.css'; + @tailwind base; @tailwind components; @tailwind utilities; @@ -40,8 +42,8 @@ --cd-fg-100: #e4e4e7; --cd-prim-bg-100: #e66000; - --cd-prim-bg-80: #b36800; - --cd-prim-bg-60: #663c00; + --cd-prim-bg-80: #cc7700; + --cd-prim-bg-60: #995900; --cd-prim-fg-60: #ffa666; --cd-prim-fg-80: #ff6a00; @@ -50,6 +52,9 @@ --cd-red-bg-100: #4d0000; --cd-red-fg-100: #ff334b; --cd-green-fg-100: #22c55e; + + /* Import overrides */ + --toastify-color-dark: var(--cd-bg-60); } :root {