This commit is contained in:
Nathan Vasse
2024-09-12 17:27:28 +02:00
parent aeb7096719
commit b600d598b4
3 changed files with 17 additions and 5 deletions

View File

@@ -90,7 +90,7 @@ export const Panel = ({
}}
$radius="2px"
/>
<Text $weight="bold" $size="l" $theme="primary">
<Text $weight="bold" $size="l" $theme="primary" $variation="900">
{title}
</Text>
</Box>

View File

@@ -117,7 +117,7 @@ export const ModalRemoveDoc = ({ onClose, doc }: ModalRemoveDocProps) => {
border: `1px solid ${colorsTokens()['primary-300']}`,
}}
/>
<Text $theme="primary" $weight="bold" $size="l">
<Text $theme="greyscale" $variation="900" $weight="bold" $size="l">
{doc.title}
</Text>
</Text>

View File

@@ -55,7 +55,11 @@ export const Summary = ({ doc }: SummaryProps) => {
}}
style={{ textAlign: 'left' }}
>
<Text $theme="primary" $padding={{ vertical: 'xtiny' }}>
<Text
$theme="primary"
$variation="900"
$padding={{ vertical: 'xtiny' }}
>
{heading.content?.[0]?.type === 'text' && heading.content?.[0]?.text
? `- ${heading.content[0].text}`
: ''}
@@ -78,7 +82,11 @@ export const Summary = ({ doc }: SummaryProps) => {
});
}}
>
<Text $theme="primary" $padding={{ vertical: 'xtiny' }}>
<Text
$theme="greyscale"
$variation="600"
$padding={{ vertical: 'xtiny' }}
>
{t('Back to top')}
</Text>
</BoxButton>
@@ -95,7 +103,11 @@ export const Summary = ({ doc }: SummaryProps) => {
});
}}
>
<Text $theme="primary" $padding={{ vertical: 'xtiny' }}>
<Text
$theme="greyscale"
$variation="600"
$padding={{ vertical: 'xtiny' }}
>
{t('Go to bottom')}
</Text>
</BoxButton>