/*!
 * (C) Ionic http://ionicframework.com - MIT License
 */
'use strict';

var index = require('./index-DjlJwy91.js');
var theme = require('./theme-IlOsGAz7.js');
var ionicGlobal = require('./ionic-global-Dq_E1GCa.js');

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

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

exports.ion_text = Text;
