Skip to content

Commit

Permalink
update preview
Browse files Browse the repository at this point in the history
  • Loading branch information
reez committed Sep 4, 2023
1 parent cc94841 commit d6d55d0
Showing 1 changed file with 0 additions and 137 deletions.
137 changes: 0 additions & 137 deletions Sources/BitcoinUI/Images.swift
Original file line number Diff line number Diff line change
Expand Up @@ -77,23 +77,20 @@ struct HardwareIllustrationsView: View {
HStack {
IconView(named: "bitbox")
IconView(named: "blockstream-jade")
IconView(named: "cardwallet")
IconView(named: "cobo-vault")
}
.padding(.horizontal, .wallet_grid_horizontal_10())
.padding(.vertical, .wallet_grid_vertical_20())

HStack {
IconView(named: "coldcard")
IconView(named: "cypherwheel")
IconView(named: "foundation-passport")
IconView(named: "generic-hardware-wallet")
}
.padding(.horizontal, .wallet_grid_horizontal_10())
.padding(.vertical, .wallet_grid_vertical_20())

HStack {
IconView(named: "generic-paper-wallet")
IconView(named: "keepkey")
IconView(named: "ledger-nano")
IconView(named: "opendime")
Expand All @@ -102,7 +99,6 @@ struct HardwareIllustrationsView: View {
.padding(.vertical, .wallet_grid_vertical_20())

HStack {
IconView(named: "satochip")
IconView(named: "seedplate")
IconView(named: "trezor-model-t")
IconView(named: "trezor-one")
Expand All @@ -120,146 +116,13 @@ struct HardwareIllustrationsView: View {
}
}

struct BitcoinIconsFilledView: View {
var body: some View {

ZStack {
Color(UIColor.systemBackground)

VStack {
Text("Icons Filled")
.underline()
.font(.largeTitle)
.fontWeight(.semibold)
.padding(.horizontal, .wallet_grid_horizontal_10())
.padding(.vertical, .wallet_grid_vertical_20())
.padding(.top, .wallet_grid_vertical_20())
.padding(.top, .wallet_grid_vertical_20())

HStack {
IconView(named: "bitcoin-circle-filled")
IconView(named: "bitcoin-filled")
IconView(named: "block-filled")
IconView(named: "devices-filled")
}
.padding(.horizontal, .wallet_grid_horizontal_10())
.padding(.vertical, .wallet_grid_vertical_20())

HStack {
IconView(named: "key-filled")
IconView(named: "lightning-filled")
IconView(named: "mining-filled")
IconView(named: "mnemonic-filled")
}
.padding(.horizontal, .wallet_grid_horizontal_10())
.padding(.vertical, .wallet_grid_vertical_20())

HStack {
IconView(named: "node-1-connection-filled")
IconView(named: "node-2-connections-filled")
IconView(named: "node-3-connections-filled")
IconView(named: "node-filled")
}
.padding(.horizontal, .wallet_grid_horizontal_10())
.padding(.vertical, .wallet_grid_vertical_20())

HStack {
IconView(named: "node-hardware-filled")
IconView(named: "two-keys-filled")
IconView(named: "wallet-filled")
IconView(named: "")
}
.padding(.horizontal, .wallet_grid_horizontal_10())
.padding(.vertical, .wallet_grid_vertical_20())

}
.padding(.horizontal, .wallet_grid_horizontal_10())
.padding(.vertical, .wallet_grid_vertical_20())

}
.edgesIgnoringSafeArea(.all)

}
}

struct BitcoinIconsOutlineView: View {
var body: some View {

ZStack {
Color(UIColor.systemBackground)

VStack {
Text("Icons Outline")
.underline()
.font(.largeTitle)
.fontWeight(.semibold)
.padding(.horizontal, .wallet_grid_horizontal_10())
.padding(.vertical, .wallet_grid_vertical_20())
.padding(.top, .wallet_grid_vertical_20())
.padding(.top, .wallet_grid_vertical_20())

HStack {
IconView(named: "bitcoin-circle-outline")
IconView(named: "bitcoin-outline")
IconView(named: "block-outline")
IconView(named: "devices-outline")
}
.padding(.horizontal, .wallet_grid_horizontal_10())
.padding(.vertical, .wallet_grid_vertical_20())

HStack {
IconView(named: "key-outline")
IconView(named: "lightning-outline")
IconView(named: "mining-outline")
IconView(named: "mnemonic-outline")
}
.padding(.horizontal, .wallet_grid_horizontal_10())
.padding(.vertical, .wallet_grid_vertical_20())

HStack {
IconView(named: "node-1-connection-outline")
IconView(named: "node-2-connections-outline")
IconView(named: "node-3-connections-outline")
IconView(named: "node-outline")
}
.padding(.horizontal, .wallet_grid_horizontal_10())
.padding(.vertical, .wallet_grid_vertical_20())

HStack {
IconView(named: "node-hardware-outline")
IconView(named: "two-keys-outline")
IconView(named: "wallet-outline")
IconView(named: "")
}
.padding(.horizontal, .wallet_grid_horizontal_10())
.padding(.vertical, .wallet_grid_vertical_20())

}
.padding(.horizontal, .wallet_grid_horizontal_10())
.padding(.vertical, .wallet_grid_vertical_20())

}
.edgesIgnoringSafeArea(.all)

}
}

struct IconsView_Previews: PreviewProvider {
static var previews: some View {
Group {
HardwareIllustrationsView()
.environment(\.colorScheme, .light)
HardwareIllustrationsView()
.environment(\.colorScheme, .dark)
BitcoinIconsFilledView()
.environment(\.colorScheme, .light)
BitcoinIconsFilledView()
.environment(\.colorScheme, .dark)
BitcoinIconsOutlineView()
.environment(\.colorScheme, .light)
BitcoinIconsOutlineView()
.environment(\.colorScheme, .dark)
}

}
}

0 comments on commit d6d55d0

Please sign in to comment.