update love theme and fix script query bug

This commit is contained in:
Cade Scroggins 2022-02-24 19:20:24 -08:00
parent 81b31ced7d
commit 0820b86abe
No known key found for this signature in database
GPG key ID: 6AC5A902158265D0

View file

@ -425,8 +425,8 @@
--base-foreground: #fdfdfd;
--command-color-complementary: var(--base-foreground);
--command-color-highlight-foreground: var(--base-background);
--command-color-lightness: 55%;
--command-color-saturation: 60%;
--command-color-lightness: 53%;
--command-color-saturation: 57%;
--help-command-background: #282a36;
}
@ -463,7 +463,7 @@
/* root variables */
:root {
--base-border-radius: 2px;
--base-border-radius: 4rem;
--base-font-family: -apple-system, BlinkMacSystemFont, Helvetica Neue,
Helvetica, Ubuntu, Roboto, Noto, Segoe UI, Arial, sans-serif;
--base-font-size: 17px;
@ -1216,6 +1216,7 @@
res.isSearch = true;
res.split = this._searchDelimiter;
res.query = QueryParser._shiftAndTrim(splitSearch, res.split);
res.lower = res.query.toLowerCase();
script.forEach((command) =>
res.push(this.parse(`${command}${res.split}${res.query}`))
@ -1253,6 +1254,7 @@
res.isSearch = true;
res.split = this._searchDelimiter;
res.query = QueryParser._shiftAndTrim(splitSearch, res.split);
res.lower = res.query.toLowerCase();
res.redirect = QueryParser._prepSearch(url, search, res.query);
return true;
}