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.2.0. Newer releases require review.

Full compatibility matrix

ניסיוני

@pantoken/panda — הגדרה מראש של טוקני עיצוב של Instructure עבור Panda CSS.

toPandaPreset ממיר כל IR; pantokenPreset הוא ה־rebrand המוכן מראש. פיזורו לתוך ה־panda.config.ts presets שלך, והתנאי _dark עוקב אוטומטית אחרי הטוקנים light-dark() של pantoken.

דוגמה ​

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)" })

ממשקים ​

כינויים של טיפוסים ​

משתנים ​

פונקציות ​

הפניות ​

default ​

משנה שם ומייצא מחדש את pantokenPreset