update colors

This commit is contained in:
Cade Scroggins
2019-04-14 10:11:02 -07:00
parent f87032766f
commit 6de98f409f
+9 -8
View File
@@ -13,7 +13,7 @@
key: '*', key: '*',
url: 'https://encrypted.google.com', url: 'https://encrypted.google.com',
search: '/search?q={}', search: '/search?q={}',
color: '#1e272e', color: '#000',
}, },
{ {
category: 'Work', category: 'Work',
@@ -29,7 +29,7 @@
key: 'g', key: 'g',
url: 'https://github.com', url: 'https://github.com',
search: '/search?q={}', search: '/search?q={}',
color: 'linear-gradient(135deg, #2b2b2b, #3b3b3b)', color: 'linear-gradient(135deg, #6e5494, #7e64a4)',
}, },
{ {
category: 'Work', category: 'Work',
@@ -233,8 +233,9 @@
<style type="text/css"> <style type="text/css">
:root { :root {
/* colors */ /* colors */
--background: #1e272e; --background: #fff;
--foreground: #fff; --foreground: #232931;
--searchForeground: #fff;
/* fonts */ /* fonts */
--font-family: Lato, sans-serif; --font-family: Lato, sans-serif;
@@ -360,8 +361,8 @@
} }
.search-form { .search-form {
background: var(--foreground); background: var(--background);
color: var(--foreground); color: var(--searchForeground);
z-index: 2; z-index: 2;
} }
@@ -399,7 +400,7 @@
} }
.search-suggestion.highlight { .search-suggestion.highlight {
background: var(--foreground); background: var(--searchForeground);
color: var(--background); color: var(--background);
} }
@@ -415,7 +416,7 @@
bottom: -0.3rem; bottom: -0.3rem;
left: 0; left: 0;
height: 2px; height: 2px;
background: var(--foreground); background: var(--searchForeground);
opacity: 0.4; opacity: 0.4;
} }