func foregroundStyle <S>(S) -> some View
Sets a view’s foreground elements to use a given style.
func foregroundStyle <S1, S2>(S1, S2) -> some View
Sets the primary and secondary levels of the foreground style in the child view.
func foregroundStyle <S1, S2, S3>(S1, S2, S3) -> some View
Sets the primary, secondary, and tertiary levels of the foreground style.
func foregroundColor (Color?) -> some View
Sets the color of the foreground elements displayed by this view.
このビューによって表示される前景要素の色を設定します。