mirror of
https://github.com/penpot/penpot.git
synced 2026-04-25 11:18:36 +00:00
🐛 Fix applied tokens property names
This commit is contained in:
parent
813c804d45
commit
619e2387dc
28
plugins/libs/plugin-types/index.d.ts
vendored
28
plugins/libs/plugin-types/index.d.ts
vendored
@ -5226,27 +5226,27 @@ type TokenDimensionProps =
|
||||
/**
|
||||
* The properties that a FontFamilies token can be applied to.
|
||||
*/
|
||||
type TokenFontFamiliesProps = 'font-families';
|
||||
type TokenFontFamiliesProps = 'fontFamilies';
|
||||
|
||||
/**
|
||||
* The properties that a FontSizes token can be applied to.
|
||||
*/
|
||||
type TokenFontSizesProps = 'font-size';
|
||||
type TokenFontSizesProps = 'fontSize';
|
||||
|
||||
/**
|
||||
* The properties that a FontWeight token can be applied to.
|
||||
*/
|
||||
type TokenFontWeightProps = 'font-weight';
|
||||
type TokenFontWeightProps = 'fontWeight';
|
||||
|
||||
/**
|
||||
* The properties that a LetterSpacing token can be applied to.
|
||||
*/
|
||||
type TokenLetterSpacingProps = 'letter-spacing';
|
||||
type TokenLetterSpacingProps = 'letterSpacing';
|
||||
|
||||
/**
|
||||
* The properties that a Number token can be applied to.
|
||||
*/
|
||||
type TokenNumberProps = 'rotation' | 'line-height';
|
||||
type TokenNumberProps = 'rotation';
|
||||
|
||||
/**
|
||||
* The properties that an Opacity token can be applied to.
|
||||
@ -5262,18 +5262,18 @@ type TokenSizingProps =
|
||||
| 'height'
|
||||
|
||||
// Layout
|
||||
| 'layout-item-min-w'
|
||||
| 'layout-item-max-w'
|
||||
| 'layout-item-min-h'
|
||||
| 'layout-item-max-h';
|
||||
| 'layoutItemMinW'
|
||||
| 'layoutItemMaxW'
|
||||
| 'layoutItemMinH'
|
||||
| 'layoutItemMaxH';
|
||||
|
||||
/**
|
||||
* The properties that a Spacing token can be applied to.
|
||||
*/
|
||||
type TokenSpacingProps =
|
||||
// Spacing / Gap
|
||||
| 'row-gap'
|
||||
| 'column-gap'
|
||||
| 'rowGap'
|
||||
| 'columnGap'
|
||||
|
||||
// Spacing / Padding
|
||||
| 'p1'
|
||||
@ -5290,17 +5290,17 @@ type TokenSpacingProps =
|
||||
/**
|
||||
* The properties that a BorderWidth token can be applied to.
|
||||
*/
|
||||
type TokenBorderWidthProps = 'stroke-width';
|
||||
type TokenBorderWidthProps = 'strokeWidth';
|
||||
|
||||
/**
|
||||
* The properties that a TextCase token can be applied to.
|
||||
*/
|
||||
type TokenTextCaseProps = 'text-case';
|
||||
type TokenTextCaseProps = 'textCase';
|
||||
|
||||
/**
|
||||
* The properties that a TextDecoration token can be applied to.
|
||||
*/
|
||||
type TokenTextDecorationProps = 'text-decoration';
|
||||
type TokenTextDecorationProps = 'textDecoration';
|
||||
|
||||
/**
|
||||
* The properties that a Typography token can be applied to.
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user