Skip to content

Commit afe3c5c

Browse files
committed
Add visual examples to foundation docs
1 parent 81a7c87 commit afe3c5c

File tree

6 files changed

+492
-163
lines changed

6 files changed

+492
-163
lines changed

docs/foundations/README.md

Lines changed: 28 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -6,11 +6,33 @@ title: Overview
66

77
# Foundations
88

9-
> **Work in Progress** - This section is under development.
10-
119
Design tokens for building consistent BCC applications.
1210

13-
- [Color](./colors.md) - Semantic color tokens
14-
- [Typography](./typography.md) - Fonts and text styles
15-
- [Spacing](./spacing.md) - Consistent spacing scale
16-
- [Dark mode](./dark-mode.md) - Theme switching
11+
## Pages
12+
13+
| Token | Description |
14+
|-------|-------------|
15+
| [Color](./colors.md) | Text, icon, border, background, and accent colors |
16+
| [Typography](./typography.md) | Font family, heading and body scales |
17+
| [Spacing](./spacing.md) | Padding, margin, and gap scale |
18+
| [Elevation](./elevation.md) | Surface hierarchy and shadows |
19+
| [Dark Mode](./dark-mode.md) | Theme switching |
20+
21+
## Quick Reference
22+
23+
```html
24+
<!-- Colors -->
25+
<p class="text-default">Default text</p>
26+
<div class="bg-elevation-surface-raised-default">Card</div>
27+
<span class="text-brand">BCC brand color</span>
28+
29+
<!-- Typography -->
30+
<h1 class="text-heading-2xl">Page Title</h1>
31+
<p class="text-body-md">Body text</p>
32+
33+
<!-- Spacing -->
34+
<div class="p-200 gap-100">16px padding, 8px gap</div>
35+
36+
<!-- Elevation -->
37+
<div class="bg-elevation-surface-raised-default shadow-raised">Card</div>
38+
```

0 commit comments

Comments
 (0)