Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Preview weird background color problem #482

Open
fqidz opened this issue Sep 10, 2024 · 0 comments
Open

Preview weird background color problem #482

fqidz opened this issue Sep 10, 2024 · 0 comments

Comments

@fqidz
Copy link

fqidz commented Sep 10, 2024

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:

�[1;49m





�[1;35m███╗   ██╗ ███████╗ ██████╗  ██╗   ██╗ ██╗ ███╗   ███╗
████╗  ██║ ██╔════╝██╔═══██╗ ██║   ██║ ██║ ████╗ ████║
██╔██╗ ██║ █████╗  ██║   ██║ ██║   ██║ ██║ ██╔████╔██║
██║╚██╗██║ ██╔══╝  ██║   ██║ ╚██╗ ██╔╝ ██║ ██║╚██╔╝██║
██║ ╚████║ ███████╗╚██████╔╝  ╚████╔╝  ██║ ██║ ╚═╝ ██║
╚═╝  ╚═══╝ ╚══════╝ ╚═════╝    ╚═══╝   ╚═╝ ╚═╝     ╚═╝
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant