mirror of
https://github.com/benbusby/whoogle-search
synced 2024-11-01 03:20:30 +00:00
62a9b9e949
* Add custom CSS field to config This allows users to set/customize an instance's theme and appearance to their liking. The config CSS field is prepopulated with all default CSS variable values to allow quick editing. Note that this can be somewhat of a "footgun" if someone updates the CSS to hide all fields/search/etc. Should probably add some sort of bandaid "admin" feature for public instances to employ until the whole cookie/session issue is investigated further. * Symlink all app static files to test dir * Refactor app/misc/*.json -> app/static/settings/*.json The country/language json files are used for user config settings, so the "misc" name didn't really make sense. Also moved these to the static folder to make testing easier. * Fix light theme variables in dark theme css * Minor style tweaking
25 lines
733 B
CSS
25 lines
733 B
CSS
/* Colors */
|
|
:root {
|
|
/* LIGHT THEME COLORS */
|
|
--whoogle-background: #fff;
|
|
--whoogle-accent: #685e79;
|
|
--whoogle-text: #000;
|
|
--whoogle-contrast-text: #fff;
|
|
--whoogle-secondary-text: #70757a;
|
|
--whoogle-result-bg: #fff;
|
|
--whoogle-result-title: #1967d2;
|
|
--whoogle-result-url: #0d652d;
|
|
--whoogle-result-visited: #4b11a8;
|
|
|
|
/* DARK THEME COLORS */
|
|
--whoogle-dark-background: #222;
|
|
--whoogle-dark-accent: #685e79;
|
|
--whoogle-dark-text: #fff;
|
|
--whoogle-dark-contrast-text: #000;
|
|
--whoogle-dark-secondary-text: #bbb;
|
|
--whoogle-dark-result-bg: #000;
|
|
--whoogle-dark-result-title: #1967d2;
|
|
--whoogle-dark-result-url: #4b11a8;
|
|
--whoogle-dark-result-visited: #bbbbff;
|
|
}
|