Skip to content

Commit

Permalink
delete theme-r4 and fix default theme fetching
Browse files Browse the repository at this point in the history
  • Loading branch information
h.u.g.u.rp committed Oct 19, 2023
1 parent e28024c commit 2b632b5
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 111 deletions.
110 changes: 0 additions & 110 deletions assets/theme-r4.css

This file was deleted.

1 change: 1 addition & 0 deletions src/components/r4-app.js
Original file line number Diff line number Diff line change
Expand Up @@ -167,6 +167,7 @@ export default class R4App extends LitElement {
this.themeStyles = await this.fetchTheme(this.store.userAccount.theme)
} else {
this.theme = 'default'
this.themeStyles = await this.fetchTheme(this.theme)
}
if (this.store.userAccount?.color_scheme) {
this.colorScheme = this.store.userAccount.color_scheme
Expand Down
2 changes: 1 addition & 1 deletion src/components/r4-user-account.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import {LitElement, html} from 'lit'
import {sdk} from '@radio4000/sdk'

const THEMES = ['default', 'jellybeans', 'r4']
const THEMES = ['default', 'jellybeans']
const COLOR_SCHEMES = ['dark', 'light']

export default class R4UserAccount extends LitElement {
Expand Down

0 comments on commit 2b632b5

Please sign in to comment.