<commit_before>@import "../../themes/ionic.globals";

// Card
// --------------------------------------------------

:host {
  /**
   * @prop --background: Background of the card
   * @prop --color: Color of the card
   */
  --ion-safe-area-left: 0px;
  --ion-safe-area-right: 0px;

  @include font-smoothing();

  display: block;
  position: relative;

  background: var(--background);
  color: var(--color);

  font-family: $font-family-base;

  overflow: hidden;
}

// Card Colors
// ---------------------------------------------

:host(.ion-color) {
  background: current-color(base);
  color: current-color(contrast);
}

:host(.ion-color)::slotted(*) ion-card-title,
:host(.ion-color)::slotted(*) ion-card-subtitle {
  color: current-color(contrast);
}

// Slotted Content
// ---------------------------------------------

::slotted(*) img {
  display: block;

  width: 100%;
}

::slotted(*) ion-list {
  @include margin(0);
}
<commit_msg>fix(card): include card-header in current color<commit_after>@import "../../themes/ionic.globals";

// Card
// --------------------------------------------------

:host {
  /**
   * @prop --background: Background of the card
   * @prop --color: Color of the card
   */
  --ion-safe-area-left: 0px;
  --ion-safe-area-right: 0px;

  @include font-smoothing();

  display: block;
  position: relative;

  background: var(--background);
  color: var(--color);

  font-family: $font-family-base;

  overflow: hidden;
}

// Card Colors
// ---------------------------------------------

:host(.ion-color) {
  background: current-color(base);
  color: current-color(contrast);
}

:host(.ion-color)::slotted(*) ion-card-header,
:host(.ion-color)::slotted(*) ion-card-title,
:host(.ion-color)::slotted(*) ion-card-subtitle {
  color: current-color(contrast);
}

// Slotted Content
// ---------------------------------------------

::slotted(*) img {
  display: block;

  width: 100%;
}

::slotted(*) ion-list {
  @include margin(0);
}

{'fraction_non_alphanumeric': 0.3143727780599289, 'fraction_numerical': 0.006094464195022855, 'mean_word_length': 1.884333821376281, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '4208785', 'n_tokens_mistral': 657, 'n_tokens_neox': 621, 'n_words': 125}