color: $blue;
}
+/* Bootstrap contextual table classes overrides in dark mode */
+
+@include color-mode(dark) {
+ .table-primary {
+ --bs-table-bg: rgb(var(--bs-primary-rgb), .25);
+ }
+ .table-secondary {
+ --bs-table-bg: rgb(var(--bs-secondary-rgb), .25);
+ }
+ .table-primary, .table-secondary {
+ --bs-table-color: initial;
+ border-color: inherit;
+ }
+}
+
/* Rules for the header */
#menu-icon {
<tr>
- <th class='py-1 border-secondary-subtle table-light fw-normal' dir='auto'><%= format_key(tag[0]) %></th>
+ <th class='py-1 border-secondary-subtle table-secondary fw-normal' dir='auto'><%= format_key(tag[0]) %></th>
<td class='py-1 border-secondary-subtle border-start' dir='auto'><%= format_value(tag[0], tag[1]) %></td>
</tr>
<p><%= t ".subheading_html",
:user => link_to(@user.display_name, @user),
:submitted => tag.span(t(".subheading_submitted"), :class => "px-2 py-1 bg-primary bg-opacity-25"),
- :commented => tag.span(t(".subheading_commented"), :class => "px-2 py-1 bg-white") %></p>
+ :commented => tag.span(t(".subheading_commented"), :class => "px-2 py-1 bg-body") %></p>
<% end %>
<% if @notes.empty? %>