@primeuix/themes
Version:
Themes for PrimeUI Libraries
236 lines (228 loc) • 6.4 kB
TypeScript
/**
*
* OrganizationChart Design Tokens
*
* @module organizationchart
*
*/
import type { ColorScheme as CS, DesignTokens, ExtendedCSS, ExtendedTokens } from '..';
/**
* Design Token Sections
*/
export declare namespace OrganizationChartTokenSections {
interface Root {
/**
* Gutter of root
*
* @designToken organizationchart.gutter
*/
gutter?: string;
/**
* Transition duration of root
*
* @designToken organizationchart.transition.duration
*/
transitionDuration?: string;
}
interface Node {
/**
* Background of node
*
* @designToken organizationchart.node.background
*/
background?: string;
/**
* Hover background of node
*
* @designToken organizationchart.node.hover.background
*/
hoverBackground?: string;
/**
* Selected background of node
*
* @designToken organizationchart.node.selected.background
*/
selectedBackground?: string;
/**
* Border color of node
*
* @designToken organizationchart.node.border.color
*/
borderColor?: string;
/**
* Color of node
*
* @designToken organizationchart.node.color
*/
color?: string;
/**
* Selected color of node
*
* @designToken organizationchart.node.selected.color
*/
selectedColor?: string;
/**
* Hover color of node
*
* @designToken organizationchart.node.hover.color
*/
hoverColor?: string;
/**
* Padding of node
*
* @designToken organizationchart.node.padding
*/
padding?: string;
/**
* Toggleable padding of node
*
* @designToken organizationchart.node.toggleable.padding
*/
toggleablePadding?: string;
/**
* Border radius of node
*
* @designToken organizationchart.node.border.radius
*/
borderRadius?: string;
}
interface NodeToggleButton {
/**
* Background of node toggle button
*
* @designToken organizationchart.node.toggle.button.background
*/
background?: string;
/**
* Hover background of node toggle button
*
* @designToken organizationchart.node.toggle.button.hover.background
*/
hoverBackground?: string;
/**
* Border color of node toggle button
*
* @designToken organizationchart.node.toggle.button.border.color
*/
borderColor?: string;
/**
* Color of node toggle button
*
* @designToken organizationchart.node.toggle.button.color
*/
color?: string;
/**
* Hover color of node toggle button
*
* @designToken organizationchart.node.toggle.button.hover.color
*/
hoverColor?: string;
/**
* Size of node toggle button
*
* @designToken organizationchart.node.toggle.button.size
*/
size?: string;
/**
* Border radius of node toggle button
*
* @designToken organizationchart.node.toggle.button.border.radius
*/
borderRadius?: string;
/**
* Focus ring of node toggle button
*/
focusRing?: {
/**
* Focus ring width of node toggle button
*
* @designToken organizationchart.node.toggle.button.focus.ring.width
*/
width?: string;
/**
* Focus ring style of node toggle button
*
* @designToken organizationchart.node.toggle.button.focus.ring.style
*/
style?: string;
/**
* Focus ring color of node toggle button
*
* @designToken organizationchart.node.toggle.button.focus.ring.color
*/
color?: string;
/**
* Focus ring offset of node toggle button
*
* @designToken organizationchart.node.toggle.button.focus.ring.offset
*/
offset?: string;
/**
* Focus ring shadow of node toggle button
*
* @designToken organizationchart.node.toggle.button.focus.ring.shadow
*/
shadow?: string;
};
}
interface Connector {
/**
* Color of connector
*
* @designToken organizationchart.connector.color
*/
color?: string;
/**
* Border radius of connector
*
* @designToken organizationchart.connector.border.radius
*/
borderRadius?: string;
/**
* Height of connector
*
* @designToken organizationchart.connector.height
*/
height?: string;
}
/* Static Sections */
type ColorScheme = CS<OrganizationChartDesignTokens>;
type CSS = ExtendedCSS;
type Extend = ExtendedTokens;
}
/**
*
* _OrganizationChart Design Tokens_
*
* @group components
* @module organizationchart
* @see
* --- ---
* **Compatible Libraries**
*
* [](https://primeng.org/theming/styled)
* [](https://primevue.org/theming/styled)
* --- ---
* **Figma UI Kit**
*
* [PrimeNG](https://primeng.org/uikit) | [PrimeVue](https://primevue.org/uikit)
*
*/
export interface OrganizationChartDesignTokens extends DesignTokens<OrganizationChartDesignTokens> {
/**
* Used to pass tokens of the root section
*/
root?: OrganizationChartTokenSections.Root;
/**
* Used to pass tokens of the node section
*/
node?: OrganizationChartTokenSections.Node;
/**
* Used to pass tokens of the node toggle button section
*/
nodeToggleButton?: OrganizationChartTokenSections.NodeToggleButton;
/**
* Used to pass tokens of the connector section
*/
connector?: OrganizationChartTokenSections.Connector;
}