1 | 'use strict';
|
2 |
|
3 | Object.defineProperty(exports, '__esModule', { value: true });
|
4 |
|
5 | const index = require('./index-a0a08b2a.js');
|
6 | const ionicGlobal = require('./ionic-global-06f21c1a.js');
|
7 | const theme = require('./theme-30b7a575.js');
|
8 |
|
9 | const textCss = ":host(.ion-color){color:var(--ion-color-base)}";
|
10 |
|
11 | const Text = class {
|
12 | constructor(hostRef) {
|
13 | index.registerInstance(this, hostRef);
|
14 | }
|
15 | render() {
|
16 | const mode = ionicGlobal.getIonMode(this);
|
17 | return (index.h(index.Host, { class: theme.createColorClasses(this.color, {
|
18 | [mode]: true,
|
19 | }) }, index.h("slot", null)));
|
20 | }
|
21 | };
|
22 | Text.style = textCss;
|
23 |
|
24 | exports.ion_text = Text;
|