Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix Access Control to Open #7

Merged
merged 1 commit into from
Nov 6, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
21 changes: 14 additions & 7 deletions UI/Sources/UI/Color/Theme.swift
Original file line number Diff line number Diff line change
Expand Up @@ -9,11 +9,18 @@ import UIKit

public class Theme {

static let background = UIColor(named: "background")
static let supplementaryBackground = UIColor(named: "supplementary background")
static let blue = UIColor(named: "blue")
static let border = UIColor(named: "border")
static let divider = UIColor(named: "divider")
static let primaryText = UIColor(named: "primary text")
static let secondrayText = UIColor(named: "secondray text")
public static let background = UIColor(named: "background", in: Bundle.module
, compatibleWith: nil)
public static let supplementaryBackground = UIColor(named: "supplementary background",
in: Bundle.module, compatibleWith: nil)
public static let blue = UIColor(named: "blue",
in: Bundle.module, compatibleWith: nil)
public static let border = UIColor(named: "border",
in: Bundle.module, compatibleWith: nil)
public static let divider = UIColor(named: "divider",
in: Bundle.module, compatibleWith: nil)
public static let primaryText = UIColor(named: "primary text",
in: Bundle.module, compatibleWith: nil)
public static let secondrayText = UIColor(named: "secondray text",
in: Bundle.module, compatibleWith: nil)
}
2 changes: 1 addition & 1 deletion UI/Sources/UI/View/Base/BaseCollectionCell.swift
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@

import UIKit

public class BaseCollectionCell: UICollectionViewCell, UISequenceIdentifier {
open class BaseCollectionCell: UICollectionViewCell, UISequenceIdentifier {

public override init(frame: CGRect) {
super.init(frame: frame)
Expand Down
2 changes: 1 addition & 1 deletion UI/Sources/UI/View/Base/BaseCollectionView.swift
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@

import UIKit

public class BaseCollectionView: UICollectionView {
open class BaseCollectionView: UICollectionView {

override init(frame: CGRect, collectionViewLayout layout: UICollectionViewLayout) {
super.init(frame: frame, collectionViewLayout: layout)
Expand Down
2 changes: 1 addition & 1 deletion UI/Sources/UI/View/Base/BaseControl.swift
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@

import UIKit

public class BaseControl: UIControl {
open class BaseControl: UIControl {

public required init?(coder: NSCoder) {
super.init(coder: coder)
Expand Down
2 changes: 1 addition & 1 deletion UI/Sources/UI/View/Base/BaseLabel.swift
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@

import UIKit

public class BaseLabel: UILabel {
open class BaseLabel: UILabel {

public required init?(coder: NSCoder) {
super.init(coder: coder)
Expand Down
2 changes: 1 addition & 1 deletion UI/Sources/UI/View/Base/BaseView.swift
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@

import UIKit

public class BaseView: UIView {
open class BaseView: UIView {

public required init?(coder: NSCoder) {
super.init(coder: coder)
Expand Down
4 changes: 2 additions & 2 deletions UI/Sources/UI/View/Base/BaseViewController.swift
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,9 @@

import UIKit

public class BaseViewController: UIViewController {
open class BaseViewController: UIViewController {

var spaceSeparatorFromEdgeInList: CGFloat {
open var spaceSeparatorFromEdgeInList: CGFloat {
return 16
}

Expand Down
2 changes: 1 addition & 1 deletion UI/Sources/UI/View/Label/SubTitleLabel.swift
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@

import UIKit

class SubTitleLabel: BaseLabel {
public class SubTitleLabel: BaseLabel {

override func setupViews() {
self.font = Raleway.regular.customFont(basedOnTextStyle: .caption2)
Expand Down
Loading