Skip to content

Commit

Permalink
Fix badge examples to ensure minimum color contrast (#5540)
Browse files Browse the repository at this point in the history
  • Loading branch information
deleonio authored Nov 9, 2023
2 parents e4a8344 + f72cbee commit e4fb0d4
Show file tree
Hide file tree
Showing 11 changed files with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions packages/samples/react/src/components/badge/basic.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -8,11 +8,11 @@ const PROPS = {
};

export const BadgeBasic: FC = () => (
<div className="d-flex gap-2">
<div className="flex gap-2">
<KolBadge {...PROPS}></KolBadge>
<KolBadge _color="#B22222" {...PROPS}></KolBadge>
<KolBadge _color="#4682B4" {...PROPS}></KolBadge>
<KolBadge _color="#228B22" {...PROPS}></KolBadge>
<KolBadge _color="#8B008B" {...PROPS}></KolBadge>
<KolBadge _color="#86ffc6" {...PROPS}></KolBadge>
<KolBadge _color="#06539e" {...PROPS}></KolBadge>
<KolBadge _color="#ae0000" {...PROPS}></KolBadge>
<KolBadge _color="#8b008b" {...PROPS}></KolBadge>
</div>
);
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit e4fb0d4

Please sign in to comment.