Skip to content

Commit 18df7af

Browse files
committed
update x-mark icon style
1 parent 5816664 commit 18df7af

File tree

2 files changed

+8
-3
lines changed

2 files changed

+8
-3
lines changed

src/features/libraries/components/x-mark.component.tsx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,25 +1,25 @@
11
import React from "react";
2+
import styles from "./x-mark.module.scss"
23

34
type CheckMarkComponentProps = {};
45

56
export const XMarkComponent: React.FC<CheckMarkComponentProps> = () => {
67
return (
78
<svg
9+
className={styles.mark}
810
xmlns="http://www.w3.org/2000/svg"
911
width="24"
1012
height="24"
1113
viewBox="0 0 24 24"
12-
fill="none"
14+
fill="currentColor"
1315
>
1416
<path
1517
d="M12 11.1473L15.5355 7.61176L16.9497 9.02597L13.4142 12.5615L16.9497 16.097L15.5355 17.5113L12 13.9757L8.46444 17.5113L7.05023 16.097L10.5857 12.5615L7.0502 9.02598L8.46442 7.61176L12 11.1473Z"
16-
fill="#E27133"
1718
/>
1819
<path
1920
fillRule="evenodd"
2021
clipRule="evenodd"
2122
d="M1 12.5615C1 6.48639 5.92487 1.56152 12 1.56152C18.0751 1.56152 23 6.48639 23 12.5615C23 18.6367 18.0751 23.5615 12 23.5615C5.92487 23.5615 1 18.6367 1 12.5615ZM12 3.56152C7.02944 3.56152 3 7.59096 3 12.5615C3 17.5321 7.02944 21.5615 12 21.5615C16.9706 21.5615 21 17.5321 21 12.5615C21 7.59096 16.9706 3.56152 12 3.56152Z"
22-
fill="#E27133"
2323
/>
2424
</svg>
2525
);
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
@use "@/libs/theme/styles/variables" as *;
2+
3+
.mark {
4+
color: var(--color_bg_state_danger);
5+
}

0 commit comments

Comments
 (0)