Skip Navigation
EnumerationEnumeration

ThemeSettingValue

A generic value in a theme-settings.json file.

indirect enum ThemeSettingValue

Overview

The swift-docc-render theme format allows nested objects whose leaves become CSS custom properties. A leaf is either a plain value or a pair of values for the light and dark colour schemes. This type models such a tree so that every section of the format can be read, validated and turned into custom properties in the same way swift-docc-render does it.

Numbers and Booleans are stored in their textual JSON form, because they end up as CSS values.

Topics

Relationships

  • Swift.Decodable
  • Swift.Encodable
  • Swift.Equatable
  • Swift.Hashable
  • Swift.Sendable
  • Swift.SendableMetatype