0
0
Fork 0

fix(searchBar): refs #6486 add contrast style on light theme searchBar

This commit is contained in:
Pablo Natek 2024-03-01 13:53:35 +01:00
parent dfc7e704fe
commit 3bfbcbe7d8
2 changed files with 7 additions and 7 deletions

View File

@ -81,8 +81,9 @@ onMounted(() => {
});
async function search() {
const staticParams = Object.entries(store.userParams)
.filter(([key, value]) => value && (props.staticParams || []).includes(key));
const staticParams = Object.entries(store.userParams).filter(
([key, value]) => value && (props.staticParams || []).includes(key)
);
await arrayData.applyFilter({
params: {
...Object.fromEntries(staticParams),
@ -155,11 +156,9 @@ async function search() {
.cursor-info {
cursor: help;
}
.body--light #searchbar {
#searchbar {
.q-field--standout.q-field--highlighted .q-field__control {
background-color: $grey-7;
color: #333;
background-color: var(--vn-text);
}
}
</style>

View File

@ -4,7 +4,8 @@
body.body--light {
--fount-color: black;
--vn-sectionColor: #ffffff;
background-color: #e0e0e0;
--vn-pageColor: #e0e0e0;
background-color: var(--vn-pageColor);
.q-header .q-toolbar {
color: var(--fount-color);
}