Skip to content

Commit e66bb99

Browse files
committed
wip: ui updates
1 parent 9831ec8 commit e66bb99

File tree

2,178 files changed

+223750
-2797
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

2,178 files changed

+223750
-2797
lines changed

FirebaseAuthSwiftUI/.gitignore

Lines changed: 0 additions & 8 deletions
This file was deleted.

FirebaseAuthSwiftUI/Package.resolved

Lines changed: 0 additions & 132 deletions
This file was deleted.

FirebaseAuthSwiftUI/Package.swift

Lines changed: 0 additions & 31 deletions
This file was deleted.

FirebaseAuthSwiftUI/Sources/FirebaseAuthSwiftUI/FirebaseAuthUI.swift

Lines changed: 0 additions & 10 deletions
This file was deleted.

FirebaseAuthSwiftUI/Tests/FirebaseAuthSwiftUITests/FirebaseAuthUITests.swift

Lines changed: 0 additions & 12 deletions
This file was deleted.

samples/auth-swiftui/AuthSwiftUIExample/Configuration/AuthProvider.swift renamed to FirebaseSwiftUI/FirebaseAuthSwiftUI/Sources/FirebaseAuthView/Configuration/AuthProvider.swift

Lines changed: 10 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,16 @@
1+
// Copyright 2025 Google LLC
12
//
2-
// AuthProvider.swift
3-
// AuthSwiftUIExample
3+
// Licensed under the Apache License, Version 2.0 (the "License");
4+
// you may not use this file except in compliance with the License.
5+
// You may obtain a copy of the License at
46
//
5-
// Created by Ademola Fadumo on 19/10/2025.
7+
// http://www.apache.org/licenses/LICENSE-2.0
68
//
9+
// Unless required by applicable law or agreed to in writing, software
10+
// distributed under the License is distributed on an "AS IS" BASIS,
11+
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12+
// See the License for the specific language governing permissions and
13+
// limitations under the License.
714

815
import SwiftUI
916
import FirebaseAuth
Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
// Copyright 2025 Google LLC
2+
//
3+
// Licensed under the Apache License, Version 2.0 (the "License");
4+
// you may not use this file except in compliance with the License.
5+
// You may obtain a copy of the License at
6+
//
7+
// http://www.apache.org/licenses/LICENSE-2.0
8+
//
9+
// Unless required by applicable law or agreed to in writing, software
10+
// distributed under the License is distributed on an "AS IS" BASIS,
11+
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12+
// See the License for the specific language governing permissions and
13+
// limitations under the License.
14+
15+
import SwiftUI
16+
17+
extension Color {
18+
init(hex: Int, opacity: Double = 1.0) {
19+
let red = Double((hex & 0xFF0000) >> 16) / 255.0
20+
let green = Double((hex & 0xFF00) >> 8) / 255.0
21+
let blue = Double((hex & 0xFF) >> 0) / 255.0
22+
self.init(.sRGB, red: red, green: green, blue: blue, opacity: opacity)
23+
}
24+
}

samples/auth-swiftui/AuthSwiftUIExample/Resources/Assets.xcassets/AccentColor.colorset/Contents.json renamed to FirebaseSwiftUI/FirebaseAuthSwiftUI/Sources/FirebaseAuthView/Resources/Assets.xcassets/AccentColor.colorset/Contents.json

File renamed without changes.

samples/auth-swiftui/AuthSwiftUIExample/Resources/Assets.xcassets/AppIcon.appiconset/Contents.json renamed to FirebaseSwiftUI/FirebaseAuthSwiftUI/Sources/FirebaseAuthView/Resources/Assets.xcassets/AppIcon.appiconset/Contents.json

File renamed without changes.

samples/auth-swiftui/AuthSwiftUIExample/Resources/Assets.xcassets/Contents.json renamed to FirebaseSwiftUI/FirebaseAuthSwiftUI/Sources/FirebaseAuthView/Resources/Assets.xcassets/Contents.json

File renamed without changes.

0 commit comments

Comments
 (0)