Customizing appearance
Appearance customization was first supported in Owncast 0.1.0.TODO: Share some examples of setting appearance via CSS and the admin.
CSS Selectors
headerfooter#global-header-textThe text in the header.#offline-bannerThe banner that appears when the stream is offline.#custom-page-contentThe custom content of the page.#notify-buttonButton to display the notify modal.#follow-buttonButton to display the follow modal.#followers-collectionThe collection of followers.#modal-containerThe container for the modals.#chat-containerThe container for the chat..chat-message_userA user-sent chat message..chat-message_systemA system-sent chat message..chat-message_socialA social message from the Fediverse..followers-followerA single Follower in the followers collection.
CSS Variables
You can override the values assigned to CSS variables manually by setting them in the CSS editor in the admin. You can find a list of variable names you can override.
For example, if you’d like to make all action items (links, buttons) red, button borders green, and change the body font to a serif font, you can set the following CSS variables as follows:
:root {
--theme-color-action: red;
--theme-color-components-primary-button-border: green;
--theme-text-body-font-family: serif;
}