Skip to content

pantoken-root / packages/utils/src / ColorUtilityEntry

Type Alias: ColorUtilityEntry ​

ColorUtilityEntry = string | readonly [string, string]

Beta

إدخال واحد لعائلة ألوان معنوية: اسم عاري (يُحل بالنسبة إلى --instui-color-<family>-<name>) أو زوج صريح [name, value] — العنصر الثاني يكون ملفوفًا بـ var() إذا كان اسمًا من نوع --custom-prop ، أو يُستخدم حرفيًا خلاف ذلك (تعبير light-dark(…)، كلمة مفتاحية خام مثل transparent).