Remove DesignKit package (#1886)

- Move button styles to Compound
- Rename text style to AuthenticationTextStyle as its only in the auth flow.
- Add the brand colour locally for now until its included in Compound.

* Update snapshots.

---------

Co-authored-by: Stefan Ceriu <stefan.ceriu@gmail.com>
This commit is contained in:
Doug
2023-10-12 15:45:27 +01:00
committed by GitHub
parent 3838ca1064
commit 2c5662a278
60 changed files with 186 additions and 667 deletions
@@ -92,7 +92,7 @@ struct CreateRoomScreen: View {
.focused($focus, equals: .name)
.accessibilityIdentifier(A11yIdentifiers.createRoomScreen.roomName)
.padding(EdgeInsets(top: 10, leading: 16, bottom: 10, trailing: 16))
.background(Color.element.formRowBackground)
.background(Color.compound.bgCanvasDefaultLevel1)
.clipShape(RoundedRectangle(cornerRadius: 8))
}
}
@@ -188,7 +188,7 @@ struct CreateRoomScreen: View {
.padding(.top, 40)
}
.listRowSeparatorTint(.compound.borderDisabled)
.listRowBackground(Color.element.formRowBackground)
.listRowBackground(Color.compound.bgCanvasDefaultLevel1)
}
private var createButton: some View {