Skip to content

fixed Please adjust default table-striped color when dark mode is active Fixes#39032

Closed
Mahendrareddy190 wants to merge 1 commit intotwbs:mainfrom
Mahendrareddy190:fix/table_in_dark_mode
Closed

fixed Please adjust default table-striped color when dark mode is active Fixes#39032
Mahendrareddy190 wants to merge 1 commit intotwbs:mainfrom
Mahendrareddy190:fix/table_in_dark_mode

Conversation

@Mahendrareddy190
Copy link
Copy Markdown

Fixes #39029

Description

The comment suggests that there was a problem related to readability in the Dark mode of a table. In Dark mode, the background might have been too dark, making it difficult for users to distinguish the table text from the background. This lack of contrast can lead to an uncomfortable user experience and hinder accessibility.
so, I have added the table-dark to tables.

By incorporating the table-dark class, developers aim to enhance the user experience, especially when the application is being used in Dark mode. This change promotes accessibility and ensures that users can easily read and interact with the table's content, regardless of the chosen color scheme.

Before:
image
After:-
image

@Mahendrareddy190 Mahendrareddy190 changed the title fixed Please adjust default table-striped color when dark mode is active Fixes #39029 fixed Please adjust default table-striped color when dark mode is active Fixes Aug 10, 2023
@louismaximepiton
Copy link
Copy Markdown
Member

Hey,

Thanks a lot for your contribution. I think your solution, might introduce an issue for the doc in light mode. And it doesn't resolve the issue you mentionned since people still want to use standard tables.
Closing it for #39033. Feel free to debate if you think I've seen it wrong.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Please adjust default table-striped color when dark mode is active

2 participants