Skip to content

Commit

Permalink
Improve additional css vars for dark mode table
Browse files Browse the repository at this point in the history
  • Loading branch information
julien-deramond committed Oct 10, 2023
1 parent 3e0bb59 commit b3f09aa
Showing 1 changed file with 10 additions and 1 deletion.
11 changes: 10 additions & 1 deletion site/content/docs/5.3/dark-mode.md
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,11 @@ sitemap_exclude: true
<div style="width: 50px; height: 50px; background-color:var(--bs-danger)" data-bs-theme="light"></div>
<div style="width: 50px; height: 50px; background-color:var(--bs-danger)" data-bs-theme="dark"></div>
</div>
Additional variables for dark-mode (temporary)
</div>

### Additional CSS variables for dark-mode

<div class="d-flex flex-column gap-2">
<div class="d-flex flex-row gap-2 align-items-center">
<div style="width: 200px">--bs-hover-color</div>
<div style="width: 50px; height: 50px; background-color:var(--bs-hover-color)" data-bs-theme="light"></div>
Expand All @@ -97,6 +101,11 @@ Additional variables for dark-mode (temporary)
<div style="width: 50px; height: 50px; background-color:var(--bs-disabled-color)" data-bs-theme="light"></div>
<div style="width: 50px; height: 50px; background-color:var(--bs-disabled-color)" data-bs-theme="dark"></div>
</div>
<div class="d-flex flex-row gap-2 align-items-center">
<div style="width: 200px">--bs-placeholder-color</div>
<div style="width: 50px; height: 50px; background-color:var(--bs-placeholder-color)" data-bs-theme="light"></div>
<div style="width: 50px; height: 50px; background-color:var(--bs-placeholder-color)" data-bs-theme="dark"></div>
</div>
</div>

## Components
Expand Down

0 comments on commit b3f09aa

Please sign in to comment.