From 355c880a1ddf802d8f3e00d794a95966c20d66bb Mon Sep 17 00:00:00 2001 From: Carson Katri Date: Sat, 28 May 2022 14:46:37 -0400 Subject: [PATCH] Support `foregroundColor` for `TextField` (#453) * Support adjusting TextField foregroundColor in TokamakDOM * Simplify implementation of foregroundColor --- Sources/TokamakCore/Views/Text/TextField.swift | 10 ++++++++-- Sources/TokamakDOM/Views/Text/TextField.swift | 5 ++++- 2 files changed, 12 insertions(+), 3 deletions(-) diff --git a/Sources/TokamakCore/Views/Text/TextField.swift b/Sources/TokamakCore/Views/Text/TextField.swift index abaa7a8b1..b11c659a8 100644 --- a/Sources/TokamakCore/Views/Text/TextField.swift +++ b/Sources/TokamakCore/Views/Text/TextField.swift @@ -39,7 +39,7 @@ public struct TextField