|
|
|
|
@ -149,7 +149,7 @@ defmodule PlausibleWeb.Live.GoalSettings.Form do
|
|
|
|
|
>
|
|
|
|
|
<button
|
|
|
|
|
class="relative inline-flex h-6 w-11 flex-shrink-0 rounded-full border-2 border-transparent transition-colors duration-200 ease-in-out focus:outline-none focus:ring-2 focus:ring-indigo-600 focus:ring-offset-2"
|
|
|
|
|
x-bind:class="active ? 'bg-indigo-600' : 'bg-gray-200'"
|
|
|
|
|
x-bind:class="active ? 'bg-indigo-600' : 'dark:bg-gray-700 bg-gray-200'"
|
|
|
|
|
x-bind:aria-checked="active"
|
|
|
|
|
aria-labelledby="enable-revenue-tracking"
|
|
|
|
|
role="switch"
|
|
|
|
|
@ -158,7 +158,7 @@ defmodule PlausibleWeb.Live.GoalSettings.Form do
|
|
|
|
|
<span
|
|
|
|
|
aria-hidden="true"
|
|
|
|
|
class="pointer-events-none inline-block h-5 w-5 transform rounded-full bg-white shadow ring-0 transition duration-200 ease-in-out"
|
|
|
|
|
x-bind:class="active ? 'translate-x-5' : 'translate-x-0'"
|
|
|
|
|
x-bind:class="active ? 'dark:bg-gray-800 translate-x-5' : 'dark:bg-gray-800 translate-x-0'"
|
|
|
|
|
/>
|
|
|
|
|
</button>
|
|
|
|
|
<span
|
|
|
|
|
|