mirror of
https://github.com/suitenumerique/docs.git
synced 2026-05-10 00:52:11 +02:00
wip
This commit is contained in:
@@ -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>
|
||||
|
||||
@@ -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>
|
||||
|
||||
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user