-
Notifications
You must be signed in to change notification settings - Fork 8
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'padms/1887' into staging
- Loading branch information
Showing
16 changed files
with
219 additions
and
53 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
import { BlockStyleDefinition } from 'sanity' | ||
|
||
const bigTitle = { | ||
title: 'Large', | ||
value: 'normal', | ||
component: ({ children }: { children: React.ReactNode }) => { | ||
return <span style={{ fontSize: '42px' }}>{children}</span> | ||
}, | ||
} | ||
|
||
export const defaultBannerBigTitletStyle: BlockStyleDefinition[] = [ | ||
bigTitle, | ||
{ | ||
title: 'Extra Large', | ||
value: 'extraLarge', | ||
component: ({ children }: { children: React.ReactNode }) => { | ||
return <span style={{ fontSize: '56px' }}>{children}</span> | ||
}, | ||
}, | ||
] | ||
|
||
export const fiftyFiftyBigTitleStyle: BlockStyleDefinition[] = [bigTitle] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.