diff --git a/apps/web/core/components/core/image-picker-popover.tsx b/apps/web/core/components/core/image-picker-popover.tsx index 57db4e6478..e4f3dedf09 100644 --- a/apps/web/core/components/core/image-picker-popover.tsx +++ b/apps/web/core/components/core/image-picker-popover.tsx @@ -212,7 +212,7 @@ export const ImagePickerPopover = observer(function ImagePickerPopover(props: Pr {(unsplashImages || !unsplashError) && ( <> -
+
)} /> -
diff --git a/apps/web/core/components/cycles/analytics-sidebar/progress-stats.tsx b/apps/web/core/components/cycles/analytics-sidebar/progress-stats.tsx index 109285c1d2..79db497626 100644 --- a/apps/web/core/components/cycles/analytics-sidebar/progress-stats.tsx +++ b/apps/web/core/components/cycles/analytics-sidebar/progress-stats.tsx @@ -1,4 +1,3 @@ -import type { FC } from "react"; import { observer } from "mobx-react"; import { Tab } from "@headlessui/react"; // plane imports @@ -122,7 +121,7 @@ export const CycleProgressStats = observer(function CycleProgressStats(props: TC className={cn( `flex w-full items-center justify-between gap-2 rounded-md p-1`, roundedTab ? `rounded-3xl` : `rounded-md`, - noBackground ? `` : `bg-surface-2`, + noBackground ? `` : `bg-layer-2`, size === "xs" ? `text-11` : `text-13` )} > @@ -131,7 +130,9 @@ export const CycleProgressStats = observer(function CycleProgressStats(props: TC className={cn( `p-1 w-full text-primary outline-none focus:outline-none cursor-pointer transition-all`, roundedTab ? `rounded-3xl border border-subtle` : `rounded-sm`, - stat.key === currentTab ? "bg-surface-1 text-tertiary" : "text-placeholder hover:text-tertiary" + stat.key === currentTab + ? "bg-layer-transparent-active text-secondary" + : "text-placeholder hover:text-secondary" )} key={stat.key} onClick={() => setCycleTab(stat.key)} diff --git a/apps/web/core/components/modules/analytics-sidebar/progress-stats.tsx b/apps/web/core/components/modules/analytics-sidebar/progress-stats.tsx index 61d4707dfd..f3baa4d295 100644 --- a/apps/web/core/components/modules/analytics-sidebar/progress-stats.tsx +++ b/apps/web/core/components/modules/analytics-sidebar/progress-stats.tsx @@ -1,4 +1,3 @@ -import type { FC } from "react"; import { observer } from "mobx-react"; import { Tab } from "@headlessui/react"; import { useTranslation } from "@plane/i18n"; @@ -120,7 +119,7 @@ export const ModuleProgressStats = observer(function ModuleProgressStats(props: className={cn( `flex w-full items-center justify-between gap-2 rounded-md p-1`, roundedTab ? `rounded-3xl` : `rounded-md`, - noBackground ? `` : `bg-surface-2`, + noBackground ? `` : `bg-layer-2`, size === "xs" ? `text-11` : `text-13` )} > @@ -129,7 +128,9 @@ export const ModuleProgressStats = observer(function ModuleProgressStats(props: className={cn( `p-1 w-full text-primary outline-none focus:outline-none cursor-pointer transition-all`, roundedTab ? `rounded-3xl border border-subtle` : `rounded-sm`, - stat.key === currentTab ? "bg-surface-1 text-tertiary" : "text-placeholder hover:text-tertiary" + stat.key === currentTab + ? "bg-layer-transparent-active text-secondary" + : "text-placeholder hover:text-secondary" )} key={stat.key} onClick={() => setModuleTab(stat.key)}