/*!
 * (C) Ionic http://ionicframework.com - MIT License
 */
import { r as registerInstance, h, d as Host } from './index-gD7P82jx.js';
import { c as createColorClasses } from './theme-DaJxRxSQ.js';
import { c as getIonTheme } from './ionic-global-KnoA5TnE.js';

const textCss = ":host(.ion-color){color:var(--ion-color-base)}";

const Text = class {
    constructor(hostRef) {
        registerInstance(this, hostRef);
    }
    render() {
        const theme = getIonTheme(this);
        return (h(Host, { key: '7a3f31d6e219207a1ff98ac441357caa512012e5', class: createColorClasses(this.color, {
                [theme]: true,
            }) }, h("slot", { key: '392d48d6a5e0e5d1b44e762ec96fb8b53b3ebd49' })));
    }
};
Text.style = textCss;

export { Text as ion_text };
