diff --git a/apps/web/core/components/issues/create-issue-toast-action-items.tsx b/apps/web/core/components/issues/create-issue-toast-action-items.tsx index 4b2924b9abb..550bc2ec4f4 100644 --- a/apps/web/core/components/issues/create-issue-toast-action-items.tsx +++ b/apps/web/core/components/issues/create-issue-toast-action-items.tsx @@ -55,7 +55,7 @@ export const CreateIssueToastActionItems = observer(function CreateIssueToastAct }; return ( -
All toast variants (static):
+Toast variants in dark mode:
++ The toast component uses semantic design tokens from the Plane design system. +
+| Variant | +Title Text | +Icon BG | +Toast BG | +Border | +
|---|---|---|---|---|
| Success | +
+ text-primary
+ |
+
+ bg-success-primary
+ |
+
+ bg-surface-1
+ |
+
+ border-subtle
+ |
+
| Error | +
+ text-primary
+ |
+
+ bg-danger-primary
+ |
+
+ bg-surface-1
+ |
+
+ border-subtle
+ |
+
| Warning | +
+ text-primary
+ |
+
+ bg-warning-primary
+ |
+
+ bg-surface-1
+ |
+
+ border-subtle
+ |
+
| Info | +
+ text-primary
+ |
+
+ bg-accent-primary
+ |
+
+ bg-surface-1
+ |
+
+ border-subtle
+ |
+
| Loading | +
+ text-primary
+ |
+
+ bg-layer-2
+ |
+
+ bg-surface-1
+ |
+
+ border-subtle
+ |
+
text-14 font-semibold
+ text-13
+ text-secondary
+ text-13 font-medium
+ shadow-raised-200
+ text-on-color
+
+ bg-{"{"}variant{"}"}-primary
+
+
+ text-icon-secondary hover:text-icon-tertiary
+
+ See how the tokens are applied across all toast variants:
+