From 5dac863615fb713208d0ba8a14d02c3651d6e045 Mon Sep 17 00:00:00 2001 From: taysea Date: Mon, 28 Oct 2024 16:48:26 -0700 Subject: [PATCH] Remove use of old foreground colors in grommet-app --- .../components/DashboardCard/DashboardCard.jsx | 4 ++-- .../src/pages/next/QuickActions.jsx | 18 +++++------------- 2 files changed, 7 insertions(+), 15 deletions(-) diff --git a/sandbox/grommet-app/src/components/DashboardCard/DashboardCard.jsx b/sandbox/grommet-app/src/components/DashboardCard/DashboardCard.jsx index bd5542d9b..16405d2b6 100644 --- a/sandbox/grommet-app/src/components/DashboardCard/DashboardCard.jsx +++ b/sandbox/grommet-app/src/components/DashboardCard/DashboardCard.jsx @@ -84,7 +84,7 @@ export const DashboardCard = ({ ) : external ? ( { {skeleton ? ( ) : ( - } - label="Add devices" - href="#" - /> + } label="Add devices" href="#" /> )} {skeleton ? ( ) : ( } + icon={icons && } label="Add service subscriptions" href="#" /> @@ -45,17 +41,13 @@ export const QuickActions = ({ edit = true, icons }) => { {skeleton ? ( ) : ( - } - label="Add users" - href="#" - /> + } label="Add users" href="#" /> )} {skeleton ? ( ) : ( } + icon={icons && } label="Assign roles" href="#" /> @@ -64,7 +56,7 @@ export const QuickActions = ({ edit = true, icons }) => { ) : ( } + icon={icons && } label="Create location" href="#" />