Skip to content

Commit

Permalink
fix: add subtle suffix to bg-info and bg-secondary classes
Browse files Browse the repository at this point in the history
  • Loading branch information
mdalpozzo committed Jul 18, 2024
1 parent 10962b5 commit fff87a3
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/components/Input/DateInput.stories.js
Original file line number Diff line number Diff line change
Expand Up @@ -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 (
<td className={className}>
Expand Down
2 changes: 1 addition & 1 deletion src/components/List/List.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -165,7 +165,7 @@ function List<T extends Item>({
return (
<ListGroup flush={flush} tag="div" {...props}>
{showHeader && (
<ListGroupItem tag="header" className="d-flex align-items-center bg-secondary js-header">
<ListGroupItem tag="header" className="d-flex align-items-center js-header">
{select && select !== 'radio' && (
<div className="h-100 d-flex align-items-center me-3">
<Input
Expand Down
2 changes: 1 addition & 1 deletion src/components/Note/NoteHeader.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ const NoteHeader: FC<NoteHeaderProps> = ({ dateFormat = defaultProps.dateFormat,
'justify-content-between',
'py-2',
'pe-2',
'bg-info'
'bg-info-subtle'
);

const anyDataExisting = date || from || title;
Expand Down
1 change: 1 addition & 0 deletions src/tooling/colors.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ export const colors = [
'ai',
'light',
'dark',
'white',
];
export const buttonColors = [...colors, 'link'];
export const bgColors = [...colors, 'transparent'];
Expand Down

0 comments on commit fff87a3

Please sign in to comment.