mirror of
https://github.com/owncast/owncast.git
synced 2024-11-24 13:50:06 +03:00
Insert custom CSS styles into layout. Closes #1972
This commit is contained in:
parent
e08037b64a
commit
f4de7ed31f
1 changed files with 3 additions and 1 deletions
|
@ -14,7 +14,7 @@ import FatalErrorStateModal from '../modals/FatalErrorModal';
|
|||
|
||||
function Main() {
|
||||
const clientConfig = useRecoilValue<ClientConfig>(clientConfigStateAtom);
|
||||
const { name, title } = clientConfig;
|
||||
const { name, title, customStyles } = clientConfig;
|
||||
const isChatAvailable = useRecoilValue<boolean>(isChatAvailableSelector);
|
||||
const fatalError = useRecoilValue<DisplayableError>(fatalErrorStateAtom);
|
||||
|
||||
|
@ -75,6 +75,8 @@ function Main() {
|
|||
<meta name="msapplication-TileColor" content="#ffffff" />
|
||||
<meta name="msapplication-TileImage" content="/img/favicon/ms-icon-144x144.png" />
|
||||
<meta name="theme-color" content="#ffffff" />
|
||||
|
||||
<style>{customStyles}</style>
|
||||
</Head>
|
||||
|
||||
<ClientConfigStore />
|
||||
|
|
Loading…
Reference in a new issue