about summary refs log tree commit diff
path: root/home/profiles/browsing
diff options
context:
space:
mode:
Diffstat (limited to 'home/profiles/browsing')
-rw-r--r--home/profiles/browsing/qutebrowser-settings.nix214
1 files changed, 112 insertions, 102 deletions
diff --git a/home/profiles/browsing/qutebrowser-settings.nix b/home/profiles/browsing/qutebrowser-settings.nix
index 8fd0ca5..cfa132e 100644
--- a/home/profiles/browsing/qutebrowser-settings.nix
+++ b/home/profiles/browsing/qutebrowser-settings.nix
@@ -1,296 +1,306 @@
 let
-  # Avalanche theme by zachel <zach@zachel.io>
-  bg = "#232323";
-  fg = "#c4c4c4";
-  selection = "#363636";
-  coal = "#606060";
-  graphite = "#717171";
-  ash = "#8c8c8c";
-  accent = "#c2d6f0";
-  red = "#ff668c";
-  yellow = "#fac661";
-  green = "#a8d2a9";
+  # Nightlamp theme by zachel <zach@zachel.io>
+  # Modified to increase visibility on qutebrowser
+  base00 = "#151515";
+  base01 = "#222329";
+  base02 = "#2c2d33";
+  base03 = "#3c3d43";
+  base04 = "#090a10";
+  base05 = "#cbc0ab";
+  base06 = "#e0d6bd";
+  base07 = "#676973";
+  base08 = "#b17f81";
+  base09 = "#e9b189";
+  base0A = "#d4ae80";
+  base0B = "#8aa387";
+  base0C = "#7aacaa";
+  base0D = "#84a0c6";
+  base0E = "#a093c7";
+  base0F = "#c495a2";
 in
 {
+  # Base16 qutebrowser template by theova
+  # Modified by zachel <zach@zachel.io>
+
   # Value to use for `prefers-color-scheme:` for websites.
   # Valid values: light, dark, auto.
   colors.webpage.preferred_color_scheme = "dark";
 
   # Text color of the completion widget. May be a single color to use for
   # all columns or a list of three colors, one for each column.
-  colors.completion.fg = fg;
+  colors.completion.fg = base05;
 
   # Background color of the completion widget for odd rows.
-  colors.completion.odd.bg = bg;
+  colors.completion.odd.bg = base01;
 
   # Background color of the completion widget for even rows.
-  colors.completion.even.bg = bg;
+  colors.completion.even.bg = base00;
 
   # Foreground color of completion widget category headers.
-  colors.completion.category.fg = accent;
+  colors.completion.category.fg = base0A;
 
   # Background color of the completion widget category headers.
-  colors.completion.category.bg = bg;
+  colors.completion.category.bg = base00;
 
   # Top border color of the completion widget category headers.
-  colors.completion.category.border.top = bg;
+  colors.completion.category.border.top = base00;
 
   # Bottom border color of the completion widget category headers.
-  colors.completion.category.border.bottom = bg;
+  colors.completion.category.border.bottom = base00;
 
   # Foreground color of the selected completion item.
-  colors.completion.item.selected.fg = fg;
+  colors.completion.item.selected.fg = base05;
 
   # Background color of the selected completion item.
-  colors.completion.item.selected.bg = selection;
+  colors.completion.item.selected.bg = base02;
 
   # Top border color of the selected completion item.
-  colors.completion.item.selected.border.top = selection;
+  colors.completion.item.selected.border.top = base02;
 
   # Bottom border color of the selected completion item.
-  colors.completion.item.selected.border.bottom = selection;
+  colors.completion.item.selected.border.bottom = base02;
 
   # Foreground color of the matched text in the selected completion item.
-  colors.completion.item.selected.match.fg = accent;
+  colors.completion.item.selected.match.fg = base0B;
 
   # Foreground color of the matched text in the completion.
-  colors.completion.match.fg = accent;
+  colors.completion.match.fg = base0B;
 
   # Color of the scrollbar handle in the completion view.
-  colors.completion.scrollbar.fg = accent;
+  colors.completion.scrollbar.fg = base05;
 
   # Color of the scrollbar in the completion view.
-  colors.completion.scrollbar.bg = bg;
+  colors.completion.scrollbar.bg = base00;
 
   # Background color of disabled items in the context menu.
-  colors.contextmenu.disabled.bg = graphite;
+  colors.contextmenu.disabled.bg = base03;
 
   # Foreground color of disabled items in the context menu.
-  colors.contextmenu.disabled.fg = fg;
+  colors.contextmenu.disabled.fg = base05;
 
   # Background color of the context menu. If set to null, the Qt default is used.
-  colors.contextmenu.menu.bg = bg;
+  colors.contextmenu.menu.bg = base00;
 
   # Foreground color of the context menu. If set to null, the Qt default is used.
-  colors.contextmenu.menu.fg = accent;
+  colors.contextmenu.menu.fg = base05;
 
   # Background color of the context menu’s selected item. If set to null, the Qt default is used.
-  colors.contextmenu.selected.bg = selection;
+  colors.contextmenu.selected.bg = base02;
 
   #Foreground color of the context menu’s selected item. If set to null, the Qt default is used.
-  colors.contextmenu.selected.fg = accent;
+  colors.contextmenu.selected.fg = base05;
 
   # Background color for the download bar.
-  colors.downloads.bar.bg = bg;
+  colors.downloads.bar.bg = base00;
 
   # Color gradient start for download text.
-  colors.downloads.start.fg = green;
+  colors.downloads.start.fg = base00;
 
   # Color gradient start for download backgrounds.
-  colors.downloads.start.bg = graphite;
+  colors.downloads.start.bg = base0D;
 
   # Color gradient end for download text.
-  colors.downloads.stop.fg = yellow;
+  colors.downloads.stop.fg = base00;
 
   # Color gradient stop for download backgrounds.
-  colors.downloads.stop.bg = graphite;
+  colors.downloads.stop.bg = base0C;
 
   # Foreground color for downloads with errors.
-  colors.downloads.error.fg = red;
+  colors.downloads.error.fg = base08;
 
   # Font color for hints.
-  colors.hints.fg = bg;
+  colors.hints.fg = base00;
 
   # Background color for hints. Note that you can use a `rgba(...)` value
   # for transparency.
-  colors.hints.bg = selection;
+  colors.hints.bg = base0A;
 
   # Font color for the matched part of hints.
-  colors.hints.match.fg = accent;
+  colors.hints.match.fg = base05;
 
   # Text color for the keyhint widget.
-  colors.keyhint.fg = accent;
+  colors.keyhint.fg = base05;
 
   # Highlight color for keys to complete the current keychain.
-  colors.keyhint.suffix.fg = accent;
+  colors.keyhint.suffix.fg = base05;
 
   # Background color of the keyhint widget.
-  colors.keyhint.bg = bg;
+  colors.keyhint.bg = base00;
 
   # Foreground color of an error message.
-  colors.messages.error.fg = red;
+  colors.messages.error.fg = base00;
 
   # Background color of an error message.
-  colors.messages.error.bg = bg;
+  colors.messages.error.bg = base08;
 
   # Border color of an error message.
-  colors.messages.error.border = red;
+  colors.messages.error.border = base08;
 
   # Foreground color of a warning message.
-  colors.messages.warning.fg = yellow;
+  colors.messages.warning.fg = base00;
 
   # Background color of a warning message.
-  colors.messages.warning.bg = bg;
+  colors.messages.warning.bg = base0E;
 
   # Border color of a warning message.
-  colors.messages.warning.border = yellow;
+  colors.messages.warning.border = base0E;
 
   # Foreground color of an info message.
-  colors.messages.info.fg = accent;
+  colors.messages.info.fg = base05;
 
   # Background color of an info message.
-  colors.messages.info.bg = bg;
+  colors.messages.info.bg = base00;
 
   # Border color of an info message.
-  colors.messages.info.border = accent;
+  colors.messages.info.border = base00;
 
   # Foreground color for prompts.
-  colors.prompts.fg = accent;
+  colors.prompts.fg = base05;
 
   # Border used around UI elements in prompts.
-  colors.prompts.border = bg;
+  colors.prompts.border = base00;
 
   # Background color for prompts.
-  colors.prompts.bg = bg;
+  colors.prompts.bg = base00;
 
   # Background color for the selected item in filename prompts.
-  colors.prompts.selected.bg = selection;
+  colors.prompts.selected.bg = base02;
 
   # Foreground color for the selected item in filename prompts.
-  colors.prompts.selected.fg = accent;
+  colors.prompts.selected.fg = base05;
 
   # Foreground color of the statusbar.
-  colors.statusbar.normal.fg = accent;
+  colors.statusbar.normal.fg = base05;
 
   # Background color of the statusbar.
-  colors.statusbar.normal.bg = bg;
+  colors.statusbar.normal.bg = base00;
 
   # Foreground color of the statusbar in insert mode.
-  colors.statusbar.insert.fg = accent;
+  colors.statusbar.insert.fg = base06;
 
   # Background color of the statusbar in insert mode.
-  colors.statusbar.insert.bg = bg;
+  colors.statusbar.insert.bg = base00;
 
   # Foreground color of the statusbar in passthrough mode.
-  colors.statusbar.passthrough.fg = yellow;
+  colors.statusbar.passthrough.fg = base09;
 
   # Background color of the statusbar in passthrough mode.
-  colors.statusbar.passthrough.bg = bg;
+  colors.statusbar.passthrough.bg = base00;
 
   # Foreground color of the statusbar in private browsing mode.
-  colors.statusbar.private.fg = red;
+  colors.statusbar.private.fg = base06;
 
   # Background color of the statusbar in private browsing mode.
-  colors.statusbar.private.bg = bg;
+  colors.statusbar.private.bg = base01;
 
   # Foreground color of the statusbar in command mode.
-  colors.statusbar.command.fg = accent;
+  colors.statusbar.command.fg = base0E;
 
   # Background color of the statusbar in command mode.
-  colors.statusbar.command.bg = bg;
+  colors.statusbar.command.bg = base00;
 
   # Foreground color of the statusbar in private browsing + command mode.
-  colors.statusbar.command.private.fg = red;
+  colors.statusbar.command.private.fg = base06;
 
   # Background color of the statusbar in private browsing + command mode.
-  colors.statusbar.command.private.bg = bg;
+  colors.statusbar.command.private.bg = base00;
 
   # Foreground color of the statusbar in caret mode.
-  colors.statusbar.caret.fg = yellow;
+  colors.statusbar.caret.fg = base09;
 
   # Background color of the statusbar in caret mode.
-  colors.statusbar.caret.bg = bg;
+  colors.statusbar.caret.bg = base00;
 
   # Foreground color of the statusbar in caret mode with a selection.
-  colors.statusbar.caret.selection.fg = yellow;
+  colors.statusbar.caret.selection.fg = base09;
 
   # Background color of the statusbar in caret mode with a selection.
-  colors.statusbar.caret.selection.bg = bg;
+  colors.statusbar.caret.selection.bg = base00;
 
   # Background color of the progress bar.
-  colors.statusbar.progress.bg = bg;
+  colors.statusbar.progress.bg = base00;
 
   # Default foreground color of the URL in the statusbar.
-  colors.statusbar.url.fg = accent;
+  colors.statusbar.url.fg = base05;
 
   # Foreground color of the URL in the statusbar on error.
-  colors.statusbar.url.error.fg = red;
+  colors.statusbar.url.error.fg = base08;
 
   # Foreground color of the URL in the statusbar for hovered links.
-  colors.statusbar.url.hover.fg = yellow;
+  colors.statusbar.url.hover.fg = base05;
 
   # Foreground color of the URL in the statusbar on successful load
   # (http).
-  colors.statusbar.url.success.http.fg = red;
+  colors.statusbar.url.success.http.fg = base0B;
 
   # Foreground color of the URL in the statusbar on successful load
   # (https).
-  colors.statusbar.url.success.https.fg = accent;
+  colors.statusbar.url.success.https.fg = base0B;
 
   # Foreground color of the URL in the statusbar when there's a warning.
-  colors.statusbar.url.warn.fg = yellow;
+  colors.statusbar.url.warn.fg = base0A;
 
   # Background color of the tab bar.
-  colors.tabs.bar.bg = bg;
+  colors.tabs.bar.bg = base00;
 
   # Color gradient start for the tab indicator.
-  colors.tabs.indicator.start = green;
+  colors.tabs.indicator.start = base0D;
 
   # Color gradient end for the tab indicator.
-  colors.tabs.indicator.stop = yellow;
+  colors.tabs.indicator.stop = base0C;
 
   # Color for the tab indicator on errors.
-  colors.tabs.indicator.error = red;
+  colors.tabs.indicator.error = base08;
 
   # Foreground color of unselected odd tabs.
-  colors.tabs.odd.fg = fg;
+  colors.tabs.odd.fg = base05;
 
   # Background color of unselected odd tabs.
-  colors.tabs.odd.bg = bg;
+  colors.tabs.odd.bg = base01;
 
   # Foreground color of unselected even tabs.
-  colors.tabs.even.fg = fg;
+  colors.tabs.even.fg = base05;
 
   # Background color of unselected even tabs.
-  colors.tabs.even.bg = bg;
+  colors.tabs.even.bg = base00;
 
   # Background color of pinned unselected even tabs.
-  colors.tabs.pinned.even.bg = coal;
+  colors.tabs.pinned.even.bg = base0C;
 
   # Foreground color of pinned unselected even tabs.
-  colors.tabs.pinned.even.fg = fg;
+  colors.tabs.pinned.even.fg = base07;
 
   # Background color of pinned unselected odd tabs.
-  colors.tabs.pinned.odd.bg = coal;
+  colors.tabs.pinned.odd.bg = base0B;
 
   # Foreground color of pinned unselected odd tabs.
-  colors.tabs.pinned.odd.fg = fg;
+  colors.tabs.pinned.odd.fg = base07;
 
   # Background color of pinned selected even tabs.
-  colors.tabs.pinned.selected.even.bg = selection;
+  colors.tabs.pinned.selected.even.bg = base02;
 
   # Foreground color of pinned selected even tabs.
-  colors.tabs.pinned.selected.even.fg = accent;
+  colors.tabs.pinned.selected.even.fg = base05;
 
   # Background color of pinned selected odd tabs.
-  colors.tabs.pinned.selected.odd.bg = selection;
+  colors.tabs.pinned.selected.odd.bg = base02;
 
   # Foreground color of pinned selected odd tabs.
-  colors.tabs.pinned.selected.odd.fg = accent;
+  colors.tabs.pinned.selected.odd.fg = base05;
 
   # Foreground color of selected odd tabs.
-  colors.tabs.selected.odd.fg = accent;
+  colors.tabs.selected.odd.fg = base05;
 
   # Background color of selected odd tabs.
-  colors.tabs.selected.odd.bg = selection;
+  colors.tabs.selected.odd.bg = base07;
 
   # Foreground color of selected even tabs.
-  colors.tabs.selected.even.fg = accent;
+  colors.tabs.selected.even.fg = base05;
 
   # Background color of selected even tabs.
-  colors.tabs.selected.even.bg = selection;
+  colors.tabs.selected.even.bg = base07;
 
   # Background color for webpages if unset (or empty to use the theme's
   # color).
-  # colors.webpage.bg = bg;
+  # colors.webpage.bg = base00;
 }