Update API doc

pull/6674/head
GitHub Actions Bot 2024-10-28 11:37:42 +00:00
parent 3a676127cf
commit 5e15cff836
2 changed files with 50 additions and 0 deletions

View File

@ -76868,6 +76868,33 @@
"default": "",
"description": "Danger color of text"
},
{
"name": "contrast.hoverBackground",
"token": "button.text.contrast.hover.background",
"optional": true,
"readonly": false,
"type": "string",
"default": "",
"description": "Contrast hover background of text"
},
{
"name": "contrast.activeBackground",
"token": "button.text.contrast.active.background",
"optional": true,
"readonly": false,
"type": "string",
"default": "",
"description": "Contrast active background of text"
},
{
"name": "contrast.color",
"token": "button.text.contrast.color",
"optional": true,
"readonly": false,
"type": "string",
"default": "",
"description": "Contrast color of text"
},
{
"name": "plain.hoverBackground",
"token": "button.text.plain.hover.background",

View File

@ -1189,6 +1189,29 @@ export interface ButtonDesignTokens extends ColorSchemeDesignToken<ButtonDesignT
*/
color?: string;
};
/**
* Contrast of text
*/
contrast?: {
/**
* Contrast hover background of text
*
* @designToken button.text.contrast.hover.background
*/
hoverBackground?: string;
/**
* Contrast active background of text
*
* @designToken button.text.contrast.active.background
*/
activeBackground?: string;
/**
* Contrast color of text
*
* @designToken button.text.contrast.color
*/
color?: string;
};
/**
* Plain of text
*/