+
{this.props.site &&
this.props.site.site &&
this.props.site.site.icon && (
diff --git a/src/shared/components/theme.tsx b/src/shared/components/theme.tsx
new file mode 100644
index 00000000..558f9a8b
--- /dev/null
+++ b/src/shared/components/theme.tsx
@@ -0,0 +1,36 @@
+import { User } from 'lemmy-js-client';
+import { Helmet } from 'inferno-helmet';
+
+export const Theme = (props: { user: User | undefined }) => {
+ const user = props.user;
+ const userTheme = user && user.theme && (
+
+ );
+
+ return (
+
+ {userTheme ?? (
+ <>
+
+
+ >
+ )}
+
+ );
+};