You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Create ~/.config/wezterm/colors/ if it doesn't exist.
Place the generated oasis_<theme_name>.toml file into the colors directory.
In your wezterm.lua configuration file, apply the theme using color_scheme = "Oasis Lagoon Dark" or color_scheme = "Oasis Lagoon Light 3" (for example).
localwezterm=require"wezterm"localconfig=wezterm.config_builder()
--- Generates an Oasis theme name based on appearance and preferences.--- @paramappearancestring: The appearance mode from wezterm.gui.get_appearance() (e.g., "Dark", "Light")--- @paramnamestring|nil: Theme variant name (default: "Lagoon")--- @paramlight_intensitystring|number|nil: Light mode intensity level 1-5 (default: "3")--- @returnstring: The formatted Oasis theme name (e.g., "Oasis Lagoon Dark" or "Oasis Lagoon Light 3")localfunctionget_oasis_theme(appearance, name, light_intensity)
-- Defaultsname=nameor"Lagoon"light_intensity=light_intensityor3-- Check if dark mode is requestedifappearance:find("Dark") thenreturn"Oasis " ..name.." Dark"elsereturn"Oasis " ..name.." Light " ..light_intensityendendconfig.color_scheme=get_oasis_theme(wezterm.gui.get_appearance(), "Lagoon", 3) -- Change Lagoon with your preferred themereturnconfig