]>
Commit | Line | Data |
---|---|---|
03bc64c4 | 1 | ---------------------------- |
2 | -- Solarized luakit theme -- | |
3 | ---------------------------- | |
4 | ||
5 | --local S_base03 = "#002b36" | |
6 | local S_base03 = "#000a0d" | |
7 | local S_base02 = "#073642" | |
8 | local S_base01 = "#586e75" | |
9 | local S_base00 = "#657b83" | |
10 | local S_base0 = "#839496" | |
11 | local S_base1 = "#93a1a1" | |
12 | local S_base2 = "#eee8d5" | |
13 | local S_base3 = "#fdf6e3" | |
14 | ||
15 | local S_yellow = "#b58900" | |
16 | local S_orange = "#cb4b16" | |
17 | local S_red = "#dc322f" | |
18 | local S_magenta = "#d33682" | |
19 | local S_violet = "#6c71c4" | |
20 | local S_blue = "#268bd2" | |
21 | local S_cyan = "#2aa198" | |
22 | --local S_green = "#859900" | |
23 | local S_green = "#85c000" | |
24 | ||
25 | ||
26 | local theme = {} | |
27 | ||
28 | -- Default settings | |
29 | theme.font = "10px Dina" | |
30 | theme.fg = S_base0 | |
31 | theme.bg = S_base03 | |
32 | ||
33 | -- General colour pairings | |
34 | theme.ok = { fg = S_base0, bg = S_base03 } | |
35 | theme.warn = { fg = S_yellow, bg = S_base02 } | |
36 | theme.error = { fg = "#000", bg = S_red } | |
37 | ||
38 | -- General colours | |
39 | theme.success_fg = S_green | |
40 | theme.loaded_fg = S_cyan | |
41 | theme.warning_fg = theme.warn.fg | |
42 | theme.warning_bg = theme.warn.bg | |
43 | theme.error_fg = theme.error.fg | |
44 | theme.error_bg = theme.error.bg | |
45 | ||
46 | -- Notification colours | |
47 | theme.notif_fg = S_blue | |
48 | theme.notif_bg = S_base02 | |
49 | ||
50 | -- Menu colours | |
51 | theme.menu_fg = S_base0 | |
52 | theme.menu_bg = S_base03 | |
53 | theme.menu_selected_fg = S_base0 | |
54 | theme.menu_selected_bg = S_base02 | |
55 | theme.menu_title_bg = S_base03 | |
56 | theme.menu_primary_title_fg = S_base0 | |
57 | theme.menu_secondary_title_fg = S_base01 | |
58 | ||
59 | theme.menu_disabled_fg = S_base01 | |
60 | theme.menu_disabled_bg = S_base03 | |
61 | theme.menu_enabled_fg = S_yellow --? | |
62 | theme.menu_enabled_bg = S_green --? | |
63 | theme.menu_active_fg = S_green | |
64 | theme.menu_active_bg = theme.menu_bg | |
65 | ||
66 | -- Proxy manager | |
67 | theme.proxy_active_menu_fg = S_green | |
68 | theme.proxy_active_menu_bg = theme.menu_bg | |
69 | theme.proxy_inactive_menu_fg = theme.menu_fg | |
70 | theme.proxy_inactive_menu_bg = theme.menu_bg | |
71 | ||
72 | -- Statusbar specific | |
73 | theme.sbar_fg = S_base0 | |
74 | theme.sbar_bg = "#110800" | |
75 | ||
76 | -- Downloadbar specific | |
77 | theme.dbar_fg = theme.menu_fg | |
78 | theme.dbar_bg = theme.menu_bg | |
79 | theme.dbar_error_fg = S_red | |
80 | ||
81 | -- Input bar specific | |
82 | theme.ibar_fg = S_base1 | |
83 | theme.ibar_bg = S_base03 | |
84 | ||
85 | -- Tab label | |
86 | theme.tab_fg = S_base0 | |
87 | theme.tab_bg = S_base03 | |
88 | theme.tab_hover_bg = S_base02 | |
89 | theme.tab_ntheme = S_red | |
90 | theme.selected_fg = S_base1 | |
91 | theme.selected_bg = S_base02 | |
92 | theme.selected_ntheme = S_magenta | |
93 | theme.loading_fg = S_green | |
94 | theme.loading_bg = S_base02 | |
95 | ||
96 | theme.selected_private_tab_bg = S_violet | |
97 | theme.private_tab_bg = S_magenta | |
98 | ||
99 | -- Trusted/untrusted ssl colours | |
100 | theme.trust_fg = S_green | |
101 | theme.notrust_fg = S_base01 | |
102 | ||
103 | ||
104 | return theme | |
105 | ||
106 | -- vim: et:sw=4:ts=8:sts=4:tw=80 |