Mofiqul / dracula.nvim

Dracula colorscheme for neovim written in Lua
MIT License
594 stars 103 forks source link

feat(theme): introduce 'dracula-soft' palette #78

Closed craigmac closed 1 year ago

craigmac commented 1 year ago

Introduces the 'soft' variant of the Dracula theme from VS Code.

The VS Code 'Dracula Soft' variant is not hardcoded values, it's calculated by reducing the main colors' saturation by 20% in transformSoft.

I compared the ANSI colours in :term to the ANSI colours in VS Code terminal to make sure they match there.

Left is wezterm with :colorscheme dracula-soft and right is vs code with theme Dracula Soft:

Screen Shot 2023-03-07 at 1 23 34 PM
craigmac commented 1 year ago

Dracula hardcodes bolded font in a few places, which dracula.nvim doesn't currently support.

Mofiqul commented 1 year ago

@craigmac - Can you add to the README as well?

craigmac commented 1 year ago

Fixed up README and some dangling debug print statements. I moved the detection of dracula-soft sooner in the setup() function, so we can set the DEFAULT_CONFIG.colors before we force merge any user supplied overrides. Doing it the other way, previous version, would merge user color overrides and then override those with the dracula-soft palette, not what we wanted.