From 62ccaefbbec80c07a982c8cd2f0878f1e4ffd4b0 Mon Sep 17 00:00:00 2001 From: mahdi Date: Tue, 7 Jun 2022 10:10:18 +0430 Subject: [PATCH] update src/components/Accordion/AccordionDesign1/index.js and default.js --- .../Accordion/AccordionDesign1/index.js | 18 +++++++++--------- src/components/ThemeColor/default.js | 4 ++-- 2 files changed, 11 insertions(+), 11 deletions(-) diff --git a/src/components/Accordion/AccordionDesign1/index.js b/src/components/Accordion/AccordionDesign1/index.js index 83cdbad..668e861 100644 --- a/src/components/Accordion/AccordionDesign1/index.js +++ b/src/components/Accordion/AccordionDesign1/index.js @@ -149,23 +149,23 @@ function AccordionDesign1({ vod }) { } className={`flex flex-row items-center justify-between px-3 py-4 border-b-2 ${ activeAccordion === item - ? "border-secondary" - : "border-surfaceBorder" + ? "border-primary" + : "border-gray-100" } cursor-pointer`} >

{item.title}

{vod && (
-

+

دقیقه: {item.min}

-
-

+

+

ویدیو: {item.video}

@@ -184,7 +184,7 @@ function AccordionDesign1({ vod }) { {/* child */} {activeAccordion === item && item.subItems.map((subItem, i) => ( -
+
{vod === !true && (
-
+

{subItem.name}

{vod ? ( @@ -212,7 +212,7 @@ function AccordionDesign1({ vod }) { {item.min}

diff --git a/src/components/ThemeColor/default.js b/src/components/ThemeColor/default.js index debe777..d541988 100644 --- a/src/components/ThemeColor/default.js +++ b/src/components/ThemeColor/default.js @@ -7,9 +7,9 @@ const defaultTheme = { secondaryText: "#000000", secondaryDark: "#008868", secondaryLight: "#4effd5", - background: "#ffffff", + background: "#f5f5f5", backgroundText: "#000000", - surface: "#6eb1d2", + surface: "#ffffff", surfaceText: "#000000", surfaceBorder: "#c8d6e5", info: "#43c1ff",