Skip to content

pantoken-root / panda

panda ​

Compatibility ​

Target: Panda CSS. Current format: Panda token utility extraction from the Pantoken preset. Minimum host version: 1.12.1. Tested through 2.1.1. Newer releases require review.

Full compatibility matrix

Experimental

@pantoken/panda — إعداد مسبق لرموز التصميم من Instructure لـ Panda CSS.

toPandaPreset يحول أي IR؛ pantokenPreset هو الإعداد الجاهز rebrand. انشره داخل panda.config.ts presets الخاص بك، وشرط _dark يتتبع الرموز light-dark() الخاصة بـ pantoken تلقائيًا.

Example ​

panda.config.ts

ts
import { defineConfig } from "@pandacss/dev";
import { pantokenPreset } from "@pantoken/panda";
export default defineConfig({ presets: [pantokenPreset] });
// then: css({ color: "token(colors.color-text-base)" })

الواجهات ​

الأسماء المستعارة للنوع ​

المتغيرات ​

الدوال ​

References ​

default ​

يعيد تسمية وإعادة تصدير pantokenPreset