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

issue with color theme #295

Closed
uziahmed opened this issue Jan 3, 2022 · 5 comments
Closed

issue with color theme #295

uziahmed opened this issue Jan 3, 2022 · 5 comments

Comments

@uziahmed
Copy link

uziahmed commented Jan 3, 2022

this is really not that much of a big issue but i just wanted to know the images of the onedark theme on the Readme.md are kinda cooler and very similar to the one in atom but i have a much darker and kinda unpleasing color situation here

my init.vim and color situation
Screenshot_2022-01-04_03-46-14

what i want
image

Terminal Emulator Info

Alacritty 0.9.0

OS version

OS:Manjaro
kernel:5.13.19-2-MANJARO

neovim version

neovim version:0.6.0

is there a way to fix it???

@uziahmed
Copy link
Author

uziahmed commented Jan 3, 2022

i read the readme.md but found almost nothing that i was looking for

@joshdick
Copy link
Owner

joshdick commented Jan 3, 2022

It looks like you're currently using onedark.vim's 256-color mode. To get the colors to look like the README screenshots, you need to enable true/24-bit color mode by adding set termguicolors to your configuration before colorscheme onedark.vim. If this doesn't work for you, try using the full snippet that appears in Step 2 of the README's installation instructions, instead.

@uziahmed
Copy link
Author

uziahmed commented Jan 3, 2022

i mean it kinda worked and fixed the background but the text is still kinda junky and it still doesnt look like the eye soothing one dark
Screenshot_2022-01-04_04-13-00

@joshdick
Copy link
Owner

joshdick commented Jan 3, 2022

The colors now look correct. I'm not sure what you mean by the text is still kinda junky but onedark.vim only styles the colors and nothing else. To change the look of the text, you probably need to experiment with your font / font size / font weight within your alacritty configuration.

The screenshot in the README also utilizes https://github.com/sheerun/vim-polyglot for better syntax highlighting support, but since you're using Neovim you may also want to look into https://github.com/nvim-treesitter/nvim-treesitter. Neither of these will affect the colors themselves, but will affect how they are applied when syntax highlighting different filetypes.

@uziahmed
Copy link
Author

uziahmed commented Jan 3, 2022

i actually meant that the color of the font still kinda doesnt matches the look of the image but anyways thanks for your help and have a great day/night

@uziahmed uziahmed closed this as completed Jan 3, 2022
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

2 participants