Skip to content

Commit

Permalink
Merge branch 'master' into 5939/filter-pills
Browse files Browse the repository at this point in the history
  • Loading branch information
timleslie committed Jun 28, 2021
2 parents d3aaaf5 + 27cfdb2 commit 06429d6
Show file tree
Hide file tree
Showing 3 changed files with 19 additions and 12 deletions.
26 changes: 17 additions & 9 deletions docs/components/content/CommunityCta.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,9 @@ export function CommunityCta(props: HTMLAttributes<HTMLElement>) {
<Section
css={mq({
display: 'grid',
gridTemplateColumns: ['1fr', null, '1fr 1fr', '1.2fr 0.8fr'],
gap: '1rem',
gridTemplateColumns: ['1fr', null, '1fr 1fr', '1.1fr 0.9fr'],
gap: '3rem',
alignItems: 'center',
border: '1px solid var(--border)',
borderRadius: '1rem',
padding: '2rem',
Expand All @@ -45,11 +46,15 @@ export function CommunityCta(props: HTMLAttributes<HTMLElement>) {
height={928}
/>
</div>
<div>
<Type as="h2" look="heading36">
<div
css={{
paddingRight: '.3rem',
}}
>
<Type as="h2" look="heading30">
Learn with others in a supportive community
</Type>
<Type as="p" look="body18" margin="2rem 0">
<Type as="p" look="body18" margin="1rem 0">
Share your work and get the help you need in the Keystone community Slack: an inclusive
space to share ideas and explore what‘s possible.
</Type>
Expand All @@ -58,6 +63,9 @@ export function CommunityCta(props: HTMLAttributes<HTMLElement>) {
href="https://community.keystonejs.com"
target="_blank"
rel="noopener noreferrer"
css={{
marginTop: '1rem',
}}
>
Join the community Slack <ArrowR />
</Button>
Expand All @@ -79,12 +87,12 @@ export function CommunityCta(props: HTMLAttributes<HTMLElement>) {
}}
>
<li>
<Tick grad="grad1" />
<Type look="body18">1900+ members</Type>
<Tick grad="grad4" />
<Type look="body16">1900+ members</Type>
</li>
<li>
<Tick grad="grad1" />
<Type look="body18">Personalised support</Type>
<Tick grad="grad4" />
<Type look="body16">Personalised support</Type>
</li>
</ul>
</div>
Expand Down
4 changes: 2 additions & 2 deletions docs/components/primitives/Type.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ const common = {
brand: {
fontFamily: 'var(--font-brand)',
color: 'var(--text-heading)',
lineHeight: 1.1,
lineHeight: 1.3,
},
body: {
fontFamily: 'var(--font-body)',
Expand Down Expand Up @@ -70,7 +70,7 @@ export const styleMap = {
fontSize: '5.75rem',
fontWeight: 900,
letterSpacing: '-0.025em',
lineHeight: 1.1,
lineHeight: 1.2,
},

body12: {
Expand Down
1 change: 0 additions & 1 deletion examples/document-field/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,6 @@ yarn dev:site

This will start the frontend at [localhost:3001](http://localhost:3001).


## Configuring fields

The project contains two `document` fields which show how to use the field configuration options to customise the document editor in the Admin UI.
Expand Down

0 comments on commit 06429d6

Please sign in to comment.