Skip to content

Modernize the primo new scaffold to the current chassis #38

Open

Description

@elemdos

Context

primo new scaffolds a legacy template. #36 already removed the hand-authored _ids and added page-types/default/head.svelte; the rest is unchanged.

Remaining legacy bits:

  • Tokens --theme-primary / --theme-primary-dark / --theme-background / --theme-background-secondary / --theme-text / --theme-text-muted / --theme-border-color.
  • A subheadline + cta hero, rather than eyebrow/headline/body/primary/secondary.
  • No shared chassis classes (.shell, .section, .eyebrow, .button, .meta).
  • group: default (fine, but leaves a Default group in server.yaml).

Proposal

Emit the semantic tokens (--ink, --paper, --muted, --line, plus one accent), the shared chassis classes, DM Sans plus a display face, and hero fields that match the current starters. New starters then begin from the current convention instead of being overwritten.

Note

This is convention, not a correctness bug — a starter is free to restyle. Also, a report claimed new emits $schema: refs: it does not. $schema comes from primo pull writing .schemas/ and referencing it, not from new. Scope this to tokens/classes/hero.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions