# Foundations

Source: https://material.spynejs.com/foundations
Part of: Material shell gallery, Google's Material Design 3 for SpyneJS. Index: https://material.spynejs.com/llms.txt

What every component is made from: colour, type, shape, elevation and motion. The values are Google's Material 3 tokens, read from Google's token package when the app is built, and each is a custom property an app's own styles can read.

## As the page shows it

The page’s own words, in its own order, read from the page as it is drawn in the light colour scheme. They were written for someone looking at the page: “above”, “below” and “marked” mean the drawn page. A thing the page draws is named here in its place (`Button:`, `Field:`, `Switch:`), and a box that reports what the reader does is as it starts, empty. What depends on the reader’s own window is left out.

What every component is made from. The values come from Google's token package, read at build time.

- [Colour](https://material.spynejs.com/foundations/color.md): The colour roles, in the scheme the app is showing.
- [Type](https://material.spynejs.com/foundations/type.md): Fifteen styles, each plain and emphasized.
- [Shape](https://material.spynejs.com/foundations/shape.md): Ten corners, from square to fully round.
- [Elevation](https://material.spynejs.com/foundations/elevation.md): Six levels, each with its shadow.
- [Motion](https://material.spynejs.com/foundations/motion.md): Ten easings and sixteen durations.
