An EmberJS prototype sandbox and design system microsite built on the Alloy Design System V2.1.
Designers use branches of this repo to build and share interactive prototypes using pre-built SCSS classes and Ember components that match the Copper design language.
npm install
npm start # runs ember serve at http://localhost:4200The build uses ember-cli-sass — SCSS is compiled automatically.
app/
├── styles/
│ ├── app.scss # Main entry — imports everything
│ ├── _variables.scss # Design tokens (colors, type, spacing, effects)
│ ├── _reset.scss # Minimal CSS reset
│ ├── _typography.scss # Heading + body type classes
│ ├── _utilities.scss # Spacing, flex, display utilities
│ ├── _prototype.scss # Index page placeholder styles
│ ├── components/
│ │ ├── _button.scss # .btn, .btn-primary, .btn-group, ...
│ │ ├── _tag.scss # .tag, .tag-status, .badge
│ │ ├── _form.scss # .form-control, .checkbox, .radio, .toggle
│ │ ├── _avatar.scss # .avatar, .avatar-group, .avatar-with-text
│ │ ├── _table.scss # .table, .table-wrapper, cell types
│ │ ├── _card.scss # .card, .card-elevated, .card-flat
│ │ ├── _nav.scss # .sidebar-nav, .tab-nav, .breadcrumb, .topbar
│ │ ├── _dropdown.scss # .dropdown-panel, .dropdown-item
│ │ ├── _modal.scss # .modal, .modal-backdrop
│ │ └── _toast.scss # .alert, .toast
│ └── docs/
│ └── _docs-layout.scss # Design system microsite layout
│
├── components/cu/ # Ember components (Cu:: namespace)
│ ├── button.hbs
│ ├── tag.hbs
│ ├── status-tag.hbs
│ ├── badge.hbs
│ ├── avatar.hbs
│ ├── avatar-with-text.hbs
│ ├── input.hbs
│ ├── checkbox.hbs
│ ├── card.hbs
│ └── alert.hbs
│
└── templates/
├── index.hbs # Prototype sandbox placeholder (/)
├── design-system.hbs # Design system shell layout
└── design-system/
├── index.hbs # Overview (/design-system)
├── colors.hbs # Color palette
├── typography.hbs # Type scale
├── spacing.hbs # Spacing & radius
└── components/
├── buttons.hbs
├── tags.hbs
├── forms.hbs
├── avatars.hbs
├── cards.hbs
├── tables.hbs
├── navigation.hbs
└── overlays.hbs
| URL | Description |
|---|---|
/ |
Prototype sandbox — replace with your prototype |
/design-system |
Overview |
/design-system/colors |
Color palette |
/design-system/typography |
Type scale |
/design-system/spacing |
Spacing & radius |
/design-system/components |
Component index |
/design-system/components/buttons |
Buttons |
/design-system/components/tags |
Tags & Badges |
/design-system/components/forms |
Form controls |
/design-system/components/avatars |
Avatars |
/design-system/components/cards |
Cards |
/design-system/components/tables |
Tables |
/design-system/components/navigation |
Nav patterns |
/design-system/components/overlays |
Modal, dropdown, alert, toast |
- Create a new branch:
git checkout -b prototype/my-feature - Edit
app/templates/index.hbs— this is your prototype canvas - Use
Cu::*components and SCSS utility classes freely - Push and share the branch URL with your team
All tokens are in app/styles/_variables.scss.
| Variable | Value | Use |
|---|---|---|
$grape-purple |
#3b166a |
Primary brand / actions |
$black-3 |
#19092f |
Primary text |
$black-2 |
#5f5965 |
Secondary text |
$grey-2 |
#f6f6f6 |
Page background |
$green-7 |
#07a661 |
Success |
$red-7 |
#dc2626 |
Error / danger |
$scale-1 = 4px · $scale-2 = 8px · $scale-4 = 16px · $scale-6 = 24px · $scale-8 = 40px
Design system: Alloy Design System V2.1 (Figma)