# Graphite product style kit

> Restyle a site, or build a new one, in a dark graphite style: layered surfaces, hairlines, pill buttons and product mock-ups drawn in code.

- Type: Lab Skill (downloadable Agent Skill)
- Category: [Web design](https://www.sandbase.ai/skills/web-design)
- Version: 0.2.0
- Runs online: yes
- Page: https://www.sandbase.ai/skills/web-design/linear-style-site

## What you get

Bring your existing site to restyle, or a short brief for a new one. The Skill returns design rules, tokens, components with light and dark themes, motion, a live gallery and a starter page; works with plain CSS.

## Install

Download the Skill package from https://www.sandbase.ai/skills/web-design/linear-style-site (sign-in required), unzip it into your agent's skills folder, then ask your agent to use it:

```text
/linear-style-site create a complete Style kit website for the fictional brand Northstar, in English. Invent a coherent brand brief, audience, products or services, content and calls to action suited to this template; clearly label invented facts as fictional and do not ask follow-up questions. Preserve the Skill's design style, replace all placeholders, run its validator and fix issues, then deliver a self-contained HTML page and a preview screenshot
```

## How it works

1. **Read the rules and gallery** Graphite Product Style Kit starts with three documents, references/design.md, components.md and patterns.md, which cover every token, component, state and page pattern. Open assets/pack/gallery.html in a browser to see every component and motion in both the dark graphite theme and the derived light theme, and pick from there rather than inventing new parts.
2. **Restyle pages onto sp- components** Copy assets/pack/ and assets/fonts/ side by side, then load tokens.css and components.css before the project's own styles, adding motion.js at the end of the body only if you want motion and behaviour. Replace buttons, cards, navigation and forms with sp- components and swap hard-coded colours, radii and shadows for tokens, keeping the site's content and routes.
3. **Check pages in both themes** For an existing project, test every restyled page at desktop and phone widths, in both themes and with reduced motion on, using the project's own build. For a one-page site from assets/template.html, run node scripts/inline-assets.mjs and then node scripts/validate.mjs work/index.html --mode site until it exits 0 on Node 18 or newer.

## FAQ

### What is Graphite Product Style Kit?

Graphite Product Style Kit is a plain-CSS component library in one dark style: a graphite canvas with stacked one-step-lighter surfaces, translucent hairline borders, one tight sans with negative tracking, white pill primary buttons and live product mocks as imagery. It restyles an existing site or builds a new one, and includes an optional example page.

### Does Graphite Product Style Kit need JavaScript?

No. Graphite Product Style Kit components render and read correctly with only tokens.css and components.css. motion.js is optional and adds motion plus menus, accordions, tabs, switches, reveals and demos. Without it, components sit in their resting state and scroll-revealed content is simply visible.

### Can Graphite Product Style Kit work in a framework project?

Yes. Graphite Product Style Kit's tokens.css and components.css import as global stylesheets, and you use the sp- classes in your components, loading motion.js once on the client for motion. The validator checks single-file pages only, so a restyled multi-page project relies on its own build and tests.

### Does Graphite Product Style Kit copy the reference site's content?

No. Graphite Product Style Kit forbids copying text, images, logos or icons of the reference site and never names it in the page. It describes the look through tokens and rules, and the example page uses made-up names such as Tessel and Halyard that the validator flags until replaced.

### Is Graphite Product Style Kit billed?

No. Graphite Product Style Kit is CSS, an optional script, fonts and two offline Node scripts, and nothing in it contacts a model, so applying the library adds no SandBase usage. The example page has no image slots, and new pictures are drawn with inline SVG or CSS.

## Examples

- English site (html)
