From fff87a39eb6b35d031fbc1dcdc1d982dae90df42 Mon Sep 17 00:00:00 2001 From: marlin dalpozzo Date: Thu, 18 Jul 2024 12:21:41 -0700 Subject: [PATCH] fix: add subtle suffix to bg-info and bg-secondary classes --- src/components/Input/DateInput.stories.js | 2 +- src/components/List/List.tsx | 2 +- src/components/Note/NoteHeader.tsx | 2 +- src/tooling/colors.js | 1 + 4 files changed, 4 insertions(+), 3 deletions(-) diff --git a/src/components/Input/DateInput.stories.js b/src/components/Input/DateInput.stories.js index 9042024b6..0819fe2c3 100644 --- a/src/components/Input/DateInput.stories.js +++ b/src/components/Input/DateInput.stories.js @@ -151,7 +151,7 @@ export const CalendarCustomDay = (args) => ( 'text-danger': !day.future, 'text-muted': !day.sameMonth, 'text-white bg-primary': day.date.getDate() === 24, - 'bg-info': day.date.getDate() === 28, + 'bg-info-subtle': day.date.getDate() === 28, }); return ( diff --git a/src/components/List/List.tsx b/src/components/List/List.tsx index d30847c34..ca3455b0e 100644 --- a/src/components/List/List.tsx +++ b/src/components/List/List.tsx @@ -165,7 +165,7 @@ function List({ return ( {showHeader && ( - + {select && select !== 'radio' && (
= ({ dateFormat = defaultProps.dateFormat, 'justify-content-between', 'py-2', 'pe-2', - 'bg-info' + 'bg-info-subtle' ); const anyDataExisting = date || from || title; diff --git a/src/tooling/colors.js b/src/tooling/colors.js index 72842ace0..a878e8d9f 100644 --- a/src/tooling/colors.js +++ b/src/tooling/colors.js @@ -8,6 +8,7 @@ export const colors = [ 'ai', 'light', 'dark', + 'white', ]; export const buttonColors = [...colors, 'link']; export const bgColors = [...colors, 'transparent'];