/*!
 * (C) Ionic http://ionicframework.com - MIT License
 */
import { r as registerInstance, h, d as Host } from './index-C8IsBmNU.js';
import { c as createColorClasses } from './theme-DiVJyqlX.js';
import { c as getIonTheme } from './ionic-global-2lDD9k7y.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: '9a5adf32d207dd4bc5e8c3a24d985a37d432ee36', class: createColorClasses(this.color, {
                [theme]: true,
            }) }, h("slot", { key: '6155082d13b727b54c15909cf96c2f8e7c920fac' })));
    }
};
Text.style = textCss;

export { Text as ion_text };
