📝(doc) fixing things in doc
During the keynote we saw some things to fix in the documentation.
This commit is contained in:
@@ -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' }}>
|
||||
|
||||
@@ -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:
|
||||
|
||||
|
||||
Reference in New Issue
Block a user