Commit c7f75ba0 by Orkhan Alikhanov

Made Theme Hashable

parent 5830b099
......@@ -42,9 +42,9 @@ public protocol Themeable: class {
var isThemingEnabled: Bool { get set }
}
public struct Theme {
public struct Theme: Hashable {
/// The color displayed most frequently across the app.
public var primary = Color.blue.base
public var primary = Color.blue.darken2
/// Accent color for some components such as FABMenu.
public var secondary = Color.blue.base
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment