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

प्रयोगात्मक

@pantoken/foundation — Foundation for Sites Sass आउटपुट और सामान्य CSS कक्षाओं के लिए थीम.

Foundation Sass-प्रथम है, इसलिए यह पैकेज दो परतें प्रदान करता है. toFoundationSettings एक _settings-शैली का Sass partial उत्पन्न करता है जिसमें light-mode पुन:ब्रांडिंग मान होते हैं ताकि Foundation के colour functions संकलित कर सकें . toFoundationCss एक हल्का वेरिएबल-समर्थित CSS ओवरले उत्पन्न करता है जो सामान्य संकलित कक्षाओं को थीम करता है (.button, .callout, links) उसी तरह — उपयोगी जब आप स्टॉक Foundation CSS का उपयोग करते हैं और बिना पुनःसंकलन किए केवल Instructure रंगों को ऊपर परत करना चाहते हैं).

उदाहरण ​

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

इंटरफेस ​

वैरिएबल्स ​

फंक्शन्स ​

संदर्भ ​

default ​

नाम बदलता है और पुनः-निर्यात करता है foundationCss