Skip to content

feat(plugin): expose colors table#18

Open
minusfive wants to merge 1 commit into
catppuccin:mainfrom
minusfive:expose-colors
Open

feat(plugin): expose colors table#18
minusfive wants to merge 1 commit into
catppuccin:mainfrom
minusfive:expose-colors

Conversation

@minusfive
Copy link
Copy Markdown

@minusfive minusfive commented Mar 5, 2025

This PR exposes the colors table through the plugin module table, so the full predefined palette can be used to customize the theme, etc.

Usage e.g.:

local wezterm = require("wezterm")
local catppuccin = wezterm.plugin.require("https://github.com/catppuccin/wezterm")
-- ...
local ctp = wezterm.color.get_builtin_schemes()["Catppuccin Mocha"]
ctp.tab_bar.inactive_tab.fg_color = catppuccin.colors.mocha.overlay2
config.color_schemes = {
  ["Catppuccin Mocha (custom)"] = ctp,
}

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant