chore: Remove older UI (#11720)
This commit is contained in:
@@ -19,7 +19,7 @@ const updateValue = () => {
|
||||
<template>
|
||||
<button
|
||||
type="button"
|
||||
class="relative h-4 transition-colors duration-200 ease-in-out rounded-full w-7 focus:outline-none focus:ring-1 focus:ring-primary-500 focus:ring-offset-n-slate-2 focus:ring-offset-2"
|
||||
class="relative h-4 transition-colors duration-200 ease-in-out rounded-full w-7 focus:outline-none focus:ring-1 focus:ring-n-brand focus:ring-offset-n-slate-2 focus:ring-offset-2"
|
||||
:class="modelValue ? 'bg-n-brand' : 'bg-n-alpha-1 dark:bg-n-alpha-2'"
|
||||
role="switch"
|
||||
:aria-checked="modelValue"
|
||||
@@ -30,8 +30,8 @@ const updateValue = () => {
|
||||
class="absolute top-0.5 left-0.5 h-3 w-3 transform rounded-full shadow-sm transition-transform duration-200 ease-in-out"
|
||||
:class="
|
||||
modelValue
|
||||
? 'translate-x-3 bg-white'
|
||||
: 'translate-x-0 bg-white dark:bg-n-black'
|
||||
? 'translate-x-3 bg-n-background'
|
||||
: 'translate-x-0 bg-n-background'
|
||||
"
|
||||
/>
|
||||
</button>
|
||||
|
||||
Reference in New Issue
Block a user