UNPKG

@ionic/core

Version:
4 lines • 782 B
/*! * (C) Ionic http://ionicframework.com - MIT License */ import{d as t,H as s,h as o,f as e,t as r}from"./p-Ct2aBEue.js";import{c as a}from"./p-byZM6qHV.js";import{b as c}from"./p-HthJZjZ6.js";const n=t(class extends s{constructor(t){super(),!1!==t&&this.__registerHost(),this.__attachShadow()}render(){const t=c(this);return o(e,{key:"b6f604df1b7aa5705a5b9a458e669a6a921c02a1",class:a(this.color,{[t]:!0})},o("slot",{key:"055d07b024a6554dfcf959fc8ed7b405e2730af2"}))}static get style(){return":host(.ion-color){color:var(--ion-color-base)}"}},[257,"ion-text",{color:[513]}]),i=n,f=function(){"undefined"!=typeof customElements&&["ion-text"].forEach((t=>{"ion-text"===t&&(customElements.get(r(t))||customElements.define(r(t),n))}))};export{i as IonText,f as defineCustomElement}