# CSS variables and components

tokens.css holds the custom properties of the three looks; poi.css adds the components this site is built from: the raised and sunken materials, the title strip, the status line, the corner marks.

- id: `css`
- Runs on: Web
- Install: From npm
- Web

## Steps

1. npm install github:pseudoyu/poi-theme, then import "poi-theme/poi.css"; or link https://poi.pseudoyu.com/poi.css directly.
2. On <html>, data-appearance="light" or "dark" picks one of Machine's two looks, and data-theme="samaritan" picks Samaritan.

## Good to know

- Use the variables, never a copied hex: the variables change with the look.

## Where it has been checked

- Web (poi.pseudoyu.com): This site is built with it

## Files

- https://poi.pseudoyu.com/files/css/machine/tokens.css
- https://poi.pseudoyu.com/files/css/machine/poi.css
