Skip to content

Commit e010fb8

Browse files
Change info icon bg-color so it shows up in dark mode
1 parent 78f62bf commit e010fb8

File tree

3 files changed

+85
-0
lines changed

3 files changed

+85
-0
lines changed

web/pages/posts/[slug].js

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@ import Layout from '../../components/Layout'
88
import PostImg from '../../components/PostImg'
99
import themes from '../../colorsAndThemes'
1010
import matchExtLinkMarkDef from '../../utils/matchExtLinkMarkDef'
11+
// import img from '/img.svg'
1112

1213
const MainContent = styled.div`
1314
margin-top: 1.5em;
@@ -104,6 +105,9 @@ const UL = styled.ul`
104105
const InfoIcon = styled.img`
105106
float: left;
106107
margin: 0 15px 0 0;
108+
border-radius: 50%;
109+
background-color: ${({ theme }) => theme.secondaryColor};;
110+
/* box-shadow: 0 0 15px white; */
107111
@media screen and (max-width: 600px) {
108112
margin: 0 5px 0 0;
109113
}

web/public/lightingbolt.svg

Lines changed: 43 additions & 0 deletions
Loading
Lines changed: 38 additions & 0 deletions
Loading

0 commit comments

Comments
 (0)