aboutsummaryrefslogtreecommitdiff
path: root/components/toast.tsx
diff options
context:
space:
mode:
authorlonkaars <l.leblansch@gmail.com>2021-02-04 19:13:54 +0100
committerlonkaars <l.leblansch@gmail.com>2021-02-04 19:13:54 +0100
commitc709c98702c01b78b34c2e469825878dbb1f6029 (patch)
tree68fc551d2f7039ce6bf5704a1ee06eadf12c91c3 /components/toast.tsx
parent3f13d9e35ba55ddb7cda064aedf94bf3f9b14102 (diff)
toast text color update
Diffstat (limited to 'components/toast.tsx')
-rw-r--r--components/toast.tsx3
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)" :