Use .element.accent instead of elementGreen colour asset. (#79)

Remove local copy of Element Green
This commit is contained in:
Doug
2022-06-13 08:38:28 +01:00
committed by GitHub
parent c96ee095d0
commit 272fc5000b
18 changed files with 23 additions and 63 deletions
@@ -16,7 +16,7 @@ struct ElementToggleStyle: ToggleStyle {
Image(systemName: configuration.isOn ? "checkmark.square.fill" : "square")
.font(.title3.weight(.regular))
.imageScale(.large)
.foregroundColor(Color(uiColor: Asset.Colors.elementGreen.color))
.foregroundColor(.element.accent)
}
.buttonStyle(.plain)
}