Theme not fully changing in automation

Hi

My themes changes properly when switching it in my profile.
But when i use it in an automation my theme isn’t fully changing. The background color for example stays the same while all of the rest changes. Any help for this?

- id: '1551955724336'
  alias: Set Clear Theme
  trigger:
  - at: '10:00:00'
    platform: time
  condition: []
  action:
  - data:
      name: clear
    service: frontend.set_theme
- id: '1551955789664'
  alias: Set Dark Theme
  trigger:
  - at: '22:00:00'
    platform: time
  condition: []
  action:
  - data:
      name: dark
    service: frontend.set_theme

What version of Home Assistant are you running?

What web browser are you using?

0.100.3 & Chrome

Ok, you’re up to date which is good. There were problems with changing themes a couple of releases ago.

I’ll have a look at Chrome tomorrow and see if I can reproduce the problem.