-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Updated theme from tmanundercover:master (#3)
* Fixed Customized Themeprovider values - fixes responsiveness and fonts passthru from theme Removed TheWebsiteTheme in favor of useTheme or useContext(CustomizedThemeContext) * pulling the font faces through Sanity Theme object * fixed theming for storybook stories. * removed some project specific values in favor of environment variables
- Loading branch information
1 parent
13e1644
commit 80c1be4
Showing
74 changed files
with
1,867 additions
and
1,945 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
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
Large diffs are not rendered by default.
Oops, something went wrong.
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
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,48 @@ | ||
export default { | ||
name: 'MuiFontFace', | ||
title: 'MUI Font Face', | ||
type: 'object', | ||
fields: [ | ||
{ | ||
name: 'name', | ||
title: 'Name', | ||
type: 'string', | ||
}, | ||
{ | ||
name: 'fontSize', | ||
title: 'Font Size', | ||
type: 'string', | ||
}, | ||
{ | ||
name: 'fontStyle', | ||
title: 'Font Style', | ||
type: 'string', | ||
}, | ||
{ | ||
name: 'fontWeight', | ||
title: 'Font Weight', | ||
type: 'string', | ||
}, | ||
{ | ||
name: 'lineHeight', | ||
title: 'Line Height', | ||
type: 'string', | ||
}, | ||
{ | ||
name: 'letterSpacing', | ||
title: 'Letter Spacing', | ||
type: 'string', | ||
}, | ||
{ | ||
name: 'textTransform', | ||
title: 'Text Transform', | ||
type: 'string', | ||
}, | ||
{ | ||
name: 'mediaQueries', | ||
title: 'Media Queries', | ||
type: "array", | ||
of:[{type: "MuiMediaQuery"}], | ||
}, | ||
] | ||
} |
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,27 @@ | ||
export default { | ||
name: 'MuiMediaQuery', | ||
title: 'MUI Media Query', | ||
type: 'object', | ||
fields: [ | ||
{ | ||
name: 'breakpoint', | ||
title: 'Breakpoint', | ||
type: "array", | ||
of:[{type: "string", options: { | ||
list: [ | ||
{value: "xs", title: "XS"}, | ||
{value: "sm", title: "SM"}, | ||
{value: "md", title: "MD"}, | ||
{value: "lg", title: "LG"}, | ||
{value: "xl", title: "XL"}, | ||
] | ||
}}], | ||
|
||
}, | ||
{ | ||
name: 'typography', | ||
title: 'Typography', | ||
type: 'MuiFontFace', | ||
}, | ||
] | ||
} |
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.