aboutsummaryrefslogtreecommitdiff
path: root/components
diff options
context:
space:
mode:
Diffstat (limited to 'components')
-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)" :