-
Notifications
You must be signed in to change notification settings - Fork 19
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'release-20241118' of github.com:allenai/OLMoE.swift int…
…o separate-lambda
- Loading branch information
Showing
9 changed files
with
213 additions
and
107 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
38 changes: 38 additions & 0 deletions
38
OLMoE.swift/Assets.xcassets/Surface.colorset/Contents.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,38 @@ | ||
{ | ||
"colors" : [ | ||
{ | ||
"color" : { | ||
"color-space" : "srgb", | ||
"components" : { | ||
"alpha" : "1.000", | ||
"blue" : "0x57", | ||
"green" : "0x52", | ||
"red" : "0x10" | ||
} | ||
}, | ||
"idiom" : "universal" | ||
}, | ||
{ | ||
"appearances" : [ | ||
{ | ||
"appearance" : "luminosity", | ||
"value" : "dark" | ||
} | ||
], | ||
"color" : { | ||
"color-space" : "srgb", | ||
"components" : { | ||
"alpha" : "1.000", | ||
"blue" : "0x57", | ||
"green" : "0x52", | ||
"red" : "0x10" | ||
} | ||
}, | ||
"idiom" : "universal" | ||
} | ||
], | ||
"info" : { | ||
"author" : "xcode", | ||
"version" : 1 | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
// | ||
// TelegrafFont.swift | ||
// OLMoE.swift | ||
// | ||
// Created by Stanley Jovel on 11/18/24. | ||
// | ||
|
||
import SwiftUI | ||
|
||
extension Font { | ||
static func telegraf(_ weight: Weight = .regular, textStyle: TextStyle = .body) -> Font { | ||
custom("PPTelegraf-Regular", size: UIFont.preferredFont(forTextStyle: textStyle.uiTextStyle).pointSize) | ||
.weight(weight) | ||
} | ||
} |
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,33 @@ | ||
// | ||
// ToolBar.swift | ||
// OLMoE.swift | ||
// | ||
// Created by Thomas Jones on 11/18/24. | ||
// | ||
|
||
import SwiftUI | ||
|
||
struct AppToolbar<Content: View>: ToolbarContent { | ||
|
||
let leadingContent: Content | ||
|
||
init( | ||
@ViewBuilder leadingContent: () -> Content = { EmptyView() } | ||
) { | ||
self.leadingContent = leadingContent() | ||
} | ||
|
||
var body: some ToolbarContent { | ||
ToolbarItemGroup(placement: .navigationBarLeading) { | ||
self.leadingContent | ||
} | ||
|
||
ToolbarItem(placement: .principal) { | ||
Image("Splash") | ||
.resizable() | ||
.scaledToFit() | ||
.frame(width: 60, height: 60) // Adjust size as needed | ||
} | ||
} | ||
} | ||
|
Oops, something went wrong.