Skip to content

@presencelearning/styles

Shared design tokens for Presence Learning frontends. Ships color, typography, spacing, border radius, and elevation tokens, plus a ready-to-use Angular Material theme config compatible with both v19 and v20.

Terminal window
npm install @presencelearning/styles

The package ships several domains. Import each via its own subpath:

SubpathWhat’s inside
@presencelearning/styles/colorsLegacy color tokens (SCSS + CSS vars + JS/TS) — $red-1, $blue-2, etc.
@presencelearning/styles/colors2New-theme primitive ramps
@presencelearning/styles/surfacesNon-ramp primitives (backgrounds, brand-red, etc.)
@presencelearning/styles/typographyAvenir @font-face + type scale + mixins
@presencelearning/styles/spacingBase-8 spacing scale
@presencelearning/styles/bordersBorder radius
@presencelearning/styles/elevationM2 box-shadow tokens
@presencelearning/styles/materialAngular Material mat.theme() config (v19 + v20)

Use the sidebar to drill into each domain — every page renders live values straight from the SCSS sources.