Add Teletext theme

This commit is contained in:
Stephen Jianu 2026-01-25 15:35:35 -06:00
commit 13261e0962
3 changed files with 15 additions and 0 deletions

View file

@ -278,6 +278,9 @@ function Player () {
if (theme_value.localeCompare('teenage') === 0) {
new_theme = donsol.teenageTheme
}
if (theme_value.localeCompare('teletext') === 0) {
new_theme = donsol.teletextTheme
}
donsol.theme = new Theme(new_theme)
donsol.theme.load(new_theme)
donsol.theme.install(document.body)