Skip Navigation
EnumerationEnumeration

ColorValueInput

A colour value that can be either a single string or light/dark variants.

enum ColorValueInput

Overview

This type supports the swift-docc-render theme format where colours can be:

  • A single CSS colour value (e.g., "#0066cc")

  • An object with separate light and dark values

Relationships

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