Skip to content
This repository was archived by the owner on Oct 12, 2025. It is now read-only.
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
Original file line number Diff line number Diff line change
@@ -1,17 +1,17 @@
{
"images" : [
{
"filename" : "HomeSelected@1x.png",
"filename" : "Group 977.png",
"idiom" : "universal",
"scale" : "1x"
},
{
"filename" : "HomeSelected@2x.png",
"filename" : "Group 977 (1).png",
"idiom" : "universal",
"scale" : "2x"
},
{
"filename" : "HomeSelected@3x.png",
"filename" : "Group 977 (2).png",
"idiom" : "universal",
"scale" : "3x"
}
Expand Down
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Original file line number Diff line number Diff line change
@@ -1,17 +1,17 @@
{
"images" : [
{
"filename" : "LeaderboardSelected@1x.png",
"filename" : "Group 978.png",
"idiom" : "universal",
"scale" : "1x"
},
{
"filename" : "LeaderboardSelected@2x.png",
"filename" : "Group 978 (1).png",
"idiom" : "universal",
"scale" : "2x"
},
{
"filename" : "LeaderboardSelected@3x.png",
"filename" : "Group 978 (2).png",
"idiom" : "universal",
"scale" : "3x"
}
Expand Down
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"images" : [
{
"filename" : "ProfileSelected@1x.png",
"filename" : "Group 977 (3).png",
"idiom" : "universal",
"scale" : "1x"
},
Expand Down
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file not shown.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Original file line number Diff line number Diff line change
@@ -1,17 +1,17 @@
{
"images" : [
{
"filename" : "qr-code.png",
"filename" : "Camera.png",
"idiom" : "universal",
"scale" : "1x"
},
{
"filename" : "qr-code2x.png",
"filename" : "Camera (1).png",
"idiom" : "universal",
"scale" : "2x"
},
{
"filename" : "qr-code3x.png",
"filename" : "Camera (2).png",
"idiom" : "universal",
"scale" : "3x"
}
Expand Down
Binary file not shown.
Binary file not shown.
Binary file not shown.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Original file line number Diff line number Diff line change
@@ -1,17 +1,17 @@
{
"images" : [
{
"filename" : "qr-code.png",
"filename" : "Camera.png",
"idiom" : "universal",
"scale" : "1x"
},
{
"filename" : "qr-code2x.png",
"filename" : "Camera (1).png",
"idiom" : "universal",
"scale" : "2x"
},
{
"filename" : "qr-code3x.png",
"filename" : "Camera (2).png",
"idiom" : "universal",
"scale" : "3x"
}
Expand Down
Binary file not shown.
Binary file not shown.
Diff not rendered.
Original file line number Diff line number Diff line change
@@ -1,17 +1,17 @@
{
"images" : [
{
"filename" : "ScheduleSelected@1x.png",
"filename" : "Group 979.png",
"idiom" : "universal",
"scale" : "1x"
},
{
"filename" : "ScheduleSelected@2x.png",
"filename" : "Group 979 (1).png",
"idiom" : "universal",
"scale" : "2x"
},
{
"filename" : "ScheduleSelected@3x.png",
"filename" : "Group 979 (2).png",
"idiom" : "universal",
"scale" : "3x"
}
Expand Down
Binary file not shown.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Original file line number Diff line number Diff line change
@@ -1,17 +1,17 @@
{
"images" : [
{
"filename" : "home@1x.png",
"filename" : "Battle.png",
"idiom" : "universal",
"scale" : "1x"
},
{
"filename" : "home@2x.png",
"filename" : "Battle (1).png",
"idiom" : "universal",
"scale" : "2x"
},
{
"filename" : "home@3x.png",
"filename" : "Battle (2).png",
"idiom" : "universal",
"scale" : "3x"
}
Expand Down
Diff not rendered.
Diff not rendered.
Diff not rendered.
Original file line number Diff line number Diff line change
@@ -1,17 +1,17 @@
{
"images" : [
{
"filename" : "leaderboard@1x.png",
"filename" : "image.png",
"idiom" : "universal",
"scale" : "1x"
},
{
"filename" : "leaderboard@2x.png",
"filename" : "image (1).png",
"idiom" : "universal",
"scale" : "2x"
},
{
"filename" : "leaderboard@3x.png",
"filename" : "image (2).png",
"idiom" : "universal",
"scale" : "3x"
}
Expand Down
Binary file not shown.
Binary file not shown.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Original file line number Diff line number Diff line change
@@ -1,17 +1,17 @@
{
"images" : [
{
"filename" : "profile@1x.png",
"filename" : "image (3).png",
"idiom" : "universal",
"scale" : "1x"
},
{
"filename" : "profile@2x.png",
"filename" : "image (4).png",
"idiom" : "universal",
"scale" : "2x"
},
{
"filename" : "profile@3x.png",
"filename" : "image (5).png",
"idiom" : "universal",
"scale" : "3x"
}
Expand Down
Diff not rendered.
Diff not rendered.
Diff not rendered.
Original file line number Diff line number Diff line change
@@ -1,17 +1,17 @@
{
"images" : [
{
"filename" : "schedule@1x.png",
"filename" : "Group 974.png",
"idiom" : "universal",
"scale" : "1x"
},
{
"filename" : "schedule@2x.png",
"filename" : "Group 974 (1).png",
"idiom" : "universal",
"scale" : "2x"
},
{
"filename" : "schedule@3x.png",
"filename" : "Group 974 (2).png",
"idiom" : "universal",
"scale" : "3x"
}
Expand Down
Diff not rendered.
Diff not rendered.
Diff not rendered.
Original file line number Diff line number Diff line change
@@ -1,17 +1,17 @@
{
"images" : [
{
"filename" : "PointShopIcon1x.png",
"filename" : "image.png",
"idiom" : "universal",
"scale" : "1x"
},
{
"filename" : "PointShopIcon2x.png",
"filename" : "image (1).png",
"idiom" : "universal",
"scale" : "2x"
},
{
"filename" : "PointShopIcon3x.png",
"filename" : "image (2).png",
"idiom" : "universal",
"scale" : "3x"
}
Expand Down
Diff not rendered.
Diff not rendered.
Diff not rendered.
Original file line number Diff line number Diff line change
@@ -1,17 +1,17 @@
{
"images" : [
{
"filename" : "shop1x.png",
"filename" : "Group 978.png",
"idiom" : "universal",
"scale" : "1x"
},
{
"filename" : "shop2x.png",
"filename" : "Group 978 (1).png",
"idiom" : "universal",
"scale" : "2x"
},
{
"filename" : "shop3x.png",
"filename" : "Group 978 (2).png",
"idiom" : "universal",
"scale" : "3x"
}
Expand Down
Diff not rendered.
Diff not rendered.
Diff not rendered.
16 changes: 10 additions & 6 deletions HackIllinois/FlowControllers/HITabBarController.swift
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@

//
// HITabBarController.swift
// HackIllinois
Expand Down Expand Up @@ -71,8 +72,8 @@ class HITabBarController: UITabBarController {
let qrScannerPopupButton = UIButton()
view.addSubview(qrScannerPopupButton)
qrScannerPopupButton.translatesAutoresizingMaskIntoConstraints = false
qrScannerPopupButton.frame.size = CGSize(width: 54, height: 54)
qrScannerPopupButton.layer.cornerRadius = 28
qrScannerPopupButton.frame.size = CGSize(width: 75, height: 75)
qrScannerPopupButton.layer.cornerRadius = 38
qrScannerPopupButton.center = CGPoint(x: view.center.x, y: 0)
if self.selectedViewController is HIQRScannerSelection {
qrScannerPopupButton.backgroundColor = (\HIAppearance.greenCodePopupTab).value
Expand All @@ -83,16 +84,16 @@ class HITabBarController: UITabBarController {
qrScannerPopupButton.imageView?.contentMode = .scaleAspectFill

// Button Shadow
qrScannerPopupButton.layer.shadowColor = UIColor(red: 0, green: 0, blue: 0, alpha: 0.25).cgColor
qrScannerPopupButton.layer.shadowColor = UIColor(red: 0, green: 0, blue: 0, alpha: 0.45).cgColor
qrScannerPopupButton.layer.shadowOpacity = 1
qrScannerPopupButton.layer.shadowRadius = 15
qrScannerPopupButton.layer.shadowRadius = 20
qrScannerPopupButton.layer.masksToBounds = false
qrScannerPopupButton.layer.shadowOffset = CGSize(width: 0, height: 0)

//QR Scanner PopupButton Constraints
qrScannerPopupButton.centerXAnchor.constraint(equalTo: view.centerXAnchor).isActive = true
qrScannerPopupButton.centerYAnchor.constraint(equalTo: tabBar.topAnchor, constant: 0).isActive = true
qrScannerPopupButton.constrain(width: 54, height: 54)
qrScannerPopupButton.constrain(width: 75, height: 75)

//QR Scanner PopupAction
qrScannerPopupButton.addTarget(self, action: #selector(qrScannerPopupButtonPressed(_:)), for: .touchUpInside)
Expand Down Expand Up @@ -123,7 +124,7 @@ class HITabBarController: UITabBarController {
}

func createPath() -> CGPath {
let radius: CGFloat = 32.0
let radius: CGFloat = 43.0
let smallRadius: CGFloat = 8.0
let path = UIBezierPath()

Expand Down Expand Up @@ -190,3 +191,6 @@ class HITabBarController: UITabBarController {
}
}
}



56 changes: 30 additions & 26 deletions HackIllinois/UI/HIAppearance.swift
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@


//
// HIAppearance.swift
// HackIllinois
Expand Down Expand Up @@ -97,8 +99,11 @@ struct HIAppearance: Equatable {
private static let darkBlue = #colorLiteral(red: 0.05098039216, green: 0.2196078431, blue: 0.4862745098, alpha: 1); private static let magenta = #colorLiteral(red: 0.9960784314, green: 0.4392156863, blue: 0.5960784314, alpha: 1)
private static let darkBlueGreen = #colorLiteral(red: 0.03137254902, green: 0.5450980392, blue: 0.7568627451, alpha: 1); private static let vegetarian = #colorLiteral(red: 0.2156862745, green: 0.8705882353, blue: 0.8039215686, alpha: 1)
private static let vegan = #colorLiteral(red: 0.9882352941, green: 0.862745098, blue: 0.5607843137, alpha: 1); private static let glutenfree = #colorLiteral(red: 0.9764705882, green: 0.5843137255, blue: 0.3411764706, alpha: 1)
private static let lactoseintolerant = #colorLiteral(red: 1, green: 1, blue: 1, alpha: 1); private static let other = #colorLiteral(red: 0.9960784314, green: 0.6392156863, blue: 0.6666666667, alpha: 1); private static let none = #colorLiteral(red: 0.1137254902, green: 0.1490196078, blue: 0.2666666667, alpha: 1)
private static let profileBaseText = #colorLiteral(red: 0.1137254902, green: 0.1490196078, blue: 0.2666666667, alpha: 1); private static let yellowGreen = #colorLiteral(red: 0.7882352941, green: 0.8117647059, blue: 0.462745098, alpha: 1)
private static let lactoseintolerant = #colorLiteral(red: 1, green: 1, blue: 1, alpha: 1)
private static let other = #colorLiteral(red: 0.9960784314, green: 0.6392156863, blue: 0.6666666667, alpha: 1)
private static let none = #colorLiteral(red: 0.1137254902, green: 0.1490196078, blue: 0.2666666667, alpha: 1)
private static let profileBaseText = #colorLiteral(red: 0.1137254902, green: 0.1490196078, blue: 0.2666666667, alpha: 1)
private static let yellowGreen = #colorLiteral(red: 0.7882352941, green: 0.8117647059, blue: 0.462745098, alpha: 1)
private static let green = #colorLiteral(red: 0.4705882353, green: 0.6745098039, blue: 0.2588235294, alpha: 1)
// Hack 2024 color palette
private static let icyBlue = #colorLiteral(red: 0.8235294118, green: 0.968627451, blue: 1, alpha: 1); private static let bLightYellow = #colorLiteral(red: 1, green: 0.9803921569, blue: 0.8, alpha: 1)
Expand All @@ -108,25 +113,24 @@ struct HIAppearance: Equatable {
private static let lightBlue = #colorLiteral(red: 0.7176470588, green: 0.8392156863, blue: 0.8392156863, alpha: 1); private static let teal = #colorLiteral(red: 0.537254902, green: 0.7450980392, blue: 0.6666666667, alpha: 1)
private static let medTeal = #colorLiteral(red: 0.4274509804, green: 0.6117647059, blue: 0.6274509804, alpha: 1); private static let darkGreen = #colorLiteral(red: 0.05098039216, green: 0.2470588235, blue: 0.2549019608, alpha: 1)
private static let darkestGreen = #colorLiteral(red: 0.02745098039, green: 0.1725490196, blue: 0.1803921569, alpha: 1); private static let lightBrown = #colorLiteral(red: 0.5882352941, green: 0.2980392157, blue: 0.1019607843, alpha: 1)
private static let medBrown = #colorLiteral(red: 0.4588235294, green: 0.1960784314, blue: 0.07843137255, alpha: 1); private static let brown = #colorLiteral(red: 0.4, green: 0.168627451, blue: 0.07450980392, alpha: 1)
private static let darkBrown = #colorLiteral(red: 0.337254902, green: 0.1411764706, blue: 0.06666666667, alpha: 1); private static let lightPink = #colorLiteral(red: 0.9215686275, green: 0.8235294118, blue: 0.8235294118, alpha: 1)
private static let pink = #colorLiteral(red: 0.7921568627, green: 0.431372549, blue: 0.568627451, alpha: 1); private static let darkPink = #colorLiteral(red: 0.7882352941, green: 0.2039215686, blue: 0.3529411765, alpha: 1)
private static let lightPurple = #colorLiteral(red: 0.662745098, green: 0.4666666667, blue: 0.6705882353, alpha: 1); private static let indigo = #colorLiteral(red: 0.3568627451, green: 0.3803921569, blue: 0.6078431373, alpha: 1)
private static let darknavy = #colorLiteral(red: 0.1137254902, green: 0.1490196078, blue: 0.2666666667, alpha: 1); private static let white = #colorLiteral(red: 1, green: 1, blue: 1, alpha: 1); private static let black = #colorLiteral(red: 0, green: 0, blue: 0, alpha: 1)
private static let buttonPink = #colorLiteral(red: 0.862745098, green: 0.5411764706, blue: 0.662745098, alpha: 1); private static let buttonTeal = #colorLiteral(red: 0.6470588235, green: 0.8549019608, blue: 0.8352941176, alpha: 1)
private static let buttonYellow = #colorLiteral(red: 1, green: 0.7882352941, blue: 0.3568627451, alpha: 1); private static let offWhite = #colorLiteral(red: 1, green: 0.9725490196, blue: 0.9607843137, alpha: 1)
private static let medBrown = #colorLiteral(red: 0.4588235294, green: 0.1960784314, blue: 0.07843137255, alpha: 1)
private static let brown = #colorLiteral(red: 0.4, green: 0.168627451, blue: 0.07450980392, alpha: 1)
private static let darkBrown = #colorLiteral(red: 0.337254902, green: 0.1411764706, blue: 0.06666666667, alpha: 1)
private static let lightPink = #colorLiteral(red: 0.9215686275, green: 0.8235294118, blue: 0.8235294118, alpha: 1)
private static let pink = #colorLiteral(red: 0.7921568627, green: 0.431372549, blue: 0.568627451, alpha: 1)
private static let darkPink = #colorLiteral(red: 0.7882352941, green: 0.2039215686, blue: 0.3529411765, alpha: 1)
private static let lightPurple = #colorLiteral(red: 0.662745098, green: 0.4666666667, blue: 0.6705882353, alpha: 1)
private static let indigo = #colorLiteral(red: 0.3568627451, green: 0.3803921569, blue: 0.6078431373, alpha: 1)
private static let darknavy = #colorLiteral(red: 0.1137254902, green: 0.1490196078, blue: 0.2666666667, alpha: 1)
private static let transparent = #colorLiteral(red: 1, green: 1, blue: 1, alpha: 0)
private static let white = #colorLiteral(red: 1, green: 1, blue: 1, alpha: 1)
private static let black = #colorLiteral(red: 0, green: 0, blue: 0, alpha: 1)
private static let buttonPink = #colorLiteral(red: 0.862745098, green: 0.5411764706, blue: 0.662745098, alpha: 1)
private static let buttonTeal = #colorLiteral(red: 0.6470588235, green: 0.8549019608, blue: 0.8352941176, alpha: 1)
private static let buttonYellow = #colorLiteral(red: 1, green: 0.7882352941, blue: 0.3568627451, alpha: 1)
private static let offWhite = #colorLiteral(red: 1, green: 0.9725490196, blue: 0.9607843137, alpha: 1)
private static let transparent2 = #colorLiteral(red: 1, green: 1, blue: 1, alpha: 0)
// Hack 2025 color palette (color name + hex code)
public static let rawSienna = #colorLiteral(red: 0.8705882353, green: 0.5568627451, blue: 0.2705882353, alpha: 1) // #DE8E45
public static let neptune = #colorLiteral(red: 0.5176470588, green: 0.737254902, blue: 0.7254901961, alpha: 1) // #84BCB9
public static let lightningYellow = #colorLiteral(red: 0.9764705882, green: 0.7568627451, blue: 0.1490196078, alpha: 1) // #F9C126
public static let copper = #colorLiteral(red: 0.7725490196, green: 0.4039215686, blue: 0.2470588235, alpha: 1) // #C5673F
public static let metallicCopper = #colorLiteral(red: 0.4274509804, green: 0.1607843137, blue: 0.1019607843, alpha: 1) // #6D291A
public static let yellowOrange = #colorLiteral(red: 1.0, green: 0.6980392157, blue: 0.2431372549, alpha: 1) // #FFB23E
public static let muleFawn = #colorLiteral(red: 0.537254902, green: 0.2470588235, blue: 0.1843137255, alpha: 1) // #893F2F
public static let elephant = #colorLiteral(red: 0.05098039216, green: 0.2470588235, blue: 0.2549019608, alpha: 1) // #0D3F41
public static let transparent = #colorLiteral(red: 1, green: 1, blue: 1, alpha: 0)
public static let doveGray = #colorLiteral(red: 0.4235294118, green: 0.4235294118, blue: 0.4235294118, alpha: 1) // #6C6C6C
private static let navBarYellow = #colorLiteral(red: 0.9603472352, green: 0.9405072331, blue: 0.8672463298, alpha: 1)

private static var statusBarWhite: UIStatusBarStyle {
return .lightContent
Expand All @@ -151,10 +155,10 @@ struct HIAppearance: Equatable {
contentBackground: offWhite,
overlay: #colorLiteral(red: 0.05882352941, green: 0.07058823529, blue: 0.1803921569, alpha: 0.33),
frostedTint: #colorLiteral(red: 0, green: 0.3411764706, blue: 0.462745098, alpha: 0.6),
codePopupTab: white,
codePopupTab: navBarYellow,
greenCodePopupTab: darkestGreen,
navbarBackground: darkGreen,
navbarTabTint: white,
navbarBackground: navBarYellow,
navbarTabTint: black,
profileContainerTint: yellowWhite,
preferredStatusBarStyle: statusBarBlack,
scrollViewIndicatorStyle: .black,
Expand Down Expand Up @@ -228,10 +232,10 @@ struct HIAppearance: Equatable {
contentBackground: offWhite,
overlay: #colorLiteral(red: 0.05882352941, green: 0.07058823529, blue: 0.1803921569, alpha: 0.33),
frostedTint: #colorLiteral(red: 0, green: 0.3411764706, blue: 0.462745098, alpha: 0.6),
codePopupTab: white,
codePopupTab: navBarYellow,
greenCodePopupTab: darkestGreen,
navbarBackground: darkGreen,
navbarTabTint: white,
navbarBackground: navBarYellow,
navbarTabTint: black,
profileContainerTint: yellowWhite,
preferredStatusBarStyle: statusBarBlack,
scrollViewIndicatorStyle: .black,
Expand Down