Skip to content

Commit

Permalink
Fix Access Control to Open
Browse files Browse the repository at this point in the history
  • Loading branch information
helloItsHEssam committed Nov 6, 2023
1 parent a2959e4 commit aff299b
Show file tree
Hide file tree
Showing 8 changed files with 22 additions and 15 deletions.
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

0 comments on commit aff299b

Please sign in to comment.