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

Experimental

@pantoken/foundation — موضوع مخرجات Sass لـ Foundation for Sites وفئات CSS الشائعة.

Foundation يركّز على Sass أولاً، لذا يوفّر هذا الحزمة طبقتين. toFoundationSettings ينتج _settings-style جزء Sass مع قيم إعادة تسمية مخصصة للوضع الفاتح حتى تتمكن دوال الألوان في Foundation من compile. toFoundationCss ينتج تغطية CSS خفيفة مدعومة بالمتغيرات تُطبّع الفئات المترجمة المشتركة (.button, .callout, links) بنفس الطريقة — مفيد عندما تستهلك CSS الافتراضي من Foundation وتريد فقط إضافة ألوان Instructure فوقه دون إعادة الترجمة.

Example ​

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

الواجهات ​

المتغيرات ​

الدوال ​

References ​

default ​

يعيد تسمية ويُعيد تصدير foundationCss