Skip to content

This issue was moved to a discussion.

You can continue the conversation there. Go to discussion →

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

Light "Snow Storm" Theme #203

Closed
tomleo opened this issue Mar 9, 2018 · 10 comments
Closed

Light "Snow Storm" Theme #203

tomleo opened this issue Mar 9, 2018 · 10 comments

Comments

@tomleo
Copy link

tomleo commented Mar 9, 2018

I would love a light nord colorscheme, something that could be set via background=light.

@arcticicestudio
Copy link
Contributor

There are proposals to provide light themes for all Nord port projects, but this is not planned in the near future since there are still many open port projects and features that need to be completed before starting with such a big feature. You can try to use auto command groups in your ~/.vimrc in the meantime to adjust the theme on your own.

augroup nord-snowstorm
    autocmd!
    autocmd ColorScheme nord highlight <GROUP NAME> ctermfg=<COLOR NUMBER> guifg=<HEX COLOR>
augroup end

@rkiyanchuk
Copy link

Would it require only swap certain colors, or full redefinition of used colors throughout the colorscheme?

@arcticicestudio
Copy link
Contributor

@zoresvit Both. All text elements must be adjusted to use a color from the Polar Night palette to be readable (otherwise it's like white-on-white) and UI elements need also be changed to use colors from Snow Storm instead including designs for shading to make elements like the status stand out more.
Most syntax element colors will stay as they are, but punctuations (braces, brackets, colons etc.) must also be adjusted as well as all currently supported plugins that make use of or add UI elements.

Nord already provides some design guidelines and the website itself is also designed with a light mode that can be toggled to dark with the icon button in the sticky header.

My current scope is to finally complete all implementations for #94 and then start to transfer the documentations and assets of all port projects to the new website like already half finished for Nord itself.
When all of this is finally done I can start other large epics like this one, but at the moment I have to say that you have to customize Vim on your own with a Nord scoped augroup if you'd like to use it in a light mode.

@rkiyanchuk
Copy link

@arcticicestudio Sure, I understand, thanks for clarifying 👍🏼

@casonadams
Copy link

I took a stab at this:
https://github.com/casonadams/nord.vim

It looks okay... But it is just for vim too. Meh... For anyone who cares here it is ^^.

@Hubro
Copy link

Hubro commented Jun 30, 2021

Is this still on the roadmap? I have set up my vim config to automatically set background=light or background=dark based on the time of day. Nord is by far my favorite color scheme, but I can't use it because it doesn't support a light background. Meanwhile I'm using iceberg, which I don't think looks quite as nice ☹️

@PhilT
Copy link

PhilT commented Jun 30, 2021

Not sure if they are planning on this but in the meantime you could try Ayu theme (https://github.com/ayu-theme/ayu-vim). It's got 2 dark and 1 light theme.

How've you done the switch on dark or light? Is it done on startup of vim?

@Hubro
Copy link

Hubro commented Jun 30, 2021

How've you done the switch on dark or light? Is it done on startup of vim?

Ok I lied a little bit 😛 I have a script that runs twice a day that changes a bunch of themes, but I haven't properly integrated Vim yet. For now I have a keybinding set up to toggle between background=light and background=dark. My plan is to write a plugin that watches a file in my home directory called .current-global-theme using inotify and changes the background setting based on the contents. It should be trivial since both vim and neovim supports async IO now, I just haven't looked into it yet.

The idea is that all my applications should change themes automatically without me having to do anything, so it's not good enough to only check on vim startup 🙂

@Hubro
Copy link

Hubro commented Jul 4, 2021

@PhilT I have now implemented automatic theme switching in neovim using neovim-remote. This is part of my light/dark mode script:

# Change the theme of running neovim instances using neovim-remote
if which nvr &>/dev/null; then
    ls /tmp/nvim*/0 | while read line; do
        nvr --nostart --servername=$line -c "set background=$1" &
    done
else
    error "Failed to change theme of running nvim instances, please install neovim-remote"
fi

This is a lot simpler than my original plan of writing a nvim plugin, and it works perfectly.

This works great with iceberg, but unfortunately it doesn't work at all with ayu, since ayu requires a custom global variable to be changed, then the whole theme to be reloaded manually. I could probably get it to work with an extra autocmd though, I'll probably take a look at that some other day.

@svengreb
Copy link
Member

Thank you for your patience! 🙏🏼
It‘s been a while since I had free time to focus more on Nord, and my open source projects in general, and invest time in this issue due to work-life balance.

I recently published the first “Northern Post — The state and roadmap of Nord“ announcement which includes all details about the plans and future of the Nord project, including the goal of catching up with the backlog. This issue is part of the backlog and therefore I want to triage and process it to get one step closer to a “clean state“.

Due to the scope of this issue of not being “purely technical“ I‘ll convert it into a discussion for Nord‘s central community hub on GitHub. This way the repository is easier to maintain by separating conversations about the actual code while also making help requests, ideas and other contributions from users more visible and supportable by the community. You can read and discuss about the goal of reaching the “clean“ contribution triage state in the corresponding announcement.

This issue is also related to #46 which discusses the creation of a kind of “light“ / “day“ variant of Nord that can be rolled out to all ports, including the documentation of the color usage and layout. Therefore the discussion in this thread can be “merged“ and will be included when the time comes.

@svengreb svengreb transferred this issue from nordtheme/vim May 29, 2023
@nordtheme nordtheme locked and limited conversation to collaborators May 29, 2023
@svengreb svengreb converted this issue into discussion #204 May 29, 2023

This issue was moved to a discussion.

You can continue the conversation there. Go to discussion →

Projects
None yet
Development

No branches or pull requests

7 participants