feat(Checkbox/Progress/RadioGroup/Slider/Switch): add black color

This commit is contained in:
Benjamin Canac
2024-05-16 13:10:49 +02:00
parent 633a39452a
commit 08c91fe8f1
16 changed files with 203 additions and 104 deletions

View File

@@ -72,8 +72,7 @@ const ui = computed(() => tv({ extend: checkbox, slots: props.ui })({
color: color.value,
required: props.required,
disabled: disabled.value,
checked: modelValue.value ?? props.defaultValue,
indeterminate: indeterminate.value
checked: (modelValue.value ?? props.defaultValue) || indeterminate.value
}))
</script>