UNPKG

@sandlada/mdc

Version:

@sandlada/mdc is an open source component library that follows the Material Design 3 design specifications.

7 lines (6 loc) 890 B
import{a as t}from"../../lit-element-Ho-VPzO1.js";import{DividerDefinition as o}from"../../component-definitions/divider.definition.js";import{createWrappedTokens as e}from"../../utils/tokens/create-wrapped-tokens.js";import{stringTokens as i}from"../../utils/tokens/string-tokens.js";import"../../color-CigMJnjV.js"; /** * @license * Copyright 2025 Kai-Orion & Sandlada * SPDX-License-Identifier: MIT */const r=t`@layer mdc.divider.variant{:host{${i(e("--mdc-divider",o))}}}@layer mdc.divider.base{:host{box-sizing:border-box;color:var(--_color);display:flex;height:var(--_thickness);width:100%}:host([inset-start]),:host([inset]){padding-inline-start:16px}:host([inset-end]),:host([inset]){padding-inline-end:16px}:host::before{background:currentColor;content:'';height:100%;width:100%}@media (forced-colors:active){:host::before{background:CanvasText}}}`;export{r as DividerStyles};