lua/lualine/themes/ayu.lua
raw| 1 | -- Copyright (c) 2020-2021 shadmansaleh |
| 2 | -- MIT license, see LICENSE for more details. |
| 3 | -- Credit: itchyny(lightline) |
| 4 | -- License: MIT License |
| 5 | local background = vim.opt.background:get() |
| 6 | local style = vim.g.ayucolor or ((background == 'dark') and vim.g.ayuprefermirage and 'mirage' or background) |
| 7 | |
| 8 | return require('lualine.themes.ayu_' .. style) |