Enable blank line rules. (#132)

This commit is contained in:
Doug
2022-07-06 16:01:50 +01:00
committed by GitHub
parent 02eb4b35e2
commit 25d7ba55ad
114 changed files with 0 additions and 184 deletions
@@ -19,7 +19,6 @@ import SwiftUI
/// Fonts at https://www.figma.com/file/X4XTH9iS2KGJ2wFKDqkyed/Compound?node-id=1362%3A0
@objcMembers
public class ElementSharedFonts {
// MARK: - Types
/// A wrapper to provide both a `UIFont` and a SwiftUI `Font` in the same type.
@@ -43,7 +42,6 @@ public class ElementSharedFonts {
// MARK: - Fonts protocol
public extension ElementSharedFonts {
var largeTitle: SharedFont {
let uiFont = font(forTextStyle: .largeTitle)
return SharedFont(uiFont: uiFont, font: .largeTitle)
-1
View File
@@ -20,7 +20,6 @@ import Foundation
/// Font names are based on Element typography https://www.figma.com/file/X4XTH9iS2KGJ2wFKDqkyed/Compound?node-id=1362%3A0 which is based on Apple font text styles (UIFont.TextStyle): https://developer.apple.com/documentation/uikit/uifonttextstyle
/// Create a custom TextStyle enum (like DesignKit.Fonts.TextStyle) is also a possibility
public protocol Fonts {
associatedtype FontType
/// The font for large titles.
-1
View File
@@ -17,7 +17,6 @@
import UIKit
public extension UIFont {
// MARK: - Convenient methods
/// Update current font with a SymbolicTraits