aboutsummaryrefslogtreecommitdiffstats
path: root/packages/instant/src/components/ui
diff options
context:
space:
mode:
authorfragosti <francesco.agosti93@gmail.com>2018-11-03 05:21:04 +0800
committerfragosti <francesco.agosti93@gmail.com>2018-11-03 05:21:04 +0800
commitcc4ccda6232af470b96950a37fa1d0f4b4ef7f3a (patch)
tree871fd2eae9cddfa7425f4b4b834a2f34ea0368e7 /packages/instant/src/components/ui
parent819ba1430337d330dec05be5a4bae5651419bf63 (diff)
downloaddexon-sol-tools-cc4ccda6232af470b96950a37fa1d0f4b4ef7f3a.tar.gz
dexon-sol-tools-cc4ccda6232af470b96950a37fa1d0f4b4ef7f3a.tar.zst
dexon-sol-tools-cc4ccda6232af470b96950a37fa1d0f4b4ef7f3a.zip
chore: address PR comments
Diffstat (limited to 'packages/instant/src/components/ui')
-rw-r--r--packages/instant/src/components/ui/circle.tsx1
-rw-r--r--packages/instant/src/components/ui/container.tsx4
2 files changed, 3 insertions, 2 deletions
diff --git a/packages/instant/src/components/ui/circle.tsx b/packages/instant/src/components/ui/circle.tsx
index e7a29d59c..eec2777d2 100644
--- a/packages/instant/src/components/ui/circle.tsx
+++ b/packages/instant/src/components/ui/circle.tsx
@@ -1,7 +1,6 @@
import { styled } from '../../style/theme';
export interface CircleProps {
- className?: string;
diameter: number;
fillColor?: string;
}
diff --git a/packages/instant/src/components/ui/container.tsx b/packages/instant/src/components/ui/container.tsx
index e228a01b6..a0a187e5f 100644
--- a/packages/instant/src/components/ui/container.tsx
+++ b/packages/instant/src/components/ui/container.tsx
@@ -70,7 +70,9 @@ export const Container =
&:hover {
${props =>
props.darkenOnHover
- ? `background-color: ${darken(0.05, props.theme[props.backgroundColor || 'white'])}`
+ ? `background-color: ${
+ props.backgroundColor ? darken(0.05, props.theme[props.backgroundColor]) : 'none'
+ }`
: ''};
}
`;