/** * * ToggleButton Design Tokens * * [Live Demo](https://www.primevuelab.org/togglebutton/) * * @module themes/togglebutton * */ import { ColorSchemeDesignToken } from '..'; export interface ToggleButtonDesignTokens extends ColorSchemeDesignToken { /** * Used to pass tokens of the root section */ root?: { /** * Padding of root * * @designToken togglebutton.padding */ padding?: string; /** * Border radius of root * * @designToken togglebutton.border.radius */ borderRadius?: string; /** * Gap of root * * @designToken togglebutton.gap */ gap?: string; /** * Font weight of root * * @designToken togglebutton.font.weight */ fontWeight?: string; /** * Disabled background of root * * @designToken togglebutton.disabled.background */ disabledBackground?: string; /** * Disabled border color of root * * @designToken togglebutton.disabled.border.color */ disabledBorderColor?: string; /** * Disabled color of root * * @designToken togglebutton.disabled.color */ disabledColor?: string; /** * Invalid border color of root * * @designToken togglebutton.invalid.border.color */ invalidBorderColor?: string; /** * Focus ring of root */ focusRing?: { /** * Focus ring width of root * * @designToken togglebutton.focus.ring.width */ width?: string; /** * Focus ring style of root * * @designToken togglebutton.focus.ring.style */ style?: string; /** * Focus ring color of root * * @designToken togglebutton.focus.ring.color */ color?: string; /** * Focus ring offset of root * * @designToken togglebutton.focus.ring.offset */ offset?: string; /** * Focus ring shadow of root * * @designToken togglebutton.focus.ring.shadow */ shadow?: string; }; /** * Transition duration of root * * @designToken togglebutton.transition.duration */ transitionDuration?: string; /** * Background of root * * @designToken togglebutton.background */ background?: string; /** * Checked background of root * * @designToken togglebutton.checked.background */ checkedBackground?: string; /** * Hover background of root * * @designToken togglebutton.hover.background */ hoverBackground?: string; /** * Border color of root * * @designToken togglebutton.border.color */ borderColor?: string; /** * Color of root * * @designToken togglebutton.color */ color?: string; /** * Hover color of root * * @designToken togglebutton.hover.color */ hoverColor?: string; /** * Checked color of root * * @designToken togglebutton.checked.color */ checkedColor?: string; /** * Checked border color of root * * @designToken togglebutton.checked.border.color */ checkedBorderColor?: string; } /** * Used to pass tokens of the icon section */ icon?: { /** * Disabled color of icon * * @designToken togglebutton.icon.disabled.color */ disabledColor?: string; /** * Color of icon * * @designToken togglebutton.icon.color */ color?: string; /** * Hover color of icon * * @designToken togglebutton.icon.hover.color */ hoverColor?: string; /** * Checked color of icon * * @designToken togglebutton.icon.checked.color */ checkedColor?: string; } /** * Used to pass tokens of the content section */ content?: { /** * Left of content * * @designToken togglebutton.content.left */ left?: string; /** * Top of content * * @designToken togglebutton.content.top */ top?: string; /** * Checked shadow of content * * @designToken togglebutton.content.checked.shadow */ checkedShadow?: string; /** * Checked background of content * * @designToken togglebutton.content.checked.background */ checkedBackground?: string; } }