Custom Theme State Color Not Working

I want to change the color of a moisture sensor because I am color blind so a create a custom theme in my configuration.yaml. I have selected the theme in my dashboard but the color changes is not taking effect.

# Custom theme for state color
frontend:
  themes:
    my_theme:
      state-binary_sensor-moisture-wet-color: "#0000ff"

Any help with what I am doing wrong would be appreciated.

Well if anyone looks at this it should have used on instead of wet.

# Custom theme for state color
frontend:
  themes:
    my_theme:
      state-binary_sensor-moisture-on-color: "#0000ff"