Skip to content

About

A warm Neovim colorscheme on halcyon navy - yolk yellow keywords, rice cream text, scallion strings, and an alive One Dark-inspired accent palette

Topics

Resources

Stars

3 stars

Watchers

0 watching

Forks

Latest commit

 

History

100 Commits

Folders and files

Repository files navigation

eggfriedrice

A dark, warm Neovim colorscheme that leans into its name: yolk-yellow literals, rice-cream text, and scallion-green strings on a navy background inspired by halcyon. Token roles follow One Dark Pro: red identifiers, purple keywords, green strings. Yellow is the signature and carries functions, types and builtins plus everything One Dark Pro paints orange: numbers, booleans, constants, attributes. Operators are blue where One Dark Pro uses cyan.

preview

The preview is generated from the palette by make preview, so it never drifts from the colors.

Palette

Role Color Hex
Variables, fields, keys, tags, errors Red #e06c75
Keywords, decorators Purple #c084fc
Functions, types, builtins, numbers, booleans, constants Yolk yellow #ffc940
Operators Blue #6cb8ff
Strings Scallion #60e654
Escapes, enum members, accents Teal #78e2d6
Text Rice cream #d8d3c3
Punctuation Muted #a8a396
Comments Blue gray #8695b7
Background Navy #0d111a
Line numbers, dividers Gutter #586480
Dormant, not assigned to any group Orange #fc9a2c

Fields and properties are red on both declaration and access, like One Dark Pro. Diff backgrounds are tints at one OKLCH lightness and chroma in each accent's hue, and search backgrounds are blends. Both are computed at load time, so overriding a palette color carries through everywhere.

A bright tier (red_bright, green_bright, yellow_bright, blue_bright, purple_bright, cyan_bright, fg_bright) lifts each accent 0.04 OKLCH lightness with its hue held. It fills ANSI slots 9 to 15 in :terminal and in the extras, so bold terminal text reads as the same color, only lit.

Features

  • Consistent token roles across legacy syntax, treesitter, and LSP semantic tokens - tuned against TypeScript, JavaScript, Go, Rust, Java, Python, Lua, CSS, HTML, YAML, JSON, TOML, and Markdown
  • Terminal colors (:terminal matches the theme)
  • Bundled lualine theme
  • Extras for Ghostty, Hyprland, waybar, GTK3 and libadwaita apps (adw-gtk3), Papirus folders, rofi, dunst, fzf, zsh, Starship, tmux, lazygit, bat, btop, eza, opencode, Slack, Discord, Zen and Chromium browsers, frameit and efr, generated from the same palette (see Extras)
  • Typography tokens (fonts, weights and a small size scale) that the rofi, GTK, dunst, Hyprland and Lua extras emit next to the colors (see Typography)
  • on_colors / on_highlights hooks for overriding anything
  • Popular plugin support (Telescope, neo-tree, gitsigns, nvim-cmp, and more)

Installation

{
  "eggfriedrice24/eggfriedrice.nvim",
  lazy = false,
  priority = 1000,
  config = function()
    vim.cmd.colorscheme("eggfriedrice")
  end,
}

vim.pack (Neovim 0.12+)

vim.pack.add({ "https://github.com/eggfriedrice24/eggfriedrice.nvim" })
vim.cmd.colorscheme("eggfriedrice")

Configuration

setup() is optional and only needed to change defaults. Call it before colorscheme. Full docs: :h eggfriedrice.

-- defaults
require("eggfriedrice").setup({
  transparent = false,    -- no background; let the terminal show through
  italic_comments = true, -- italic comments
  dim_inactive = false,   -- darker background in inactive windows
  on_colors = nil,        -- fun(colors): tweak the palette
  on_highlights = nil,    -- fun(highlights, colors): tweak highlight groups
})

vim.cmd.colorscheme("eggfriedrice")

Transparent background

Removes editor, float, and sidebar backgrounds so your terminal's background (and its opacity or blur) shows through:

{
  "eggfriedrice24/eggfriedrice.nvim",
  lazy = false,
  priority = 1000,
  config = function()
    require("eggfriedrice").setup({
      transparent = true,
    })
    vim.cmd.colorscheme("eggfriedrice")
  end,
}

Upright comments

