]>
Commit | Line | Data |
---|---|---|
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 = theme.menu_bg | |
61 | -- enabled but not active, eg. userstyles that aren't applied | |
62 | theme.menu_enabled_fg = S_yellow | |
63 | theme.menu_enabled_bg = theme.menu_bg | |
64 | theme.menu_active_fg = S_green | |
65 | theme.menu_active_bg = theme.menu_bg | |
66 | ||
67 | -- Proxy manager | |
68 | theme.proxy_active_menu_fg = S_green | |
69 | theme.proxy_active_menu_bg = theme.menu_bg | |
70 | theme.proxy_inactive_menu_fg = theme.menu_fg | |
71 | theme.proxy_inactive_menu_bg = theme.menu_bg | |
72 | ||
73 | -- Statusbar specific | |
74 | theme.sbar_fg = S_base0 | |
75 | theme.sbar_bg = "#110800" | |
76 | ||
77 | -- Downloadbar specific | |
78 | theme.dbar_fg = theme.menu_fg | |
79 | theme.dbar_bg = theme.menu_bg | |
80 | theme.dbar_error_fg = S_red | |
81 | ||
82 | -- Input bar specific | |
83 | theme.ibar_fg = S_base1 | |
84 | theme.ibar_bg = S_base03 | |
85 | ||
86 | -- Tab label | |
87 | theme.tab_fg = S_base1 | |
88 | theme.tab_bg = "#884400" | |
89 | theme.tab_hover_bg = "#4466ff" | |
90 | theme.tab_ntheme = S_red --? | |
91 | theme.selected_fg = S_base2 | |
92 | theme.selected_bg = "#aa5500" | |
93 | theme.selected_ntheme = S_magenta --? | |
94 | theme.loading_fg = S_green | |
95 | theme.loading_bg = S_base02 | |
96 | ||
97 | theme.selected_private_tab_bg = S_violet | |
98 | theme.private_tab_bg = S_magenta | |
99 | ||
100 | -- Trusted/untrusted ssl colours | |
101 | theme.trust_fg = S_green | |
102 | theme.notrust_fg = S_red | |
103 | ||
104 | ||
105 | return theme | |
106 | ||
107 | -- vim: et:sw=4:ts=8:sts=4:tw=80 |