Attributes
public struct Attributes : Codable
A root object that stores information about a single theme, such as the theme’s name, color, and symbol.
-
The slug of the resource.
Declaration
Swift
public let slug: String
-
The name of the theme.
Declaration
Swift
public let name: String
-
The description of the theme.
Declaration
Swift
public let description: String?
-
The first background color of the theme.
Declaration
Swift
public let backgroundColor1: String
-
The second background color of the theme.
Declaration
Swift
public let backgroundColor2: String
-
The first text color of the theme.
Declaration
Swift
public let textColor1: String
-
The second text color of the theme.
Declaration
Swift
public let textColor2: String
-
The media object of the symbol of the theme.
Declaration
Swift
public let symbol: Media?
-
Whether the theme is Not Safe For Work.
Declaration
Swift
public let isNSFW: Bool