diff --git a/packages/core/src/layout/Header/Header.stories.tsx b/packages/core/src/layout/Header/Header.stories.tsx
new file mode 100644
index 0000000000..e1198d7b65
--- /dev/null
+++ b/packages/core/src/layout/Header/Header.stories.tsx
@@ -0,0 +1,94 @@
+/*
+ * Copyright 2020 Spotify AB
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+import React from 'react';
+import Header from '.';
+import HeaderLabel from '../HeaderLabel';
+import Page, { pageTheme } from '../Page';
+
+export default {
+ title: 'Header',
+ component: Header,
+};
+
+const labels = (
+ <>
+
+
+
+ >
+);
+
+export const Home = () => (
+
+
+
+);
+
+export const HomeWithSubtitle = () => (
+
+);
+
+export const Tool = () => (
+
+
+
+);
+
+export const Service = () => (
+
+
+
+);
+
+export const Website = () => (
+
+
+
+);
+
+export const Library = () => (
+
+
+
+);
+
+export const App = () => (
+
+
+
+);
+
+export const Other = () => (
+
+
+
+);
diff --git a/packages/core/src/layout/Header/Header.tsx b/packages/core/src/layout/Header/Header.tsx
index 9fc4807733..47fcc324a7 100644
--- a/packages/core/src/layout/Header/Header.tsx
+++ b/packages/core/src/layout/Header/Header.tsx
@@ -148,7 +148,7 @@ const SubtitleFragment: FC = ({ classes, subtitle }) => {
}
return (
-
+
{subtitle}
);
diff --git a/packages/core/src/layout/Page/PageThemeProvider.ts b/packages/core/src/layout/Page/PageThemeProvider.ts
index a767033029..9c31fcb4ac 100644
--- a/packages/core/src/layout/Page/PageThemeProvider.ts
+++ b/packages/core/src/layout/Page/PageThemeProvider.ts
@@ -89,4 +89,19 @@ export const pageTheme: Record = {
tool: {
gradient: gradients.purpleBlue,
},
+ service: {
+ gradient: gradients.green,
+ },
+ website: {
+ gradient: gradients.purple,
+ },
+ library: {
+ gradient: gradients.sunset,
+ },
+ other: {
+ gradient: gradients.brown,
+ },
+ app: {
+ gradient: gradients.redOrange,
+ },
};
diff --git a/plugins/catalog/src/components/ComponentPage/ComponentPage.tsx b/plugins/catalog/src/components/ComponentPage/ComponentPage.tsx
index 0cf7017173..a1e33597a2 100644
--- a/plugins/catalog/src/components/ComponentPage/ComponentPage.tsx
+++ b/plugins/catalog/src/components/ComponentPage/ComponentPage.tsx
@@ -83,8 +83,8 @@ const ComponentPage: FC = ({
};
return (
-
-
+
+
{confirmationDialogOpen && catalogRequest.value && (
diff --git a/plugins/circleci/src/components/PluginHeader/PluginHeader.tsx b/plugins/circleci/src/components/PluginHeader/PluginHeader.tsx
index 4bab4b5921..9f94cff480 100644
--- a/plugins/circleci/src/components/PluginHeader/PluginHeader.tsx
+++ b/plugins/circleci/src/components/PluginHeader/PluginHeader.tsx
@@ -22,7 +22,7 @@ import SettingsIcon from '@material-ui/icons/Settings';
import { useSettings } from '../../state';
export type Props = { title?: string };
-export const PluginHeader: FC = ({ title = 'Circle CI' }) => {
+export const PluginHeader: FC = ({ title = 'CircleCI' }) => {
const [, { showSettings }] = useSettings();
const location = useLocation();
const notRoot = !location.pathname.match(/\/circleci\/?$/);