Skip to content

Theme

Base classes

Name Children Inherits
RootModel
clawd_code_sdk.models.settings

⋔ Inheritance diagram

graph TD
  481985123["settings.Theme"]
  2566827725["settings.RootModel[str]"]
  2277929590["root_model.RootModel"]
  3879467795["main.BaseModel"]
  2751680898["builtins.object"]
  3481597255["typing.Generic"]
  2566827725 --> 481985123
  2277929590 --> 2566827725
  3879467795 --> 2277929590
  2751680898 --> 3879467795
  3481597255 --> 2277929590
  2751680898 --> 3481597255

🛈 DocStrings

Bases: RootModel[str]

Source code in src/clawd_code_sdk/models/settings.py
class Theme(RootModel[str]):
    root: str = Field(..., pattern="^custom:.+")
    """
    Reference to a custom theme defined in ~/.claude/themes/, in the form `custom:<slug>`
    """

root class-attribute instance-attribute

root: str = Field(..., pattern='^custom:.+')

Reference to a custom theme defined in ~/.claude/themes/, in the form custom:<slug>

:fa-brands-github: Show source on GitHub