Merge pull request #1782 from twishasaraiya/techdocs/docs-header

techdocs: modify documentation header
This commit is contained in:
Sebastian Qvarfordt
2020-07-30 16:48:18 +02:00
committed by GitHub
3 changed files with 17 additions and 4 deletions
@@ -85,6 +85,14 @@ export const App = () => (
</Page>
);
export const Documentation = () => (
<Page theme={pageTheme.documentation}>
<Header title="Documentation component page" type="documentation">
{labels}
</Header>
</Page>
);
export const Other = () => (
<Page theme={pageTheme.other}>
<Header title="Other/generic component page" type="other">
@@ -65,6 +65,11 @@ export const gradients: Record<string, Gradient> = {
waveColor: '#9BF0E1',
opacity: ['0.72', '0.0'],
},
pinkSea: {
colors: ['#C8077A', '#C2297D'],
waveColor: '#ea93c3',
opacity: ['0.8', '0.0'],
},
};
export const pageTheme: Record<string, PageTheme> = {
@@ -72,7 +77,7 @@ export const pageTheme: Record<string, PageTheme> = {
gradient: gradients.teal,
},
documentation: {
gradient: gradients.eveningSea,
gradient: gradients.pinkSea,
},
tool: {
gradient: gradients.purpleSky,