Skip to content

pantoken-root / foundation

foundation ​

Compatibility ​

Target: Foundation for Sites. Current format: Concrete Sass settings + variable-backed CSS overlay. Minimum host version: 6.1.2. Tested through 6.9.0. Newer releases require review.

Full compatibility matrix

Experimenteel

@pantoken/foundation — thema Foundation for Sites Sass-uitvoer en algemene CSS-klassen.

Foundation is Sass-first, dus dit pakket levert twee lagen. toFoundationSettings genereert een _settings-stijl Sass-partial met concrete hermerkwaarden voor lichtmodus zodat Foundations kleurfuncties kunnen compileren. toFoundationCss genereert een dunne, door variabelen ondersteunde CSS-overlay die de veelgebruikte gecompileerde klassen thematiseert (.button, .callout, links) op dezelfde manier — handig wanneer je de standaard Foundation CSS gebruikt en alleen Instructure-kleuren erbovenop wilt leggen zonder opnieuw te compileren.

Voorbeeld ​

ts
import { foundationSettings, foundationCss } from "@pantoken/foundation";
// foundationSettings → a Sass partial; foundationCss → a runtime overlay.

Interfaces ​

Variabelen ​

Functies ​

Referenties ​

default ​

Hernoemt en herexporteert foundationCss