--------------------------
-- Default luakit theme --
--------------------------

local theme = {}

-- Default settings
theme.font = "12px monospace"
theme.fg   = "#ebdbb2"
theme.bg   = "#282828"

-- General colours
theme.success_fg = "#98971a"
theme.loaded_fg  = "#458588"
theme.error_fg = "#cc241d"
theme.error_bg = theme.bg

-- Warning colours
theme.warning_fg = "#d79921"
theme.warning_bg = theme.bg

-- Notification colours
theme.notif_fg = theme.fg
theme.notif_bg = theme.bg

-- Menu colours
theme.menu_fg                   = theme.fg
theme.menu_bg                   = theme.bg
theme.menu_selected_fg          = "#282828"
theme.menu_selected_bg          = "#83a598"
theme.menu_title_bg             = "#504945"
theme.menu_primary_title_fg     = theme.fg
theme.menu_secondary_title_fg   = "#d5c4a1"

theme.menu_disabled_fg = "#928374"
theme.menu_disabled_bg = theme.menu_bg
theme.menu_enabled_fg = theme.menu_fg
theme.menu_enabled_bg = theme.menu_bg
theme.menu_active_fg = "#98971a"
theme.menu_active_bg = theme.menu_bg

-- Proxy manager
theme.proxy_active_menu_fg      = theme.menu_fg
theme.proxy_active_menu_bg      = theme.menu_bg
theme.proxy_inactive_menu_fg    = theme.menu_disabled_fg
theme.proxy_inactive_menu_bg    = theme.menu_disabled_bg

-- Statusbar specific
theme.sbar_fg         = theme.fg
theme.sbar_bg         = theme.bg

-- Downloadbar specific
theme.dbar_fg         = theme.fg
theme.dbar_bg         = theme.bg
theme.dbar_error_fg   = "#cc241d"

-- Input bar specific
theme.ibar_fg           = theme.fg
theme.ibar_bg           = theme.bg

-- Tab label
theme.tab_fg            = theme.fg
theme.tab_bg            = theme.bg
theme.tab_hover_bg      = "#3c3836"
theme.tab_ntheme        = "#282828"
theme.selected_fg       = theme.tab_fg
theme.selected_bg       = "#504945"
theme.selected_ntheme   = "#282828"
theme.loading_fg        = "#458588"
theme.loading_bg        = theme.tab_bg

theme.selected_private_tab_bg = "#d3869b"
theme.private_tab_bg    = "#b16286"

-- Trusted/untrusted ssl colours
theme.trust_fg          = "#98971a"
theme.notrust_fg        = "#cc241d"

-- Follow mode hints
theme.hint_font = "10px monospace, courier, sans-serif"
theme.hint_fg = "#282828"
theme.hint_bg = "#fabd2f"
theme.hint_border = "1px solid #282828"
theme.hint_opacity = "0.3"
theme.hint_overlay_bg = "#fabd2f"
theme.hint_overlay_border = "1px solid #282828"
theme.hint_overlay_selected_bg = "#fe8019"
theme.hint_overlay_selected_border = theme.hint_overlay_border

-- General colour pairings
theme.ok = { fg = "#ebdbb2", bg = "#282828" }
theme.warn = { fg = "#d79921", bg = "#282828" }
theme.error = { fg = "#cc241d", bg = "#282828" }

-- Gopher page style (override defaults)
theme.gopher_light = { bg = "#fbf1c7", fg = "#3c3836", link = "#458588" }
theme.gopher_dark  = { bg = "#282828", fg = "#ebdbb2", link = "#458588" }

return theme

-- vim: et:sw=4:ts=8:sts=4:tw=80
