Skip to content

keryx theme edit

Change fields on an existing theme.

Usage

keryx theme edit <keyword> [--type <t>] --set key=value ...

Flags

Flag Description Default Required
--type Disambiguates when a keyword exists under more than one type
--set key=value, repeatable, dotted paths allowed yes

--set uses the same syntax as theme add. Calling edit with no --set is an error: nothing to edit — pass --set key=value.

Which theme it finds

Lookup is by keyword first, across every type. --type is only consulted when the keyword is not found on its own, so a theme that has been flattened out of its old type still resolves. A keyword that exists nowhere gives theme not found.

Which file it writes to

The same rule as theme add: the project's .keryx.yaml when you are inside a project, otherwise ~/.keryx/themes.yaml. Editing a theme that came from the user library while inside a project writes the edited copy into the project file.

Example

keryx theme edit editorial --set 'voice.speed=0.95' --set 'card.lead=0.8'

See also