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

Rewrite #77

Merged
merged 64 commits into from
Mar 16, 2022
Merged

Rewrite #77

merged 64 commits into from
Mar 16, 2022

Conversation

EdenEast
Copy link
Owner

@EdenEast EdenEast commented Mar 15, 2022

This Pr is a rewrite of nightfox to be based around the concept of pallets, and specs.

The goal of this rewrite is to define a set of colors for each style (pallets). These styles then are mapped to a
specification (spec) that is used by the groups/modules. Users can override a color pallet or just a spec mapping. For
example you would like to just change functions to be cyan instead of blue. You can override just this and still have
everything else the same.

With all these configuration settings it is also important to have a way to precompute the results and cache the results
to make sure startup times are unaffected. This rewrite adds the concept of compiled files that are the vim calls
required to set the colorscheme. Nightfox also comes with its default settings precompiled to speed up startup time.

List of Breaking Changes:

  • nightfox.load() has been removed in favour of setting colorschemes using the builtin :colorscheme command
  • nightfox.setup() function now takes configuration options as an optional key
  • fox has been removed in favour of setting colorschemes using the builtin :colorscheme command
  • transparent has been moved to options.transparent
  • terminal_color has been moved to options.terminal_color
  • alt_nc has been moved to options.dim_inactive
  • styles has been moved to options.styles
  • inverse has been moved to options.inverse
  • colors has been replaced with the concept of pallets
  • hlgroups has been replaced with the concept of groups

@EdenEast EdenEast added extras Relates to extra template generation breaking A change that introduces a breaking change for users compiler Change relating to style compiler labels Mar 15, 2022
@EdenEast EdenEast self-assigned this Mar 15, 2022
@EdenEast
Copy link
Owner Author

Preview of styles

style examples

Nightfox

nightfox-example

Dayfox

dayfox-example

Dawnfox

dawnfox-example

Duskfox

duskfox-example

Nordfox

nordfox-example

@EdenEast
Copy link
Owner Author

EdenEast commented Mar 15, 2022

Update screenshots

screenshots

dawnfox
dayfox
duskfox
nightfox
nordfox

wezterm settings

Screenshots taken on a mac with no padding and window decorations for the clean rounded corners.

return {
  window_padding = { left = 0, right = 0, top = 0, bottom = 0 },
  window_decorations = "RESIZE",
  initial_cols = 160,
  initial_ros = 48,
  font_size = 18,
  -- font -> "Hack Nerd Font Mono"
}

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
breaking A change that introduces a breaking change for users compiler Change relating to style compiler extras Relates to extra template generation
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant