Skip to content

Commit c5203ee

Browse files
committed
fix theme
1 parent 4903469 commit c5203ee

1 file changed

Lines changed: 16 additions & 7 deletions

File tree

src/components/pages/profile/[name]/registration/steps/Pricing/TemporaryPremium.tsx

Lines changed: 16 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -139,8 +139,20 @@ const InnerTooltip = styled.div(
139139
`,
140140
)
141141

142-
const ArrowContainer = styled.svg(() => css``)
143-
const BoxContainer = styled.svg(() => css``)
142+
const ArrowContainer = styled.svg(
143+
({ theme }) => css`
144+
path {
145+
fill: ${theme.colors.background};
146+
}
147+
`,
148+
)
149+
const BoxContainer = styled.svg(
150+
({ theme }) => css`
151+
g > rect {
152+
fill: ${theme.colors.background};
153+
}
154+
`,
155+
)
144156

145157
const TooltipWrapper = styled.div(
146158
({ theme }) => css`
@@ -184,14 +196,11 @@ const Tooltip = () => {
184196
<>
185197
<TooltipWrapper>
186198
<ArrowContainer viewBox="81.89 0 14.22 72" fill="none" xmlns="http://www.w3.org/2000/svg">
187-
<path
188-
d="M92.2 64.4C90.6 66.5333 87.4 66.5333 85.8 64.4L81 58H97L92.2 64.4Z"
189-
fill="white"
190-
/>
199+
<path d="M92.2 64.4C90.6 66.5333 87.4 66.5333 85.8 64.4L81 58H97L92.2 64.4Z" />
191200
</ArrowContainer>
192201
<BoxContainer viewBox="0 0 178 72" fill="none" xmlns="http://www.w3.org/2000/svg">
193202
<g>
194-
<rect x="4" y="2" width="170" height="56" rx="8" fill="white" />
203+
<rect x="4" y="2" width="170" height="56" rx="8" />
195204
<foreignObject x="4" y="2" width="170" height="56">
196205
<InnerTooltip>
197206
<Typography />

0 commit comments

Comments
 (0)