dashboard-nvim
dashboard-nvim copied to clipboard
Preview weird background color problem
The background color looks different in the dashboard. I am using alacritty. I have rose-pine theme installed in both nvim and alacritty. The default background color for my terminal is the same with nvim's background color, so there should be no difference. What is happening here?
config:
require('dashboard').setup {
theme = 'hyper',
shortcut_type = 'number',
preview = {
command = 'cat',
file_path = "~/.config/nvim/logo.txt",
file_width = 54,
file_height = 12,
},
config = {
shortcut = {
{
icon = ' ',
desc = 'files',
group = 'Label',
action = 'Telescope find_files',
key = 'f',
},
{
desc = ' nixconfig',
group = 'DiagnosticHint',
action = 'Telescope find_files search_dirs=/etc/nixos/',
key = 'n',
},
{
desc = ' dotfiles',
group = 'Number',
action = 'Telescope find_files search_dirs=~/.config/',
-- action = 'Telescope find_files cwd=~/.config/',
key = 'c',
},
},
footer = {},
},
}
logo.txt:
[1;49m
[1;35m███╗ ██╗ ███████╗ ██████╗ ██╗ ██╗ ██╗ ███╗ ███╗
████╗ ██║ ██╔════╝██╔═══██╗ ██║ ██║ ██║ ████╗ ████║
██╔██╗ ██║ █████╗ ██║ ██║ ██║ ██║ ██║ ██╔████╔██║
██║╚██╗██║ ██╔══╝ ██║ ██║ ╚██╗ ██╔╝ ██║ ██║╚██╔╝██║
██║ ╚████║ ███████╗╚██████╔╝ ╚████╔╝ ██║ ██║ ╚═╝ ██║
╚═╝ ╚═══╝ ╚══════╝ ╚═════╝ ╚═══╝ ╚═╝ ╚═╝ ╚═╝