fix: use frappe-ui theme colors and fixed tailwind config

This commit is contained in:
Jannat Patel
2025-12-08 10:37:31 +05:30
parent 5825bcf9b3
commit 040d74c20a
5 changed files with 16 additions and 13 deletions

View File

@@ -21,7 +21,10 @@
:style="
modelValue
? {
backgroundColor: getColor(modelValue.toLowerCase(), 400)
backgroundColor: getColor(
modelValue.toLowerCase(),
400
),
}
: {}
"
@@ -54,8 +57,7 @@
:key="color"
class="size-5 rounded-full cursor-pointer"
:style="{
backgroundColor:
getColor(color.toLowerCase(), 400),
backgroundColor: getColor(color.toLowerCase(), 400),
}"
@click="
(e) => {
@@ -104,5 +106,4 @@ const colors = computed(() => {
'Yellow',
]
})
</script>