refactor: enhance dark mode support across components and improve user role handling in DetailProfile

This commit is contained in:
hamed
2025-11-19 12:22:14 +03:30
parent 18b03ca781
commit 95e55776c3
6 changed files with 103 additions and 40 deletions
+2 -3
View File
@@ -2,9 +2,8 @@ function ArrowDownP({ data }) {
return (
<div className="pl-[6px] cursor-pointer">
<svg
className={`transition-all duration-500 ${
data.className.includes("iconOpen") ? "rotate-180" : "rotate-0"
}`}
className={`transition-all duration-500 ${data.className.includes("iconOpen") ? "rotate-180" : "rotate-0"
} dark:[&>path]:stroke-[#A1A1A1]`}
xmlns="http://www.w3.org/2000/svg"
width="20"
height="20"