Skip to content

Commit

Permalink
#4090 - fixed small theme issues
Browse files Browse the repository at this point in the history
  • Loading branch information
gileluard committed Jun 29, 2021
1 parent c421af0 commit 760f03d
Show file tree
Hide file tree
Showing 7 changed files with 9 additions and 1 deletion.
4 changes: 4 additions & 0 deletions DesignKit/Source/Colors.swift
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,10 @@ import UIKit
/// - Icons
var quarterlyContent: UIColor { get }

/// - Text
/// - Icons
var quinaryContent: UIColor { get }

/// Separating line
var separator: UIColor { get }

Expand Down
2 changes: 2 additions & 0 deletions DesignKit/Variants/Dark/DarkColors.swift
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,8 @@ public class DarkColors: Colors {

public let quarterlyContent: UIColor = UIColor(rgb: 0x6F7882)

public let quinaryContent: UIColor = UIColor(rgb: 0x394049)

public let separator: UIColor = UIColor(rgb: 0x21262C)

public let tile: UIColor = UIColor(rgb: 0x394049)
Expand Down
2 changes: 2 additions & 0 deletions DesignKit/Variants/Light/LightColors.swift
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,8 @@ public class LightColors: Colors {

public let quarterlyContent: UIColor = UIColor(rgb: 0xC1C6CD)

public let quinaryContent: UIColor = UIColor(rgb: 0xE3E8F0)

public let separator: UIColor = UIColor(rgb: 0xE3E8F0)

public let tile: UIColor = UIColor(rgb: 0xF3F8FD)
Expand Down
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@ class VoiceMessagePlaybackView: UIView, NibLoadable, Themable {
}

playButton.backgroundColor = theme.colors.separator
backgroundView.backgroundColor = theme.colors.tile
backgroundView.backgroundColor = theme.colors.quinaryContent
_waveformView.primarylineColor = theme.colors.quarterlyContent
_waveformView.secondaryLineColor = theme.colors.secondaryContent
elapsedTimeLabel.textColor = theme.colors.tertiaryContent
Expand Down

0 comments on commit 760f03d

Please sign in to comment.