diff options
author | lonkaars <l.leblansch@gmail.com> | 2021-02-04 19:13:54 +0100 |
---|---|---|
committer | lonkaars <l.leblansch@gmail.com> | 2021-02-04 19:13:54 +0100 |
commit | c709c98702c01b78b34c2e469825878dbb1f6029 (patch) | |
tree | 68fc551d2f7039ce6bf5704a1ee06eadf12c91c3 /components | |
parent | 3f13d9e35ba55ddb7cda064aedf94bf3f9b14102 (diff) |
toast text color update
Diffstat (limited to 'components')
-rw-r--r-- | components/toast.tsx | 3 |
1 files changed, 2 insertions, 1 deletions
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)" : |