CSC-105

LibraryCourse style guide

Course style guide

This site has a design system, like the one you built in Project 5: tokens for color, type, space, and shape, and a small set of components built only from those tokens. Every example on this page is live. It uses the site’s real styles and components, so this page changes when the site does.

Each section names where its styles live, so anyone changing the site (or an agent helping them) knows which file to edit.

Color

  • --pmx-color-bgPage background
  • --pmx-color-surfaceCards and panels
  • --pmx-color-fgText
  • --pmx-color-mutedSecondary text, dates
  • --pmx-color-borderLines and outlines
  • --pmx-color-accentPrimary buttons, this week, today
  • --pmx-color-linkLinks in text
  • --csc-tintSoft highlight: due dates, selected items

Text on the accent color uses --pmx-color-on-accent. Every color has a light and a dark value; switch the theme with the button at the bottom left to see both.

Where it lives: the theme in paths/index.md (PathMX's synthwave preset, as in PathMX Labs, with a quieter navy) and the course tokens in paths/styles/theme.css.

Type

Thinking With Machines

Week 7 · October 5–9

Make your midterm project work end to end

Headings are Bricolage Grotesque. Body text is Atkinson Hyperlegible Next at a comfortable size, about 70 characters per line, so it reads easily on a laptop or a phone.

Label · small caps for section names

Geist Mono is for code and for small uppercase instrument labels, such as the brand, table headers and the footer.

Where it lives: paths/styles/theme.css (fonts and measure).

Shape and space

--csc-radius-sm --csc-radius-md --csc-radius-lg --csc-radius-pill
1 2 3 4 5 6

Small things (fields) use md, cards and panels use lg, and buttons and chips are pills. Spacing steps are --csc-space-1 through -6.

Where it lives: paths/styles/theme.css.

Open the schedule A text link

One primary button per screen. Buttons say what happens (“Save answer”, “Open Studio”), not “Click here”.

Where it lives: PathMX buttons (.pmx-button), and the shared course button for Input, submissions, and guide completion in paths/styles/styles.css.

Fields

Where it lives: paths/styles/styles.css (course controls).

Callouts

Cards

Project 6: Hill Climb Climb your midterm project in the Studio, one tested change at a time, and submit the version you will demo. Project

Where it lives: PathMX link cards.

Schedule week

The schedule and home page show each week as a card: one row per class day, with deadlines as chips. “This week” and “Today” come from the date.

Where it lives: plugins/course-schedule/ (the weeks come from Course weeks; deadlines come from each project).

Studio launcher

An assignment that uses the Studio shows one card with the student’s status and one button.

Hill Climb Studio Not started yet
Start in the Studio
Sister Connections 5 of 8 goals reached
Open Studio
Sister Connections Submitted Thu, Oct 8 at 1:12 PM
Open Studio

Where it lives: plugins/studio/ (the launcher) and plugins/studio/page.css.

Writing on this site

  • Use plain words and short sentences. Say what to do, then why.
  • Name buttons and links by what they do or where they go.
  • Dates read like “Thu, Oct 8, 2:30 pm”. Times are always Eastern.
  • Write to students as “you”. The coach and the Studio never write work students are graded on.