From 8806adf2164c902a458edf5614f239ae4442b4b0 Mon Sep 17 00:00:00 2001 From: Karol Wypchlo Date: Tue, 9 Feb 2021 15:12:51 +0100 Subject: [PATCH] colors --- .../dashboard/src/components/Form/Message.js | 18 ++++++++++++------ 1 file changed, 12 insertions(+), 6 deletions(-) diff --git a/packages/dashboard/src/components/Form/Message.js b/packages/dashboard/src/components/Form/Message.js index 572abcc6..fed2a26e 100644 --- a/packages/dashboard/src/components/Form/Message.js +++ b/packages/dashboard/src/components/Form/Message.js @@ -1,6 +1,9 @@ const types = { error: { - color: "red", + backgroundColor: "bg-red-50", + titleColor: "text-red-800", + detailsColor: "text-red-700", + iconColor: "text-red-400", icon: ( +
- {title &&

{title}

} + {title &&

{title}

} {items.length > 0 && ( -
+
    1 ? "list-disc pl-5 space-y-1" : ""}`}> {items.map((item, index) => (
  • {item}