dramatic alteration
This commit is contained in:
parent
1957f4d354
commit
a8e411472f
@ -88,6 +88,7 @@
|
||||
0A41BA7F23453A6400D4C0BC /* TextEntryField.swift in Sources */ = {isa = PBXBuildFile; fileRef = 0A41BA7E23453A6400D4C0BC /* TextEntryField.swift */; };
|
||||
0A5D59C223AD2F5700EFD9E9 /* AppleGuidelinesProtocol.swift in Sources */ = {isa = PBXBuildFile; fileRef = 0A5D59C123AD2F5700EFD9E9 /* AppleGuidelinesProtocol.swift */; };
|
||||
0A6682AA2435125F00AD3CA1 /* Styler.swift in Sources */ = {isa = PBXBuildFile; fileRef = 0A6682A92435125F00AD3CA1 /* Styler.swift */; };
|
||||
0A6682AC243531C300AD3CA1 /* Padding.swift in Sources */ = {isa = PBXBuildFile; fileRef = 0A6682AB243531C300AD3CA1 /* Padding.swift */; };
|
||||
0A69F611241BDEA700F7231B /* RuleAnyRequiredModel.swift in Sources */ = {isa = PBXBuildFile; fileRef = 0A69F610241BDEA700F7231B /* RuleAnyRequiredModel.swift */; };
|
||||
0A6BF4722360C56C0028F841 /* BaseDropdownEntryField.swift in Sources */ = {isa = PBXBuildFile; fileRef = 0A6BF4712360C56C0028F841 /* BaseDropdownEntryField.swift */; };
|
||||
0A7BAD74232A8DC700FB8E22 /* HeadlineBodyButton.swift in Sources */ = {isa = PBXBuildFile; fileRef = 0A7BAD73232A8DC700FB8E22 /* HeadlineBodyButton.swift */; };
|
||||
@ -474,6 +475,7 @@
|
||||
0A41BA7E23453A6400D4C0BC /* TextEntryField.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = TextEntryField.swift; sourceTree = "<group>"; };
|
||||
0A5D59C123AD2F5700EFD9E9 /* AppleGuidelinesProtocol.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = AppleGuidelinesProtocol.swift; sourceTree = "<group>"; };
|
||||
0A6682A92435125F00AD3CA1 /* Styler.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = Styler.swift; sourceTree = "<group>"; };
|
||||
0A6682AB243531C300AD3CA1 /* Padding.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = Padding.swift; sourceTree = "<group>"; };
|
||||
0A69F610241BDEA700F7231B /* RuleAnyRequiredModel.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = RuleAnyRequiredModel.swift; sourceTree = "<group>"; };
|
||||
0A6BF4712360C56C0028F841 /* BaseDropdownEntryField.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = BaseDropdownEntryField.swift; sourceTree = "<group>"; };
|
||||
0A7BAD73232A8DC700FB8E22 /* HeadlineBodyButton.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = HeadlineBodyButton.swift; sourceTree = "<group>"; };
|
||||
@ -1469,6 +1471,7 @@
|
||||
D29DF13821E68636003B2FB9 /* MFStyler.h */,
|
||||
D29DF13921E68637003B2FB9 /* MFStyler.m */,
|
||||
0A6682A92435125F00AD3CA1 /* Styler.swift */,
|
||||
0A6682AB243531C300AD3CA1 /* Padding.swift */,
|
||||
);
|
||||
path = Styles;
|
||||
sourceTree = "<group>";
|
||||
@ -2051,6 +2054,7 @@
|
||||
0A7EF85D23D8A95600B2AAD1 /* TextEntryFieldModel.swift in Sources */,
|
||||
D2D6CD4222E78FAB00D701B8 /* ThreeLayerTemplate.swift in Sources */,
|
||||
01EB368F23609801006832FA /* LabelModel.swift in Sources */,
|
||||
0A6682AC243531C300AD3CA1 /* Padding.swift in Sources */,
|
||||
942C378E2412F5B60066E45E /* ModalMoleculeStackTemplate.swift in Sources */,
|
||||
8D4687E4242E2DF300802879 /* ListFourColumnDataUsageListItem.swift in Sources */,
|
||||
01F2A03223A4498200D954D8 /* CaretLinkModel.swift in Sources */,
|
||||
|
||||
74
MVMCoreUI/Styles/Padding.swift
Normal file
74
MVMCoreUI/Styles/Padding.swift
Normal file
@ -0,0 +1,74 @@
|
||||
//
|
||||
// Padding.swift
|
||||
// MVMCoreUI
|
||||
//
|
||||
// Created by Kevin Christiano on 4/1/20.
|
||||
// Copyright © 2020 Verizon Wireless. All rights reserved.
|
||||
//
|
||||
|
||||
import Foundation
|
||||
|
||||
|
||||
public struct Padding {
|
||||
|
||||
public static let One: CGFloat = 6
|
||||
public static let Two: CGFloat = 12
|
||||
public static let Three: CGFloat = 18
|
||||
public static let Four: CGFloat = 24
|
||||
public static let Five: CGFloat = 30
|
||||
public static let Six: CGFloat = 36
|
||||
public static let Seven: CGFloat = 42
|
||||
public static let Eight: CGFloat = 48
|
||||
public static let Nine: CGFloat = 54
|
||||
public static let Ten: CGFloat = 60
|
||||
|
||||
public static let TableCellParagraphSpace: CGFloat = 3
|
||||
public static let FooterLabelParagraphSpace: CGFloat = 4
|
||||
public static let WebViewInset: CGFloat = 8
|
||||
public static let HeightTableSeperatorHeight: CGFloat = 1
|
||||
public static let MFHeightForSwitch: CGFloat = 22
|
||||
public static let MFWidthForSwitch: CGFloat = 42
|
||||
public static let DisableOppacity: CGFloat = 0.5
|
||||
public static let PaymentMethodViewHeightWidthMultiplier: CGFloat = 0.55
|
||||
public static let MinCellHeight: CGFloat = 96
|
||||
public static let HeightIphone5: CGFloat = 568
|
||||
public static let DefaultOptionCellHeight: CGFloat = 120
|
||||
public static let PromoViewHeight: CGFloat = 41.9
|
||||
public static let BetweenFields: CGFloat = 24
|
||||
public static let LabelWithInternalButtonLineSpace: CGFloat = 2
|
||||
public static let PrimaryButtonTop: CGFloat = 36
|
||||
|
||||
public struct Default {
|
||||
public static let Standard: CGFloat = 24
|
||||
public static let HorizontalSpacing: CGFloat = 32
|
||||
public static let VerticalSpacing: CGFloat = 32
|
||||
public static let VerticalSpacing3: CGFloat = 24
|
||||
|
||||
public static var HorizontalPaddingForApplicationWidth: CGFloat {
|
||||
return MFSizeObject(scalingStandardSize: PaddingDefaultHorizontalSpacing)?.getValueBasedOnApplicationWidth() ?? 0
|
||||
}
|
||||
|
||||
public static var VerticalPaddingForApplicationWidth: CGFloat {
|
||||
return MFSizeObject(scalingStandardSize: PaddingDefaultVerticalSpacing)?.getValueBasedOnApplicationWidth() ?? 0
|
||||
}
|
||||
|
||||
public static func horizontalPadding(forSize size: CGFloat) -> CGFloat {
|
||||
return MFSizeObject(scalingStandardSize: PaddingDefaultHorizontalSpacing)?.getValueBased(onSize: size) ?? 0
|
||||
}
|
||||
|
||||
public static func verticalPadding(forSize size: CGFloat) -> CGFloat {
|
||||
return MFSizeObject(scalingStandardSize: PaddingDefaultVerticalSpacing)?.getValueBased(onSize: size) ?? 0
|
||||
}
|
||||
}
|
||||
|
||||
public struct Horizontal {
|
||||
public static let HeadlineWhiteView: CGFloat = 60
|
||||
public static let Large: CGFloat = 72
|
||||
public static let BetweenRelatedItems: CGFloat = 16
|
||||
}
|
||||
|
||||
public struct Vertical {
|
||||
public static let WhiteGrayView: CGFloat = 72
|
||||
public static let HeadlineAlternate: CGFloat = 48
|
||||
}
|
||||
}
|
||||
File diff suppressed because it is too large
Load Diff
Loading…
Reference in New Issue
Block a user