Skip to content

Commit

Permalink
fix: light theme text contrast colours
Browse files Browse the repository at this point in the history
  • Loading branch information
bardenHa committed Oct 10, 2023
1 parent f4ee4b1 commit c253951
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion src/lib/components/badge.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ const badgeStyles = cva(['Badge', 'text-xs font-medium px-2 py-0.5 rounded overf
intent: {
success: 'bg-primary-9 text-primary-3',
neutral: 'bg-neutral-12 text-neutral-3',
warning: 'bg-warning-10 text-warning-2',
warning: 'bg-warning-10 text-warning-2 text-black',
danger: 'bg-danger-11 text-danger-2',
},
size: {
Expand Down
10 changes: 5 additions & 5 deletions src/lib/styles/colors.scss
Original file line number Diff line number Diff line change
Expand Up @@ -27,11 +27,11 @@
--light-primary-5: #24ff6f;
--light-primary-6: #00e94f;
--light-primary-7: #00c23e;
--light-primary-8: #009834;
--light-primary-9: #04772d;
--light-primary-10: #066128;
--light-primary-11: #003713;
--light-primary-12: #001b09;
--light-primary-8: #04772d;
--light-primary-9: #066128;
--light-primary-10: #003713;
--light-primary-11: #001b09;
--light-primary-12: #001206;

--light-neutral-1: #fbfcfd;
--light-neutral-2: #f8f9fa;
Expand Down

0 comments on commit c253951

Please sign in to comment.