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

.table-striped not working in light mode #39696

Closed
3 tasks done
seanterry opened this issue Feb 20, 2024 · 2 comments
Closed
3 tasks done

.table-striped not working in light mode #39696

seanterry opened this issue Feb 20, 2024 · 2 comments

Comments

@seanterry
Copy link

Prerequisites

Describe the issue

The zebra striping of the .table-striped class (at least to my eyes) is not appearing in light mode.

I checked my sanity and see the same thing on the official example: https://getbootstrap.com/docs/5.3/content/tables/#accented-tables

Screenshot 2024-02-20 at 4 46 40 PM

Seems to be okay in dark mode.
Screenshot 2024-02-20 at 4 46 48 PM

Reduced test cases

<table class="table table-striped">
  <thead>
    <tr>
      <th>Header</th>
    </tr>
  </thead>
  <tbody>
    <tr>
      <td>Item 1</td>
    </tr>
    <tr>
      <td>Item 2</td>
    </tr>
  </tbody>
</table>

What operating system(s) are you seeing the problem on?

macOS

What browser(s) are you seeing the problem on?

Chrome, Firefox

What version of Bootstrap are you using?

5.3.2

@jomarcardoso
Copy link

You need to calibrate your monitor. Decrease the contrast setting.

Or you can customize the zebra color in your project.

@seanterry
Copy link
Author

@jomarcardoso Thanks. I feel like an idiot now 😆

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

No branches or pull requests

2 participants