remove unnecessary code & enhance gray color over the app

This commit is contained in:
2025-10-13 00:12:51 +03:00
parent 3755128589
commit b7adf8b33f
19 changed files with 345 additions and 619 deletions

View File

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

View File

@@ -1,9 +1,14 @@
import { useAppSelector } from "redux/hooks";
import { ProGray1 } from "ThemeConstants";
interface NextIconType {
className?: string;
onClick?: () => void;
}
const NextIcon = ({ className, onClick }: NextIconType) => {
const { themeName } = useAppSelector((state) => state.theme);
const color = themeName === "dark" ? "white" : ProGray1;
return (
<svg
width="16"
@@ -16,7 +21,7 @@ const NextIcon = ({ className, onClick }: NextIconType) => {
>
<path
d="M6 12L10 8L6 4"
stroke="#434E5C"
stroke={color}
strokeWidth="1.5"
strokeLinecap="round"
strokeLinejoin="round"