@sandlada/mdc
Version:
@sandlada/mdc is an open source component library that follows the Material Design 3 design specifications.
8 lines • 2.02 kB
JavaScript
import{Shape as e}from"../node_modules/@sandlada/mdk/build/domain/shape.js";import{Typescale as t}from"../node_modules/@sandlada/mdk/build/domain/typescale.js";import"../node_modules/@sandlada/mdk/build/index.js";import{Color as n}from"../utils/tokens/theme.js";import{createStyleDefinition as r}from"../utils/tokens/create-style-definition.js";
/**
* @license
* Copyright 2026 Kai-Orion & Sandlada
* SPDX-License-Identifier: MIT
*/
const i=r({"enabled-container-color":n.InverseSurface,"container-shape-start-start":e.Full,"container-shape-start-end":e.Full,"container-shape-end-start":e.Full,"container-shape-end-end":e.Full,"container-padding-inline":`8px`,"container-padding-block":`4px`,"container-min-width":`28px`,"container-min-height":`28px`,"container-max-width":`200px`,"container-margin":`2px`,"label-font":t.BodySmall.Font,"label-size":t.BodySmall.FontSize,"label-weight":t.BodySmall.FontWeight,"label-tracking":t.BodySmall.Tracking,"label-line-height":t.BodySmall.LineHeight,"enabled-label-color":n.InverseOnSurface}),a=r({"enabled-container-color":n.SurfaceContainer,"container-shape-start-start":e.Medium,"container-shape-start-end":e.Medium,"container-shape-end-start":e.Medium,"container-shape-end-end":e.Medium,"enabled-container-elevation":`2`,"enabled-container-shadow-color":n.Shadow,"container-padding":`16px`,"container-max-width":`320px`,"label-font":t.BodyMedium.Font,"label-size":t.BodyMedium.FontSize,"label-weight":t.BodyMedium.FontWeight,"label-tracking":t.BodyMedium.Tracking,"label-line-height":t.BodyMedium.LineHeight,"enabled-label-color":n.OnSurface,"headline-font":t.TitleSmall.Font,"headline-size":t.TitleSmall.FontSize,"headline-weight":t.TitleSmall.FontWeight,"headline-tracking":t.TitleSmall.Tracking,"headline-line-height":t.TitleSmall.LineHeight,"enabled-headline-color":n.OnSurface,"headline-padding-block":`8px`,"actions-gap":`8px`,"actions-padding-block":`8px`});export{i as PlainTooltipDefinition,a as RichTooltipDefinition};
//# sourceMappingURL=tooltip.definition.js.map