techdocs: modify documentation header

This commit is contained in:
Twisha Saraiya
2020-07-30 14:45:21 +05:30
parent 75abb42217
commit 5749c98e3f
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,