element-vir
Version:
Heroic. Reactive. Declarative. Type safe. Web components without compromise.
13 lines (12 loc) • 749 B
TypeScript
import { type CSSResult, type CSSResultGroup } from '../../lit-exports/all-lit-exports.js';
import { type MinimalElementDefinition } from '../minimal-element-definition.js';
/**
* A template literal tag used to define styles for element definitions. In particular, this is used
* for the `styles` property in an element definitions init object.
*
* For security reasons, only literal string or number values may be interpolated inside of this
* taggedTemplate. To incorporate non-literal values, wrap the value in a call to `unsafeCSS`.
*
* @category Element Definition
*/
export declare function css(inputTemplateStrings: TemplateStringsArray, ...inputValues: (number | CSSResultGroup | MinimalElementDefinition | CSSResult)[]): CSSResult;