Update API doc
parent
3a676127cf
commit
5e15cff836
|
@ -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",
|
||||
|
|
|
@ -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
|
||||
*/
|
||||
|
|
Loading…
Reference in New Issue