Skip to content
This repository was archived by the owner on Jan 7, 2026. It is now read-only.

Commit 346baae

Browse files
committed
fix: Fix token types
1 parent 9d4653c commit 346baae

1 file changed

Lines changed: 12 additions & 12 deletions

File tree

libs/plugin-types/index.d.ts

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -4354,7 +4354,7 @@ export interface TokenBorderRadius extends TokenBase {
43544354
/**
43554355
* The type of the token.
43564356
*/
4357-
readonly type: 'border-radius';
4357+
readonly type: 'borderRadius';
43584358

43594359
/**
43604360
* The value as defined in the token itself.
@@ -4427,7 +4427,7 @@ export interface TokenFontFamily extends TokenBase {
44274427
/**
44284428
* The type of the token.
44294429
*/
4430-
readonly type: 'font-family';
4430+
readonly type: 'fontFamily';
44314431

44324432
/**
44334433
* The value as defined in the token itself.
@@ -4454,7 +4454,7 @@ export interface TokenFontSize extends TokenBase {
44544454
/**
44554455
* The type of the token.
44564456
*/
4457-
readonly type: 'font-size';
4457+
readonly type: 'fontSize';
44584458

44594459
/**
44604460
* The value as defined in the token itself.
@@ -4479,7 +4479,7 @@ export interface TokenFontWeight extends TokenBase {
44794479
/**
44804480
* The type of the token.
44814481
*/
4482-
readonly type: 'font-weight';
4482+
readonly type: 'fontWeight';
44834483

44844484
/**
44854485
* The value as defined in the token itself.
@@ -4504,7 +4504,7 @@ export interface TokenFontLetterSpacing extends TokenBase {
45044504
/**
45054505
* The type of the token.
45064506
*/
4507-
readonly type: 'letter-spacing';
4507+
readonly type: 'letterSpacing';
45084508

45094509
/**
45104510
* The value as defined in the token itself.
@@ -4529,7 +4529,7 @@ export interface TokenNumber extends TokenBase {
45294529
/**
45304530
* The type of the token.
45314531
*/
4532-
readonly type: 'letter-number';
4532+
readonly type: 'letterNumber';
45334533

45344534
/**
45354535
* The value as defined in the token itself.
@@ -4654,7 +4654,7 @@ export interface TokenStrokeWidth extends TokenBase {
46544654
/**
46554655
* The type of the token.
46564656
*/
4657-
readonly type: 'stroke-width';
4657+
readonly type: 'strokeWidth';
46584658

46594659
/**
46604660
* The value as defined in the token itself.
@@ -4679,7 +4679,7 @@ export interface TokenTextCase extends TokenBase {
46794679
/**
46804680
* The type of the token.
46814681
*/
4682-
readonly type: 'text-case';
4682+
readonly type: 'textCase';
46834683

46844684
/**
46854685
* The value as defined in the token itself.
@@ -4704,7 +4704,7 @@ export interface TokenTextDecoration extends TokenBase {
47044704
/**
47054705
* The type of the token.
47064706
*/
4707-
readonly type: 'text-decoration';
4707+
readonly type: 'textDecoration';
47084708

47094709
/**
47104710
* The value as defined in the token itself.
@@ -4763,15 +4763,15 @@ export interface TokenCatalog {
47634763
* @param name The name of the theme (required)
47644764
* @return Returns the created TokenTheme.
47654765
*/
4766-
addTheme(group: string, name: string): TokenTheme;
4766+
addTheme({group: string, name: string}): TokenTheme;
47674767

47684768
/**
47694769
* Creates a new TokenSet and adds it to the catalog.
47704770
* @param name The name of the set (required). It may contain
47714771
* a group path, separated by `/`.
47724772
* @return Returns the created TokenSet.
47734773
*/
4774-
addSet(name: string): TokenSet;
4774+
addSet({name: string}): TokenSet;
47754775

47764776
/**
47774777
* Retrieves a theme.
@@ -4841,7 +4841,7 @@ export interface TokenSet {
48414841
* a group path, separated by `.`.
48424842
* @return Returns the created Token.
48434843
*/
4844-
addToken(type: TokenType, name: string, value: unknown): Token;
4844+
addToken({type: TokenType, name: string, value: unknown}): Token;
48454845

48464846
/**
48474847
* Adds to the catalog a new TokenSet equal to this one but with a new id.

0 commit comments

Comments
 (0)