import { Component, Host, Prop, h } from '@stencil/core';
import { createColorClasses } from '../../utils/theme';
export class GascoCardTitle {
  render() {
    return (h(Host, { role: "heading", "aria-level": "2", class: createColorClasses(this.color, {
        'gasco-inherit-color': true,
      }) },
      h("slot", null)));
  }
  static get is() { return "gasco-card-title"; }
  static get encapsulation() { return "shadow"; }
  static get originalStyleUrls() { return {
    "$": ["gasco-card-title.md.scss"]
  }; }
  static get styleUrls() { return {
    "$": ["gasco-card-title.md.css"]
  }; }
  static get properties() { return {
    "color": {
      "type": "string",
      "mutable": false,
      "complexType": {
        "original": "Color",
        "resolved": "\"danger\" | \"dark\" | \"light\" | \"medium\" | \"primary\" | \"secondary\" | \"success\" | \"tertiary\" | \"warning\" | string & Record<never, never>",
        "references": {
          "Color": {
            "location": "import",
            "path": "../../interface"
          }
        }
      },
      "required": false,
      "optional": true,
      "docs": {
        "tags": [],
        "text": "The color to use from your application's color palette.\nDefault options are: `\"primary\"`, `\"secondary\"`, `\"success\"`, `\"warning\"` and `\"danger\"`.\nFor more information on colors, see [theming](/docs/theming/basics)."
      },
      "attribute": "color",
      "reflect": true
    }
  }; }
}
