config/luakit/theme.lua (view raw)
1--------------------------
2-- Default luakit theme --
3--------------------------
4
5local fg = "#676767"
6local bg = "#f4f4f4"
7local green = "#7c9f4b"
8local red = "#db7070"
9local blue = "#6587BF"
10local med_gray = "#aaa"
11
12local theme = {}
13
14-- Default settings
15theme.font = "16px Inter"
16theme.fg = fg
17theme.bg = bg
18
19-- Genaral colours
20theme.success_fg = "#0f0"
21theme.loaded_fg = "#33AADD"
22theme.error_fg = "#FFF"
23theme.error_bg = "#F00"
24
25-- Warning colours
26theme.warning_fg = "#F00"
27theme.warning_bg = "#FFF"
28
29-- Notification colours
30theme.notif_fg = "#444"
31theme.notif_bg = "#FFF"
32
33-- Menu colours
34theme.menu_fg = fg
35theme.menu_bg = bg
36theme.menu_selected_fg = bg
37theme.menu_selected_bg = fg
38theme.menu_title_bg = bg
39theme.menu_primary_title_fg = fg
40theme.menu_secondary_title_fg = "#666"
41
42theme.menu_disabled_fg = "#999"
43theme.menu_disabled_bg = theme.menu_bg
44theme.menu_enabled_fg = theme.menu_fg
45theme.menu_enabled_bg = theme.menu_bg
46theme.menu_active_fg = "#060"
47theme.menu_active_bg = theme.menu_bg
48
49-- Proxy manager
50theme.proxy_active_menu_fg = '#000'
51theme.proxy_active_menu_bg = '#FFF'
52theme.proxy_inactive_menu_fg = '#888'
53theme.proxy_inactive_menu_bg = '#FFF'
54
55-- Statusbar specific
56theme.sbar_fg = fg
57theme.sbar_bg = bg
58
59-- Downloadbar specific
60theme.dbar_fg = "#fff"
61theme.dbar_bg = "#000"
62theme.dbar_error_fg = "#F00"
63
64-- Input bar specific
65theme.ibar_fg = fg
66theme.ibar_bg = bg
67
68-- Tab label
69theme.tab_fg = fg
70theme.tab_bg = bg
71theme.tab_hover_bg = med_gray
72theme.tab_ntheme = "#ddd"
73theme.selected_fg = bg
74theme.selected_bg = fg
75theme.selected_ntheme = "#ddd"
76theme.loading_fg = blue
77theme.loading_bg = "#000"
78
79theme.selected_private_tab_bg = "#3d295b"
80theme.private_tab_bg = "#22254a"
81
82-- Trusted/untrusted ssl colours
83theme.trust_fg = green
84theme.notrust_fg = red
85
86-- Follow mode hints
87theme.hint_font = "12px SF Mono, courier, sans-serif"
88theme.hint_fg = "#fff"
89theme.hint_bg = "#000088"
90theme.hint_border = "1px dashed #000"
91theme.hint_opacity = "0.3"
92theme.hint_overlay_bg = "rgba(255,255,153,0.3)"
93theme.hint_overlay_border = "1px dotted #000"
94theme.hint_overlay_selected_bg = "rgba(0,255,0,0.3)"
95theme.hint_overlay_selected_border = theme.hint_overlay_border
96
97-- General colour pairings
98theme.ok = { fg = fg, bg = bg }
99theme.warn = { fg = "#F00", bg = "#FFF" }
100theme.error = { fg = "#FFF", bg = "#F00" }
101
102-- Gopher page style (override defaults)
103theme.gopher_light = { bg = "#E8E8E8", fg = "#17181C", link = "#03678D" }
104theme.gopher_dark = { bg = "#17181C", fg = "#E8E8E8", link = "#f90" }
105
106return theme
107
108-- vim: et:sw=4:ts=8:sts=4:tw=80