Theme: Nitpicky code style fix

This commit is contained in:
John Sundell 2018-10-09 23:22:50 +02:00 committed by GitHub
parent 59d45d39e3
commit 183224503f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -21,7 +21,7 @@ public struct Theme {
/// What color to use for the text's highlighted tokens /// What color to use for the text's highlighted tokens
public var tokenColors: [TokenType : Color] public var tokenColors: [TokenType : Color]
public init(font: Font, plainTextColor: Color, tokenColors: [TokenType : Color], backgroundColor:Color = Color(white: 0.12, alpha: 1)) { public init(font: Font, plainTextColor: Color, tokenColors: [TokenType : Color], backgroundColor: Color = Color(white: 0.12, alpha: 1)) {
self.font = font self.font = font
self.plainTextColor = plainTextColor self.plainTextColor = plainTextColor
self.tokenColors = tokenColors self.tokenColors = tokenColors