local M = {}

M.base_30 = {
  white = "#D6D8DA", -- color7
  darker_black = "#181818",
  black = "#1c1c1d", -- background
  black2 = "#1c1c1c",
  one_bg = "#444551", -- color0
  one_bg2 = "#292c30",
  one_bg3 = "#33363a",
  grey = "#5e6165",
  grey_fg = "#65686c",
  grey_fg2 = "#4a4d51",
  light_grey = "#626569",
  red = "#bE2238", -- color1
  baby_pink = "#D58399", -- color5
  pink = "#DA97B0", -- color3
  line = "#30303a", -- for lines like vertsplit
  green = "#FB6F80", -- color2
  vibrant_green = "#eB9FB0", -- color10
  blue = "#b12741", --b127414
  nord_blue = "#F3A1B7",
  yellow = "#FFcc55", -- color11
  sun = "#F4F6F8", -- color14
  purple = "#D14781", -- cursor
  dark_purple = "#F3A1B7", -- color13
  teal = "#63b3ad",
  orange = "#f0a988",
  cyan = "#D6D8DA", -- color6
  statusline_bg = "#1c1c1c",
  lightbg = "#24282d",
  pmenu_bg = "#3bdda2",
  folder_bg = "#FB6F80",
}

M.base_16 = {
  base00 = "#1c1c1d", -- background
  base01 = "#1a1d21",
  base02 = "#43464a",
  base03 = "#5b5e62",
  base04 = "#323539",
  base05 = "#878b96", -- foreground
  base06 = "#cbcbcc",
  base07 = "#D6D8DA", -- color7
  base08 = "#c74070", -- color1
  base09 = "#f0a988", -- orange
  base0A = "#F8A550", -- color11
  base0B = "#DB6F80", -- color2
  base0C = "#D6D8DA", -- color6
  base0D = "#b12761", -- color4
  base0E = "#D14781", -- cursor
  base0F = "#e87979",
}

M.polish_hl = {
  treesitter = {
    ["@punctuation.bracket"] = { fg = M.base_16.base07 },
    ["@parenthesis"] = { link = "@punctuation.bracket" },
    ["@tag.delimiter"] = { fg = M.base_30.cyan },
    ["@function"] = { fg = M.base_30.orange },
    ["@variable.parameter"] = { fg = M.base_16.base0F },
    ["@tag.attribute"] = { fg = M.base_30.orange },
    ["@variable"] = { fg = M.base_30.lavender },
    -- ["@property"] = { fg = M.base_30.teal },
    ["@variable.builtin"] = { fg = M.base_30.red },
  },
}

M.type = "dark"

M = require("base46").override_theme(M, "nord")

return M
