# Look and Feel

---

# 📆 Today

- Today:Styles Lab - turn a style guide into a design system, live
- [Project 5: Look and Feel](../../projects/05/project-5.project.md) due **Thursday, October 1, at 2:30pm**
- Thursday, October 8: midterm project due at 2:30pm; demos and a short exam review
- Tuesday, October 13: fall break — no class
- Thursday, October 15: midterm exam (on paper, in class, one hour)

^ Product design terms from Project 5 are on the exam: UI, UX, screen, user flow, wireframe, mockup, moodboard, style guide, design system, component, modal, empty state, responsive, visual hierarchy. Practice them in the [glossary](../../resources/course.glossary.md).

---

<!-- id: this-week-in-ai -->

<x-sfx-cue src="../assets/this-week-in-ai-theme.mp3" on="player:block-enter" />

![@image(fit=contain).background](../assets/this-week-in-ai.png)

---

[@embed openai dots](https://x.com/OpenAI/status/2104984504133918973?s=20)

---

[@embed gpt-6.1 sol](https://x.com/OpenAI/status/2104986129686741046?s=20)

---

[@embed bank run](https://x.com/JasonYanowitz/status/2104213040937812262?s=20)

---

[@embed claude song](https://x.com/aj_dev_smith/status/2102575577563570450?s=20)

---

<!--
play:
  variant: section
-->

# How do you know what you want?

---

<!--
play:
  variant: fact
-->

# "Calculate it"

Your agent can build almost anything you can describe.

^ A calculator made arithmetic cheap, so the valuable skill became knowing which problem to set up. Agents do the same thing to building software.

---

<!--
play:
  variant: fact
-->

# Production is no longer the bottleneck

From “Can I build it?” to “Do I know what I want?”

^ When building is cheap, the hard part is knowing what you want before you ask, and recognizing it when you see it. “Make it look better” fails because you do not know what better is yet.

---

<!--
play:
  variant: fact
-->

# It's a skill issue.

Taste is a skill, and skills can be learned but only through active participation in the process (e.g. staying in the loop).

---

# How to train taste

1. **Collect** references you like
2. **Name** what you like about each one
3. **Compare** options side by side
4. **Decide**, and say why

^ This is the Project 5 loop: references and notes → moodboard → mockups and style guide → your design notes. The agent can make options. Only you can decide.

---

<!--
play:
  variant: section
-->

# How styling works

Looking under-the-hood and getting our hands nerdy.

---

# Two languages

```html
<button class="button primary">Reserve</button>
```

- **HTML:** _what_ is on the page
- **CSS:** _how_ it looks

^ HTML is the structure: a button that says Reserve. CSS never changes what is on the page. It only changes how it looks.

---

# CSS

```css
.button.primary {
  background: #f2b33d;
  border-radius: 999px;
}
```

- **Selector:** which things (`.button.primary`)
- **Property:** what to change (`background`)
- **Value:** how (`#f2b33d`)

^ Read it aloud: “Every primary button gets a gold background and fully rounded corners.”

---

# Tokens (variables)

```css
:root {
  --color-primary: #f2b33d;
  --radius-pill: 999px;
}

.button.primary {
  background: var(--color-primary);
  border-radius: var(--radius-pill);
}
```

^ A token names a decision by its role, not its value. `--color-primary` means “the color of the main action.” Your `src/system/tokens.css` is a list of these decisions.

---

```mermaid
flowchart LR
  G["Style guide<br/>(words)"] --> T["tokens.css<br/>(values)"]
  T --> C["components.css<br/>(buttons, cards, modals)"]
  C --> S["Screens<br/>(your app)"]
```

^ Words become values, values become components, components become screens. Each layer uses only the one before it.

---

<!--
play:
  variant: fact
-->

# Changing the variables changes it everywhere

Re-usable style choices.

---

<!--
play:
  variant: fact
-->

# A style guide is a spec your agent can use to build.

---

# Styles Lab

[Open the Styles Lab](../../labs/styles.lab.md)

---

# Try it

1. Bring your project: brief, `design/style-guide.md` (or **Draft my style guide**), references, and app screenshots
2. Generate, then **look** at your redesigned screen like a user
3. Change **one rule** in the Markdown and generate again
4. Download the kit and apply it to your project

^ The lesson is to change the spec, not the output. If the result is wrong, the guide was vague or wrong. Fix the words.

---

<!--
play:
  variant: section
-->

# Work time

---

# The Project 5 loop

1. References → `design/moodboard.html`
2. Design system → `src/system/` + `design/style-guide.html`
3. User flow → `design/user-flow.html`
4. Apply it one screen at a time, and test each change
5. Write `design-notes.md` yourself
6. ZIP and upload by **Thursday at 2:30pm**

^ Haven't started? Start with 3–6 references and a line of notes for each before you prompt anything.

---

# Start now

[Project 5: Look and Feel](../../projects/05/project-5.project.md)

Haven't started? Collect 3–6 references first.
