Sha256: a9f9093ded80d43165fc76660a3c9184c7561e74cd305325663d1a9e77dbaaaa
Contents?: true
Size: 868 Bytes
Versions: 1348
Compression:
Stored size: 868 Bytes
Contents
![card-background-colors](https://github.com/powerhome/playbook/assets/92755007/9b9a6519-0f79-4d8c-a58a-ea5799f9e679) ```swift VStack(alignment: .leading, spacing: Spacing.small) { PBCard { Text(text).pbFont(.body) } PBCard(backgroundColor: .background(.light)) { Text("Light").pbFont(.body, color: .text(.light)) } PBCard(backgroundColor: .background(.dark)) { Text("Dark").pbFont(.body, color: .text(.light)) } PBCard(backgroundColor: .product(.product1, category: .background)) { Text("Product 1 Background").pbFont(.body, color: .white) } PBCard(backgroundColor: .product(.product7, category: .highlight)) { Text("Product 7 Highlight").pbFont(.body, color: .white) } PBCard(backgroundColor: .product(.product2, category: .highlight)) { Text("Product 2 Highlight").pbFont(.body, color: .white) } } ```
Version data entries
1,348 entries across 1,348 versions & 2 rubygems