From c709c98702c01b78b34c2e469825878dbb1f6029 Mon Sep 17 00:00:00 2001 From: lonkaars Date: Thu, 4 Feb 2021 19:13:54 +0100 Subject: toast text color update --- components/toast.tsx | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'components') diff --git a/components/toast.tsx b/components/toast.tsx index e01683f..7f71855 100644 --- a/components/toast.tsx +++ b/components/toast.tsx @@ -37,8 +37,9 @@ export class Toast extends Component<{ padding: 0, marginBottom: 12, borderRadius: 8, - color: "var(--text)", boxShadow: "0 8px 12px -4px #00000033", + color: + this.props.type === "confirmation" ? "var(--background)" : "var(--text)", backgroundColor: this.props.type === "normal" ? "var(--background)" : this.props.type === "confirmation" ? "var(--disk-b)" : -- cgit v1.2.3