1
0
mirror of https://github.com/Sonarr/Sonarr.git synced 2026-04-21 22:05:38 -04:00

Theme specific metadata source images

This commit is contained in:
Mark McDowall
2026-03-08 17:43:14 -07:00
parent 421c1f5470
commit 7b0eb44fa7
5 changed files with 14 additions and 3 deletions
@@ -1,14 +1,17 @@
import React from 'react';
import InlineMarkdown from 'Components/Markdown/InlineMarkdown';
import useTheme from 'Helpers/Hooks/useTheme';
import translate from 'Utilities/String/translate';
import styles from './TheTvdb.css';
function TheTvdb() {
const theme = useTheme();
return (
<div className={styles.container}>
<img
className={styles.image}
src={`${window.Sonarr.urlBase}/Content/Images/thetvdb.png`}
src={`${window.Sonarr.urlBase}/Content/Images/thetvdb-${theme}.png`}
/>
<div className={styles.info}>