Git Product home page Git Product logo

Comments (5)

arcticicestudio avatar arcticicestudio commented on May 18, 2024 2

The low contrast is by design of Nord and has been selected specifically to not disturb code flow and keep the focus of the developer on the code.

It is totally fine that you not agree to all highlighting color assignments, everyone has different preferences. That is the reason why themes exist 😄
You can customize the theme via your ~/.vimrc by pasting the following snippet somewhere before you set the color scheme (colorscheme nord) and than add your custom syntax highlighting rules you want to override:

augroup nord-overrides
  autocmd!
  autocmd ColorScheme nord highlight Comment ctermfg=<COLOR> guifg=<COLOR>
augroup END

The overriden rules will only be applied for Nord and won't affect other themes.

This is a reference table if you'd like to use the same increased contrast values as provided by the Nord Atom Syntax accessibility custom comment contrast theme setting feature which are calculated using the LESSCSS lighten function.

Increased by Calculated value
1% #4e586d
2% #505b70
3% #525d73
4% #556076
5% #576279
6% #59647c
7% #5b677f
8% #5d6982
9% #5f6c85
10% #616e88
11% #63718b
12% #66738e
13% #687591
14% #6a7894
15% #6d7a96
16% #6f7d98
17% #72809a
18% #75829c
19% #78859e
20% #7b88a1

from vim.

arcticicestudio avatar arcticicestudio commented on May 18, 2024 1

@b0o I've merged #56 so you can now change the percent with the new configuration. If you' re using vim-plug you can easily change the plugin to use the develop branch until version 0.7.0 is released.

Just add or adjust

Plug "arcticicestudio/nord-vim", { 'branch': "develop" }

in your ~/.vimrc and run :PlugInstall.

from vim.

b0o avatar b0o commented on May 18, 2024

I agree. If there is any tiny amount of glare/excess light on my screen, comments are basically unreadable.

from vim.

drzel avatar drzel commented on May 18, 2024

Thanks so much for taking the time to explain this. I've been looking into how to do exactly what you describe.

from vim.

b0o avatar b0o commented on May 18, 2024

Thank you! I find that bumping the comment color up just 5% to #576279 makes a world of difference.

from vim.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.