Preview weird background color problem
Nobody has claimed this yet.
Assessment
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Newbie friendliness
- 30/100
Research direction
Reproduce the dashboard preview with the supplied setup, Alacritty, rose-pine, and logo.txt. Start by tracing how the hyper theme renders the preview and terminal color escapes; determine whether the background mismatch is caused by the preview content or theme handling. Done means the background renders consistently or the expected limitation is documented.
Written by the indexing model from the issue text.
Description
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███╗ ██╗ ███████╗ ██████╗ ██╗ ██╗ ██╗ ███╗ ███╗
████╗ ██║ ██╔════╝██╔═══██╗ ██║ ██║ ██║ ████╗ ████║
██╔██╗ ██║ █████╗ ██║ ██║ ██║ ██║ ██║ ██╔████╔██║
██║╚██╗██║ ██╔══╝ ██║ ██║ ╚██╗ ██╔╝ ██║ ██║╚██╔╝██║
██║ ╚████║ ███████╗╚██████╔╝ ╚████╔╝ ██║ ██║ ╚═╝ ██║
╚═╝ ╚═══╝ ╚══════╝ ╚═════╝ ╚═══╝ ╚═╝ ╚═╝ ╚═╝
- Dominant language
- Lua
- Stars
- 2.9k
- Forks
- 201
- PR merge metrics
- No merged PRs in 30d
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from nvimdev/dashboard-nvim
-
Difficulty 1/5 Under an hour Newbie friendliness 88/100
nvimdev/dashboard-nvim#534 ·
-
Difficulty 1/5 Under an hour Newbie friendliness 78/100
nvimdev/dashboard-nvim#480 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
nvimdev/dashboard-nvim#402 · 2 reactions ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 38/100
nvimdev/dashboard-nvim#523 · 2 comments · 3 reactions ·
-
Difficulty 3/5 1-2 days Newbie friendliness 55/100
nvimdev/dashboard-nvim#521 ·
All issues in nvimdev/dashboard-nvim
Similar issues
-
Nmap
Difficulty 1/5 Under an hour Newbie friendliness 85/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 70/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 75/100
-
bug
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
LandSandBoat/server#11579 ·
-
Difficulty 1/5 Under an hour Newbie friendliness 90/100