Commit 056f0607 authored by isstuev's avatar isstuev

fix link style

parent db138d45
...@@ -18,7 +18,7 @@ const variantPrimary = defineStyle((props) => { ...@@ -18,7 +18,7 @@ const variantPrimary = defineStyle((props) => {
const variantSecondary = defineStyle((props) => { const variantSecondary = defineStyle((props) => {
return { return {
color: mode('gray.500', 'gray.500')(props), color: mode('gray.600', 'gray.500')(props),
_hover: { _hover: {
color: mode('gray.600', 'gray.400')(props), color: mode('gray.600', 'gray.400')(props),
}, },
......
import { Center, Text, Icon, Link, useColorModeValue } from '@chakra-ui/react'; import { Center, Icon, Link } from '@chakra-ui/react';
import React from 'react'; import React from 'react';
type Props = { type Props = {
...@@ -9,16 +9,14 @@ type Props = { ...@@ -9,16 +9,14 @@ type Props = {
} }
const FooterLinkItem = ({ icon, iconSize, text, url }: Props) => { const FooterLinkItem = ({ icon, iconSize, text, url }: Props) => {
const textColor = useColorModeValue('gray.600', 'gray.500');
return ( return (
<Link href={ url } display="flex" alignItems="center" h="30px" color={ textColor } target="_blank"> <Link href={ url } display="flex" alignItems="center" h="30px" variant="secondary" target="_blank" fontSize="xs">
{ icon && ( { icon && (
<Center minW={ 6 } mr="6px"> <Center minW={ 6 } mr="6px">
<Icon boxSize={ iconSize || 5 } as={ icon }/> <Icon boxSize={ iconSize || 5 } as={ icon }/>
</Center> </Center>
) } ) }
<Text fontSize="xs" color={ textColor }>{ text }</Text> { text }
</Link> </Link>
); );
}; };
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment