further profile styling

This commit is contained in:
vidvidvid
2021-10-09 10:56:07 +02:00
committed by Alec LaLonde
parent fe3fcab3a4
commit 4fa8bd0d3d
3 changed files with 9 additions and 2 deletions

View File

@@ -4,7 +4,7 @@ import React from 'react';
export const MetaTag: React.FC<TagProps> = React.forwardRef<HTMLSpanElement>(
({ children, ...props }, ref) => (
<Tag
fontFamily="body"
fontFamily="exo2"
fontSize="sm"
fontWeight="bold"
backgroundColor="purpleTag"

View File

@@ -44,6 +44,8 @@ export const PlayerColorDisposition: React.FC<Props> = ({
2,
)}`}
maxH="6rem"
fontSize={{ base: 'sm', sm: 'md' }}
// fontWeight="600" 600 === 700 :{ and 700 is bold :S
>
<ColorBar mask={type.mask} />
</Link>

View File

@@ -22,7 +22,12 @@ export const PlayerType: React.FC<Props> = ({
>
{player.type?.title && (
<FlexContainer align="stretch" fontSize={{ base: 'sm', sm: 'md' }}>
<Text color="white" fontWeight="bold" casing="uppercase">
<Text
color="white"
// fontWeight="600" 600 === 700 :{ and 700 is too much
casing="uppercase"
fontSize={{ base: 'sm', sm: 'md' }}
>
{player.type.title}
</Text>
<Text color="blueLight">{player.type.description}</Text>