aboutsummaryrefslogtreecommitdiffstats
path: root/packages/website/ts/components/ui
diff options
context:
space:
mode:
authorBrandon Millman <brandon.millman@gmail.com>2018-06-30 08:20:20 +0800
committerBrandon Millman <brandon.millman@gmail.com>2018-07-01 03:37:34 +0800
commitb9b00e10d39c3c84bc72892ef37f1313e904414d (patch)
treed9345ba267889eed5bbdc10b2d2ee06708ecf19c /packages/website/ts/components/ui
parent6c34255a3e45a2f0b85dd7e9d925c7a789f603f1 (diff)
downloaddexon-sol-tools-b9b00e10d39c3c84bc72892ef37f1313e904414d.tar
dexon-sol-tools-b9b00e10d39c3c84bc72892ef37f1313e904414d.tar.gz
dexon-sol-tools-b9b00e10d39c3c84bc72892ef37f1313e904414d.tar.bz2
dexon-sol-tools-b9b00e10d39c3c84bc72892ef37f1313e904414d.tar.lz
dexon-sol-tools-b9b00e10d39c3c84bc72892ef37f1313e904414d.tar.xz
dexon-sol-tools-b9b00e10d39c3c84bc72892ef37f1313e904414d.tar.zst
dexon-sol-tools-b9b00e10d39c3c84bc72892ef37f1313e904414d.zip
Update relayer grid tiles to use Text
Diffstat (limited to 'packages/website/ts/components/ui')
-rw-r--r--packages/website/ts/components/ui/text.tsx4
1 files changed, 2 insertions, 2 deletions
diff --git a/packages/website/ts/components/ui/text.tsx b/packages/website/ts/components/ui/text.tsx
index 88f216d4e..c1cb2ade4 100644
--- a/packages/website/ts/components/ui/text.tsx
+++ b/packages/website/ts/components/ui/text.tsx
@@ -16,7 +16,7 @@ export interface TextProps {
center?: boolean;
fontWeight?: number | string;
textDecorationLine?: string;
- onClick?: () => void;
+ onClick?: (event: React.MouseEvent<HTMLElement>) => void;
}
const PlainText: React.StatelessComponent<TextProps> = ({ children, className, onClick, Tag }) => (
@@ -37,7 +37,7 @@ export const Text = styled(PlainText)`
${props => (props.onClick ? 'cursor: pointer' : '')};
transition: color 0.5s ease;
&:hover {
- ${props => (props.onClick ? `color: ${darken(0.1, props.fontColor)}` : '')};
+ ${props => (props.onClick ? `color: ${darken(0.3, props.fontColor)}` : '')};
}
`;