Skip to content
This repository was archived by the owner on May 13, 2025. It is now read-only.

Commit f0b4112

Browse files
committed
Change banned user icon background
1 parent 8c35ca8 commit f0b4112

File tree

2 files changed

+13
-3
lines changed

2 files changed

+13
-3
lines changed

src/components/IconBannedUser/IconBannedUser.css

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,11 @@
11
@import '../../marketplace.css';
22

3-
.backgroundFill {
4-
fill: var(--failColor);
3+
.backgroundLight {
4+
stop-color: var(--marketplaceColorLight);
5+
}
6+
7+
.backgroundDark {
8+
stop-color: var(--marketplaceColor);
59
}
610

711
.foregroundFill {

src/components/IconBannedUser/IconBannedUser.js

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,14 @@ const IconBannedUser = props => {
1313
viewBox="0 0 40 40"
1414
xmlns="http://www.w3.org/2000/svg"
1515
>
16+
<defs>
17+
<linearGradient id="background" x1="0%" y1="0%" x2="0%" y2="100%">
18+
<stop offset="0%" className={css.backgroundLight} />
19+
<stop offset="100%" className={css.backgroundDark} />
20+
</linearGradient>
21+
</defs>
1622
<g fill="none" fillRule="evenodd">
17-
<circle className={css.backgroundFill} cx="20" cy="20" r="20" />
23+
<circle fill="url(#background)" cx="20" cy="20" r="20" />
1824
<circle className={css.foregroundStroke} strokeWidth="3" cx="20" cy="20" r="13" />
1925
<path className={css.foregroundFill} d="M28.34 9.04l2.12 2.12-19.8 19.8-2.12-2.12z" />
2026
</g>

0 commit comments

Comments
 (0)