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

var index = require('./index-D6Wc6v08.js');
var theme = require('./theme-CeDs6Hcv.js');
var ionicGlobal = require('./ionic-global-DpRwOXLK.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: '9a5adf32d207dd4bc5e8c3a24d985a37d432ee36', class: theme.createColorClasses(this.color, {
                [theme$1]: true,
            }) }, index.h("slot", { key: '6155082d13b727b54c15909cf96c2f8e7c920fac' })));
    }
};
Text.style = textCss;

exports.ion_text = Text;