require("eggfriedrice").setup({
  italic_comments = false,
})

Dim inactive windows

Inactive windows get the darker background shade (ignored while transparent is set):

require("eggfriedrice").setup({
  dim_inactive = true,
})

Overriding the palette

on_colors runs before highlights are built and receives the complete palette, including semantic aliases (error, git_add, ...) and derived backgrounds (diff, search, ...). Changes carry through everywhere:

require("eggfriedrice").setup({
  on_colors = function(c)
    c.green = "#b0e070"   -- brighter strings
    c.comment = "#8a8578" -- brighter comments
  end,
})

Overriding highlight groups

on_highlights runs after all groups are built and can change or add any group. The dormant orange is in the palette for exactly this:

require("eggfriedrice").setup({
  on_highlights = function(hl, c)
    hl.CursorLineNr = { fg = c.red, bold = true }
    hl["@punctuation.special"] = { fg = c.orange }
    hl.TelescopeBorder = { fg = c.fg_gutter }
  end,
})

lualine

A matching lualine theme is bundled (normal is yellow, insert green, visual purple, replace red, command cyan):

require("lualine").setup({
  options = { theme = "eggfriedrice" },
})

Extras

The same palette, rendered for the rest of the terminal. Every file under extras/ is generated from lua/eggfriedrice/colors.lua and typography.lua by make extras, and CI fails when they drift, so they never lag behind the editor.

