Hacktoberfest 2026: the issues maintainers tagged for October, open and beginner-friendly. Browse Hacktoberfest issues

Preview weird background color problem

Open
#482 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
3/5
Estimated time
1-2 days
Newbie friendliness
30/100
Issue type
Bug
Clarity
Needs clarification
Activity status
Stale
Tech stack
lua, neovim
Domain
tooling

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?

image

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:







███╗   ██╗ ███████╗ ██████╗  ██╗   ██╗ ██╗ ███╗   ███╗
████╗  ██║ ██╔════╝██╔═══██╗ ██║   ██║ ██║ ████╗ ████║
██╔██╗ ██║ █████╗  ██║   ██║ ██║   ██║ ██║ ██╔████╔██║
██║╚██╗██║ ██╔══╝  ██║   ██║ ╚██╗ ██╔╝ ██║ ██║╚██╔╝██║
██║ ╚████║ ███████╗╚██████╔╝  ╚████╔╝  ██║ ██║ ╚═╝ ██║
╚═╝  ╚═══╝ ╚══════╝ ╚═════╝    ╚═══╝   ╚═╝ ╚═╝     ╚═╝
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

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from nvimdev/dashboard-nvim

All issues in nvimdev/dashboard-nvim

Similar issues

More Lua issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.