mirror of
https://github.com/gradio-app/gradio.git
synced 2025-02-17 11:29:58 +08:00
text color + custom style fixes (#1626)
This commit is contained in:
parent
51c8c34486
commit
b11ed64a06
@ -36,7 +36,7 @@
|
||||
if (!style.color_map) {
|
||||
return ["#fb923c", "#9ca3af"];
|
||||
} else {
|
||||
return [get_color(style.color_map.bot), get_color(style.color_map.user)];
|
||||
return [get_color(style.color_map[0]), get_color(style.color_map[1])];
|
||||
}
|
||||
}
|
||||
</script>
|
||||
@ -53,7 +53,7 @@
|
||||
</div>
|
||||
<div
|
||||
data-testid="bot"
|
||||
class="px-3 py-2 rounded-[22px] rounded-bl-none place-self-start text-whitetext-sm"
|
||||
class="px-3 py-2 rounded-[22px] rounded-bl-none place-self-start text-white text-sm"
|
||||
style={"background-color:" + _colors[1]}
|
||||
>
|
||||
{message[1]}
|
||||
|
Loading…
Reference in New Issue
Block a user