mirror of
https://github.com/Novaloop-AG/element-x-ios.git
synced 2026-11-04 01:20:12 +00:00
Update the foreground colour of BigIcon's default style. (#4871)
* Update the foreground colour of BigIcon's default style. * Bump the design tokens and fix a bug in the inspector app.
This commit is contained in:
@@ -5,8 +5,8 @@
|
||||
"kind" : "remoteSourceControl",
|
||||
"location" : "https://github.com/element-hq/compound-design-tokens.git",
|
||||
"state" : {
|
||||
"revision" : "bd38d61c1af0b7a786f3a7d4bf1d0afa3da86870",
|
||||
"version" : "6.4.2"
|
||||
"revision" : "3f7b00aa7e3724cd26be9a0913430191e3afd656",
|
||||
"version" : "6.4.3"
|
||||
}
|
||||
},
|
||||
{
|
||||
|
||||
@@ -31,6 +31,8 @@ enum Screen: Hashable, View {
|
||||
case textFields
|
||||
/// The `BigIcon` component.
|
||||
case bigIcon
|
||||
/// The `TitleAndIcon` component.
|
||||
case titleAndIcon
|
||||
|
||||
/// The system's confirmation dialog component
|
||||
case actionSheet
|
||||
@@ -56,6 +58,7 @@ enum Screen: Hashable, View {
|
||||
case .buttons: ButtonsScreen()
|
||||
case .textFields: EmptyView()
|
||||
case .bigIcon: BigIconScreen()
|
||||
case .titleAndIcon: TitleAndIconScreen()
|
||||
|
||||
case .actionSheet: ActionSheetScreen()
|
||||
case .alert: AlertScreen()
|
||||
|
||||
@@ -48,7 +48,7 @@ struct SidebarList: View {
|
||||
NavigationLink(value: Screen.bigIcon) {
|
||||
Label("Big Icon", systemImage: "square.dashed")
|
||||
}
|
||||
NavigationLink(value: Screen.bigIcon) {
|
||||
NavigationLink(value: Screen.titleAndIcon) {
|
||||
Label("Title & Icon", systemImage: "richtext.page")
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user