[IMPLEMENTED] Flip the boolean apple-like toggle button color in the UI

Hi Sebastian,

I have a small request.

The toggle button is currently displaying the wrong colors when either enabled or disabled.

When enabled the color should be green. When disabled the color should be red.

Thanks!

Are you sure? I just added a storybook story to be sure:

Hi, sorry for the late reply.

It should be like this:

Update: Oh, I see - i forgot about the default (not set) value state.

Here are the final (3) states:

  1. ON - Like in the links that I pasted; green background color and the switch should be on the right hand side.
  2. OFF - Red background color and the switch should be on the left hand side.
  3. NOT SET - Light gray background and the switch should be in the middle.

So the color is correct but the side is wrong…

@Sebastian I just updated my post, please check it :slight_smile:

Yes, that is correct!