Skip to content

Commit

Permalink
Set facet card-header btn font weight for Blacklight 8
Browse files Browse the repository at this point in the history
  • Loading branch information
corylown committed Dec 20, 2024
1 parent a663f89 commit a6a80d7
Showing 1 changed file with 12 additions and 1 deletion.
13 changes: 12 additions & 1 deletion styles/facets.css
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,13 @@

.btn {
--bs-btn-font-size: 1.125rem;

/* TODO: setting --bs-btn-font-weight variable should work for Blacklight 9 */

/* Blacklight 8 sets font-weight on .facet-field-heading button: */

/* https://github.com/projectblacklight/blacklight/blob/8afe948ab55b980bd66c201d8f0896aedb10b8a5/app/assets/stylesheets/blacklight/_bootstrap_overrides.scss#L6; */
font-weight: 400;
}
}

Expand Down Expand Up @@ -70,8 +77,12 @@
background-color: var(--bs-card-cap-bg) !important;

.btn {
--bs-btn-font-weight: 600;
/* TODO: setting --bs-btn-font-weight variable should work for Blacklight 9 */

/* Blacklight 8 sets font-weight on .facet-field-heading button: */

/* https://github.com/projectblacklight/blacklight/blob/8afe948ab55b980bd66c201d8f0896aedb10b8a5/app/assets/stylesheets/blacklight/_bootstrap_overrides.scss#L6; */
font-weight: 600;
color: var(--bs-body-color);
}
}
Expand Down

0 comments on commit a6a80d7

Please sign in to comment.