App File Install
Ghostty extras/ghostty/eggfriedrice copy to ~/.config/ghostty/themes/eggfriedrice, set theme = eggfriedrice
fzf 0.36+ extras/fzf/eggfriedrice.sh source it from your shell rc
zsh with zsh-syntax-highlighting and zsh-autosuggestions extras/zsh/eggfriedrice.zsh source it from .zshrc
fast-syntax-highlighting extras/fsh/eggfriedrice.ini copy to ~/.config/fsh/, run fast-theme XDG:eggfriedrice
Starship extras/starship/eggfriedrice.toml paste into starship.toml, use the names in style
tmux 3.3+ extras/tmux/eggfriedrice.tmux source-file it from tmux.conf; the palette is also set as @eggfriedrice_* user options for your own formats
lazygit extras/lazygit/eggfriedrice.yml append to LG_CONFIG_FILE after your own config
bat, Sublime Text extras/bat/eggfriedrice.tmTheme copy to ~/.config/bat/themes/, run bat cache --build, set BAT_THEME=eggfriedrice
bat in the 16 colours of the terminal extras/bat/eggfriedrice-ansi.tmTheme the same rules as ANSI slots (bat's ANSI encoding), so code follows the terminal's own palette; install as above with BAT_THEME=eggfriedrice-ansi
Hyprland and hyprlock extras/hyprland/eggfriedrice.conf source = it, then use $yellow or rgba($yellowAlphaee)
Lua (Hyprland's Lua config, wezterm, ...) extras/lua/eggfriedrice.lua put it on your Lua path and require("eggfriedrice")
GTK CSS: waybar, ghostty gtk-custom-css extras/gtk/eggfriedrice.css @import url(...) it, then use @yellow or alpha(@bg, 0.7)
GTK CSS base font (waybar) extras/gtk/font.css @import url(...) it in a stylesheet that styles a whole app: one * rule with the ui font, its weight and the default size
GTK 4.16+ CSS typography (ghostty gtk-custom-css) extras/gtk/typography.css @import url(...) it, then use var(--font-ui), var(--font-weight-ui) or var(--font-size-sm)
GTK3 apps on adw-gtk3 (Thunar, file pickers, ...) extras/adw/gtk-3.0.css set the GTK theme to adw-gtk3-dark and @import it from ~/.config/gtk-3.0/gtk.css; it redefines the named colors the whole theme draws from
GTK4 and libadwaita apps extras/adw/gtk-4.0.css @import it from ~/.config/gtk-4.0/gtk.css
Papirus folders extras/papirus/eggfriedrice.sh the three folder hexes as shell variables, for a script that recolors Papirus's yellow folders into a user icon theme
rofi extras/rofi/eggfriedrice.rasi @import it, then use @yellow or the launcher roles (@panel, @panel-edge, @accent, @on-accent, ...)
dunst extras/dunst/eggfriedrice.conf copy or symlink into ~/.config/dunst/dunstrc.d/
btop extras/btop/eggfriedrice.theme copy into ~/.config/btop/themes/, set color_theme = "eggfriedrice"
eza extras/eza/eggfriedrice.yml copy or symlink to ~/.config/eza/theme.yml, unset LS_COLORS and EZA_COLORS
opencode extras/opencode/eggfriedrice.json copy or symlink into ~/.config/opencode/themes/, then set theme.name in cli.json (opencode 2) or theme in tui.json (opencode 1)
Slack extras/slack/eggfriedrice.txt Preferences, Appearance, Custom theme, Import: paste the four-color line (classic client: the ten-color one)
Discord via Vencord, Vesktop or BetterDiscord extras/discord/eggfriedrice.theme.css copy or symlink into the client mod's themes/ dir and enable it; the stock client cannot load themes
Zen Browser extras/zen/userChrome.css copy or symlink to <profile>/chrome/userChrome.css, set toolkit.legacyUserProfileCustomizations.stylesheets to true in about:config, restart
Helium and other Chromium browsers extras/chromium/manifest.json chrome://extensions, Developer mode, Load unpacked, pick the extras/chromium folder
frameit 0.2+ extras/frameit/eggfriedrice.toml include = "/path/to/eggfriedrice.toml" in ~/.config/frameit/config.toml
efr extras/efr/eggfriedrice.toml set palette = "/path/to/eggfriedrice.toml" under [render] in ~/.config/efr/config.toml; the file's code_theme points at ../bat/eggfriedrice.tmTheme and its code_theme_ansi at ../bat/eggfriedrice-ansi.tmTheme next to it, so code uses the bat themes in truecolor and in 16 colours; in a copy of the file, set both to absolute paths. The file sets the background keys code_bg, diff.add_bg and diff.remove_bg, which need an efr that knows them
anything else extras/palette/eggfriedrice.json primitives, semantic tokens, the 16 ANSI slots, the typography tokens and every app's role map as JSON

Shell roles match the editor: commands are yellow like functions, quoted words green like strings, $vars red like variables, redirections blue like operators. The palette JSON carries the full token set of the design system, including the semantic names each extra maps from.

Typography

lua/eggfriedrice/typography.lua holds the type next to the colors. The colorscheme never reads it (the terminal decides the editor's font); the extras emit it so the apps around the editor share one set of fonts.

Token Value Use
font.ui Nunito every UI surface: bars, launchers, notifications, file manager
font.mono Cartograph CF terminal text only
font.icon JetBrainsMono Nerd Font Propo nerd glyphs the ui font lacks
font.emoji Noto Color Emoji emoji
weight.ui 500 (Medium) all ui text; Regular is too thin at small sizes on the navy
weight.emphasis 600 (SemiBold) titles, the clock, active labels
size.xs 9pt secondary labels
size.sm 10pt the default UI size
size.md 11pt prominent text: a search field, a location bar
size.lg 13pt the largest text, and icon glyphs beside md text

How each extra carries them:

  • rofi: Pango font strings, one property per size (@font-ui-xs to @font-ui-lg, @font-ui-emphasis, @font-mono, @font-icon) plus @font-emoji sized for an emoji grid; use font: @font-ui-sm;
  • GTK: extras/gtk/typography.css sets every token as a custom property for GTK 4.16 and newer; GTK3 has no CSS variables, so extras/gtk/font.css is one * rule for stylesheets that style a whole app, and GTK apps in general take the ui font from the font-name setting (Nunito Medium 10)
  • dunst: font in the drop-in's [global]
  • Hyprland and hyprlock: $font_ui, $font_mono, $font_icon, $font_emoji, $font_weight_ui, $font_weight_emphasis and $font_size_xs to $font_size_lg; hyprlock sets a label's weight itself, so weights go through markup: text = <span weight="$font_weight_emphasis">$TIME</span>
  • Lua: M.font, M.font_weight and M.font_size
  • palette JSON: a typography section

Supported Plugins

License

MIT

About

A warm Neovim colorscheme on halcyon navy - yolk yellow keywords, rice cream text, scallion strings, and an alive One Dark-inspired accent palette

Topics

Resources

Stars

3 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages