📝(doc) fixing things in doc

During the keynote we saw some things to fix in the documentation.
This commit is contained in:
Nathan Vasse
2023-01-23 15:38:33 +01:00
committed by NathanVss
parent 31d29d8cbf
commit 1529a5b5e7
2 changed files with 5 additions and 5 deletions

View File

@@ -9,7 +9,7 @@ Cunningham comes with an existing toolkit to deal with spacings. 📏
Here are the existing spacings:
<Canvas isColumn={true}>
<Canvas isColumn={true} withSource="none">
<div style={{ display: 'flex', flexDirection: 'column', gap: '10px' }}>
{Object.keys(tokens.theme.spacings).map(key => (
<div key={key} style={{ display: 'flex', alignItems: 'center', gap: '10px' }}>

View File

@@ -106,11 +106,11 @@ class on every dom element.
`}
/>
<Canvas isColumn={true} withSource="none">
<Canvas isColumn={true} withSource="none">
{Object.keys(tokens.theme.font.families).map(key => (
<div key={key} className={"f-" + key}>Using the <code>f-{key}</code> class</div>
))}
</Canvas>
<div key={key} className={"f-" + key}>Using the <code>f-{key}</code> class</div>
))}
</Canvas>
You can customize the values of the font family design tokens with the configuration file this way: