From 143f5a3463f404260b3ec690ccfd3dfcff566490 Mon Sep 17 00:00:00 2001 From: keyan Date: Sat, 8 Jan 2022 09:30:59 -0600 Subject: [PATCH] better pin icon --- components/item.js | 2 +- components/item.module.css | 3 +-- svgs/pushpin-line.svg | 1 + 3 files changed, 3 insertions(+), 3 deletions(-) create mode 100644 svgs/pushpin-line.svg diff --git a/components/item.js b/components/item.js index d9829654..25de0a28 100644 --- a/components/item.js +++ b/components/item.js @@ -5,7 +5,7 @@ import UpVote from './upvote' import { useEffect, useRef, useState } from 'react' import Countdown from './countdown' import { NOFOLLOW_LIMIT } from '../lib/constants' -import Pin from '../svgs/pin.svg' +import Pin from '../svgs/pushpin-line.svg' export default function Item ({ item, rank, children }) { const mine = item.mine diff --git a/components/item.module.css b/components/item.module.css index bbc62c43..dcd3378a 100644 --- a/components/item.module.css +++ b/components/item.module.css @@ -17,8 +17,7 @@ } .pin { - fill: var(--theme-body); - stroke: var(--theme-color); + fill: var(--theme-color); margin-right: .2rem; } diff --git a/svgs/pushpin-line.svg b/svgs/pushpin-line.svg new file mode 100644 index 00000000..b9fdcbf0 --- /dev/null +++ b/svgs/pushpin-line.svg @@ -0,0 +1 @@ + \ No newline at end of file