fix(filters): use readable colors for dark and light mode

This commit is contained in:
kolaente 2024-02-14 22:04:31 +01:00
parent c162a5a457
commit 4586e525ce
Signed by: konrad
GPG Key ID: F40E70337AB24C9B
1 changed files with 3 additions and 3 deletions

View File

@ -107,15 +107,15 @@ function escapeHtml(unsafe: string): string {
<style lang="scss">
.filter-input-highlight span {
&.filter-query__field {
color: #faf594;
color: var(--code-literal);
}
&.filter-query__operator {
color: hsla(var(--primary-h), var(--primary-s), 80%);
color: var(--code-keyword);
}
&.filter-query__join-operator {
color: hsla(var(--primary-h), var(--primary-s), 90%);
color: var(--code-section);
}
}
</style>