# Styles

    @objc
    public class Styles : NSObject

Provides all the styling for the visual elements after they are loaded out of nib files or created.

### Properties

- `shared`

  The look & feel of all the visual elements can be set through shared instance.

  #### Declaration

  Swift

      public static let shared: Styles

### OptionItem

- `optionItemBackgroundColor`

  Sets the `OptionItem` background color.

  #### Declaration

  Swift

      public var optionItemBackgroundColor: UIColor

- `optionItemTextColor`

  Sets the `OptionItem` text color.

  #### Declaration

  Swift

      public var optionItemTextColor: UIColor

- `optionItemSwitchOnTintColor`

  Sets the `onTintColor` of the switch found on an `OptionItem` object.

  #### Declaration

  Swift

      public var optionItemSwitchOnTintColor: UIColor

- `optionItemSwitchTintColor`

  Sets the `tintColor` of the switch found on an `OptionItem` object.

  #### Declaration

  Swift

      public var optionItemSwitchTintColor: UIColor?

- `optionItemSwitchThumbTintColor`

  Sets the `thumbTintColor` of the switch found on an `OptionItem` object.

  #### Declaration

  Swift

      public var optionItemSwitchThumbTintColor: UIColor?

- `optionItemButtonBackgroundColor`

  Sets the background color of the button found on an `OptionItem` object.

  #### Declaration

  Swift

      public var optionItemButtonBackgroundColor: UIColor?

- `optionItemButtonTitleColor`

  Sets the title color of the button found on an `OptionItem` object.

  #### Declaration

  Swift

      public var optionItemButtonTitleColor: UIColor

- `optionItemButtonTintColor`

  Sets the tint color of the button found on an `OptionItem` object.

  #### Declaration

  Swift

      public var optionItemButtonTintColor: UIColor?

### SingleChoiceOptionItem

- `singleChoiceOptionItemTitleBackgroundColor`

  Sets the title background color of `SingleChoiceOptionItem`.

  #### Declaration

  Swift

      public var singleChoiceOptionItemTitleBackgroundColor: UIColor

- `singleChoiceOptionItemTitleTextAlignment`

  Sets the title alignment of `SingleChoiceOptionItem`.

  #### Declaration

  Swift

      public var singleChoiceOptionItemTitleTextAlignment: NSTextAlignment

- `singleChoiceOptionItemTitleLeadingConstraint`

  Sets the title leading constraint of `SingleChoiceOptionItem`.

  #### Declaration

  Swift

      public var singleChoiceOptionItemTitleLeadingConstraint: CGFloat

- `singleChoiceOptionItemTitleTrailingConstraint`

  Sets the title trailing constraint of `SingleChoiceOptionItem`.

  #### Declaration

  Swift

      public var singleChoiceOptionItemTitleTrailingConstraint: CGFloat

- `singleChoiceOptionItemBackgroundColor`

  Sets the background color of `SingleChoiceOptionItem`.

  #### Declaration

  Swift

      public var singleChoiceOptionItemBackgroundColor: UIColor

- `singleChoiceOptionItemTextAlignment`

  Sets the alignment of options of `SingleChoiceOptionItem`.

  #### Declaration

  Swift

      public var singleChoiceOptionItemTextAlignment: NSTextAlignment