From f0f0d84728ce4dae85ce862712b4c19b0d38ff3c Mon Sep 17 00:00:00 2001
From: lakshya
Date: Sun, 17 Mar 2024 22:33:12 +0530
Subject: [PATCH] sistent: fix dark-light theme colors for components
Signed-off-by: lakshya
---
.../Projects/Sistent/components/button/code.js | 12 +++++++-----
.../Projects/Sistent/components/button/guidance.js | 12 +++++++-----
.../Projects/Sistent/components/button/index.js | 14 ++++++++------
.../Sistent/components/text-input/guidance.js | 6 ++++--
.../Sistent/components/text-input/index.js | 9 ++++++---
src/sections/Projects/Sistent/sistent.style.js | 4 ++--
6 files changed, 34 insertions(+), 23 deletions(-)
diff --git a/src/sections/Projects/Sistent/components/button/code.js b/src/sections/Projects/Sistent/components/button/code.js
index f2b541d61f40..033902afdd03 100644
--- a/src/sections/Projects/Sistent/components/button/code.js
+++ b/src/sections/Projects/Sistent/components/button/code.js
@@ -8,6 +8,7 @@ import { FaArrowRight } from "@react-icons/all-files/fa/FaArrowRight";
import { SistentLayout } from "../../sistent-layout";
import TabButton from "../../../../../reusecore/Button";
+import { useStyledDarkMode } from "../../../../../theme/app/useStyledDarkMode";
const codes = [
`
@@ -36,6 +37,7 @@ const codes = [
export const ButtonCode = () => {
const location = useLocation();
+ const { isDark } = useStyledDarkMode();
return (
@@ -97,7 +99,7 @@ export const ButtonCode = () => {
-
+
@@ -109,7 +111,7 @@ export const ButtonCode = () => {
-
+
@@ -122,7 +124,7 @@ export const ButtonCode = () => {
-
+
@@ -137,7 +139,7 @@ export const ButtonCode = () => {
-
+