Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: improve table border style in dark mode #981

Merged
merged 1 commit into from
Apr 19, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ export const Table = (props: ComponentProps<'table'>) => {
return (
<table
{...props}
className="block border-collapse text-base my-5 overflow-x-auto leading-7 border-gray-light-2"
className="block border-collapse text-base my-5 overflow-x-auto leading-7 border-gray-light-3 dark:border-divider"
/>
);
};
Expand All @@ -13,7 +13,7 @@ export const Tr = (props: ComponentProps<'tr'>) => {
return (
<tr
{...props}
className="border border-solid transition-colors duration-500 even:bg-soft border-gray-light-2"
className="border border-solid transition-colors duration-500 even:bg-soft border-gray-light-3 dark:border-divider"
/>
);
};
Expand All @@ -22,7 +22,7 @@ export const Td = (props: ComponentProps<'td'>) => {
return (
<td
{...props}
className="border border-solid px-4 py-2 border-gray-light-2"
className="border border-solid px-4 py-2 border-gray-light-3 dark:border-divider"
/>
);
};
Expand All @@ -31,7 +31,7 @@ export const Th = (props: ComponentProps<'th'>) => {
return (
<th
{...props}
className="border border-solid px-4 py-2 text-text-1 text-base font-semibold border-gray-light-2"
className="border border-solid px-4 py-2 text-text-1 text-base font-semibold border-gray-light-3 dark:border-divider"
/>
);
};
Loading