#4090 - fixed small theme issues

This commit is contained in:
Gil Eluard
2021-06-29 17:05:01 +02:00
parent b16d11e472
commit adec2dc99b
7 changed files with 9 additions and 1 deletions

View File

@@ -45,6 +45,10 @@ import UIKit
/// - Icons
var quarterlyContent: UIColor { get }
/// - Text
/// - Icons
var quinaryContent: UIColor { get }
/// Separating line
var separator: UIColor { get }

View File

@@ -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)

View File

@@ -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)

Binary file not shown.

Before

Width:  |  Height:  |  Size: 823 B

After

Width:  |  Height:  |  Size: 765 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.5 KiB

After

Width:  |  Height:  |  Size: 1.4 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.2 KiB

After

Width:  |  Height:  |  Size: 2.1 KiB

View File

@@ -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