CSC-105

LibraryLook and Feel

Look and Feel

πŸ“† Today

  • Today:Styles Lab - turn a style guide into a design system, live
  • Project 5: Look and Feel 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)

How do you know what you want?

"Calculate it"

Your agent can build almost anything you can describe.

Production is no longer the bottleneck

From β€œCan I build it?” to β€œDo I know what I want?”

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

How styling works

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

Two languages

<button class="button primary">Reserve</button>
  • HTML: what is on the page
  • CSS: how it looks

CSS

.button.primary {
  background: #f2b33d;
  border-radius: 999px;
}
  • Selector: which things (.button.primary)
  • Property: what to change (background)
  • Value: how (#f2b33d)

Tokens (variables)

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

.button.primary {
  background: var(--color-primary);
  border-radius: var(--radius-pill);
}
Style guide(words)tokens.css(values)components.css(buttons, cards, modals)Screens(your app)

Changing the variables changes it everywhere

Re-usable style choices.

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

Styles Lab

Open the Styles Lab

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

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

Start now

Project 5: Look and Feel

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