<commit_before>@import '../core/theming/palette';
@import '../core/theming/theming';


@mixin md-button-toggle-theme($theme) {
  $foreground: map-get($theme, foreground);

  .md-button-toggle-checked .md-button-toggle-label-content {
    background-color: md-color($md-grey, 300);
  }
  .md-button-toggle-disabled .md-button-toggle-label-content {
    background-color: md-color($foreground, disabled);
  }
}<commit_msg>fix(button-toggle): missing hover state (#1733)<commit_after>@import '../core/theming/palette';
@import '../core/theming/theming';


@mixin md-button-toggle-theme($theme) {
  $foreground: map-get($theme, foreground);

  .md-button-toggle-checked, md-button-toggle:not(.md-button-toggle-disabled):hover {
    .md-button-toggle-label-content {
      background-color: md-color($md-grey, 300);
    }
  }

  .md-button-toggle-disabled .md-button-toggle-label-content {
    background-color: md-color($foreground, disabled);
  }
}
{'fraction_non_alphanumeric': 0.18412698412698414, 'fraction_numerical': 0.010582010582010581, 'mean_word_length': 3.9789473684210526, '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': '1077819', 'n_tokens_mistral': 338, 'n_tokens_neox': 318, 'n_words': 43}