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

Allow color of active facet to be set with a css parameter #3174

Open
jcoyne opened this issue Jun 6, 2024 · 0 comments · May be fixed by #3178
Open

Allow color of active facet to be set with a css parameter #3174

jcoyne opened this issue Jun 6, 2024 · 0 comments · May be fixed by #3178

Comments

@jcoyne
Copy link
Member

jcoyne commented Jun 6, 2024

.btn {
@if function-exists(color-contrast) {
color: color-contrast($facet-active-bg);
}
@if function-exists(color-yiq) {
color: color-yiq($facet-active-bg);
}

.facet-limit-active .card-header .btn {
  color: #fff;
}

This allows adopters to not need to compile sass.

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 a pull request may close this issue.

1 participant