onedarker.lua 1.0 KB

1234567891011121314151617181920212223242526272829303132333435
  1. -- Copyright (c) 2020-2021 shadmansaleh
  2. -- MIT license, see LICENSE for more details.
  3. -- Credit: Zoltan Dalmadi(lightline)
  4. -- LuaFormatter off
  5. local colors = {
  6. blue = "#61afef",
  7. green = "#98c379",
  8. purple = "#c678dd",
  9. red1 = "#e06c75",
  10. red2 = "#be5046",
  11. yellow = "#e5c07b",
  12. orange = "#D19A66",
  13. fg = "#abb2bf",
  14. bg = "#282c34",
  15. gray1 = "#5c6370",
  16. gray2 = "#2c323d",
  17. gray3 = "#3e4452",
  18. }
  19. -- LuaFormatter on
  20. return {
  21. normal = {
  22. a = { fg = colors.fg, bg = colors.blue, gui = "bold" },
  23. b = { fg = colors.fg, bg = colors.bg },
  24. c = { fg = colors.fg, bg = colors.bg },
  25. },
  26. insert = { a = { fg = colors.fg, bg = colors.green, gui = "bold" } },
  27. visual = { a = { fg = colors.fg, bg = colors.purple, gui = "bold" } },
  28. command = { a = { fg = colors.fg, bg = colors.yellow, gui = "bold" } },
  29. replace = { a = { fg = colors.fg, bg = colors.red1, gui = "bold" } },
  30. inactive = {
  31. a = { fg = colors.gray1, bg = colors.bg, gui = "bold" },
  32. b = { fg = colors.gray1, bg = colors.bg },
  33. c = { fg = colors.gray1, bg = colors.bg },
  34. },
  35. }