local status, github_theme = pcall(require, "github-theme")
if not status then
	return
end

github_theme.setup({
	options = {
		-- Compiled file's destination location
		compile_path = vim.fn.stdpath("cache") .. "/github-theme",
		compile_file_suffix = "_compiled", -- Compiled file suffix
		hide_end_of_buffer = true, -- Hide the '~' character at the end of the buffer for a cleaner look
		hide_nc_statusline = true, -- Override the underline style for non-active statuslines
		transparent = false, -- Disable setting background
		terminal_colors = true, -- Set terminal colors (vim.g.terminal_color_*) used in `:terminal`
		dim_inactive = false, -- Non focused panes set to alternative background
		module_default = true, -- Default enable value for modules
		styles = { -- Style to be applied to different syntax groups
			comments = "NONE", -- Value is any valid attr-list value `:help attr-list`
			functions = "NONE",
			keywords = "NONE",
			variables = "NONE",
			conditionals = "NONE",
			constants = "NONE",
			numbers = "NONE",
			operators = "NONE",
			strings = "NONE",
			types = "NONE",
		},
		inverse = { -- Inverse highlight for different types
			match_paren = false,
			visual = false,
			search = false,
		},
		darken = { -- Darken floating windows and sidebar-like windows
			floats = false,
			sidebars = {
				-- enabled = true,
				enable = true,
				list = {}, -- Apply dark background to specific windows
			},
		},
		modules = { -- List of various plugins and additional options
			-- ...
		},
	},
	palettes = {},
	specs = {},
	groups = {},
})

-- /* Enable one flavor at a time */
-- vim.cmd("colorscheme github_dark")
vim.cmd("colorscheme github_dark_dimmed")
-- vim.cmd('colorscheme github_dark_high_contrast')
-- vim.cmd('colorscheme github_dark_colorblind')
-- vim.cmd('colorscheme github_dark_tritanopia')
-- vim.cmd('colorscheme github_light')
-- vim.cmd('colorscheme github_light_high_contrast')
-- vim.cmd('colorscheme github_light_colorblind')
-- vim.cmd('colorscheme github_light_tritanopia')
