# The `.scs` design system and `mmo-app`
A generic, reskinnable design system written in Simple CSS, plus the application shell that uses it.
Everything here is compiled by `MMO\client\SCSCompiler` — no sass, no node, no build step outside PHP.
---
## 1. What is where
```
src/styles/
tokens.scs design tokens: the palette maps and the @theme that becomes --mmo-* variables
dark.scs the dark overrides, for [data-theme=dark] and for prefers-color-scheme
compat.scs the `--mmo-color-*` / `--mmo-size-*` names the sass system used, for anything
outside this package that still reads them
lib.scs @fn helpers and the @style library (surface, row, col, control, focus-ring, sticky, …),
used from everywhere as `lib::` -- @see "The lib:: namespace" below
controls.scs the components as @styles (button, input, field, table, list, tag, tab …), so an
element can carry the same recipe the document's classes are painted with -- and,
on its own, the prelude every view
```
- A plain `