Skip to content

Remove [light] and [dark] sections from themes, add Latte themeΒ #38

@sollniss

Description

@sollniss

Currently the [light] section for all variants (Frappe, Macciato, Mocha) is identical (I'm assuming Latte). The default behaviour should be applying "Mocha" if I have selected "Mocha" as a theme, independent of whether my global setting is light or dark.

Besides that, the current themes produce an error when the global mode is unreported by the terminal:

fish_config theme choose: failed to find '[unknown]' section (implied by $fish_terminal_color_theme) in 'Catppuccin Mocha' theme
fish_config theme choose: hint: if your terminal does not report colors, pass --color-theme=light or --color-theme=dark when using color-theme-aware themes

The error above is produced by WezTerm (Windows) opening the fish shell inside of WSL (NixOS).

Setting all values at the top level (without dark/light sections) would solve both problems. Refer to the default theme here for an example.

This basically means reverting #30.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions