use inverse background color for result_title
In dark theme, the black color was not easily readable. With additional high contrast mode, the title could not be read at all.
This change uses the inverse background color and should be readable in both cases. As long as there's only these two themes available, this solution should suffice
I think this could work:
.result_title {
color: var(--color-main-text);
}
.result_extract {
color: color-mix(in srgb, var(--color-main-text), var(--color-main-background) 15%);
}
.provider_navigation {
color: color-mix(in srgb, var(--color-main-text), var(--color-main-background) 20%);
}
.result_entry {
border-bottom: solid 1px color-mix(in srgb, var(--color-main-text), var(--color-main-background) 75%);
}
This approach looks more aesthetically pleasing. I noticed that this PR has been inactive for 2 years. If anyone encounters issues with the dark theme, they can resolve it with custom CSS.
I think this could work:
.result_title { color: var(--color-main-text); } .result_extract { color: color-mix(in srgb, var(--color-main-text), var(--color-main-background) 15%); } .provider_navigation { color: color-mix(in srgb, var(--color-main-text), var(--color-main-background) 20%); } .result_entry { border-bottom: solid 1px color-mix(in srgb, var(--color-main-text), var(--color-main-background) 75%); }This approach looks more aesthetically pleasing. I noticed that this PR has been inactive for 2 years. If anyone encounters issues with the dark theme, they can resolve it with custom CSS.
nearly 3 years already
I've used this in our instance without a problem. I'm not sure if this is a problem for most people at all, as this does not generate too much traction.
I'm going to try your implementation though.