cart: fix dark theme

This commit is contained in:
2025-10-09 00:38:33 +03:00
parent ca54ce37cb
commit 4fe0835de4
6 changed files with 35 additions and 44 deletions

View File

@@ -1,12 +1,9 @@
import { useAppSelector } from "redux/hooks";
interface BackIconType {
className?: string;
onClick?: () => void;
}
const BackIcon = ({ className, onClick }: BackIconType) => {
const { themeName } = useAppSelector((state) => state.theme);
return (
<svg
width="16"
@@ -19,7 +16,7 @@ const BackIcon = ({ className, onClick }: BackIconType) => {
>
<path
d="M10 12L6 8L10 4"
stroke={themeName === "dark" ? "#ffffff" : "rgba(95, 108, 123, 1)"}
stroke={"rgba(95, 108, 123, 1)"}
strokeWidth="1.5"
strokeLinecap="round"
strokeLinejoin="round"