<commit_before>// Link Style Utility
// —————————————————————————————————————————————————————————————————————————————
//
// Links in BaseKit are *unstyled by default* which I do to avoid juggling UI
// links and CMS generated link styles. This utility tightly scopes link styling
// to where you need it. You won't ever have to override link styles again.
//
// We do not want any of these styles to apply to the button class which can
// also be used on links.
a:not([class*="btn-"]) {
  transition-duration: $link-transition-duration;
  transition-property: $link-transition-props;

  &:focus, &:hover {
    transition-duration: $link-transition-duration-hover;
  }

  // Standard Colours
  // ———————————————————————————————————————————————————————————————————————————
  //
  // Simple white links for use on dark backgrounds, you'll want to combine this
  // with `dim` if the surrounding text is also white.
  [data-bk-links~="white"] & {
    color: white;
  }

  [data-bk-links~="h:white"] & {
    &:focus, &:hover {
      color: white;
    }
  }

  [data-bk-links~="black"] & {
    color: black;
  }

  [data-bk-links~="h:black"] & {
    &:focus, &:hover {
      color: black;
    }
  }

  [data-bk-links~="primary"] & {
    color: $color-primary;
  }

  [data-bk-links~="h:primary"] & {
    &:focus, &:hover {
      color: $color-primary;
    }
  }

  [data-bk-links~="bg-primary"] & {
    background-color: $color-primary;
  }

  [data-bk-links~="h:bg-primary"] & {
    &:focus, &:hover {
      background-color: $color-primary;
    }
  }

  [data-bk-links~="secondary"] & {
    color: $color-secondary;
  }

  [data-bk-links~="h:secondary"] & {
    &:focus, &:hover {
      color: $color-secondary;
    }
  }

  [data-bk-links~="bg-secondary"] & {
    background-color: $color-secondary;
  }

  [data-bk-links~="h:bg-secondary"] & {
    &:focus, &:hover {
      background-color: $color-secondary;
    }
  }

  [data-bk-links~="tertiary"] & {
    color: $color-tertiary;
  }

  [data-bk-links~="h:tertiary"] & {
    &:focus, &:hover {
      color: $color-tertiary;
    }
  }

  [data-bk-links~="grey"] & {
    color: $color-grey;
  }

  [data-bk-links~="h:grey"] & {
    &:focus, &:hover {
      color: $color-grey;
    }
  }

  // Useful utilities
  // ———————————————————————————————————————————————————————————————————————————
  //
  // Allow links to inherit the surrounding text colour.
  // Commented out for now as it's a little redundant and possibly confusing.
  // [data-bk-links~="inherit"] & {
  //   color: inherit;
  // }

  // Underline child links, notice this uses *= so that the styles applied here
  // also apply to the following hover version.
  [data-bk-links~="underline"] & {
    text-decoration: underline;
    text-decoration-color: currentColor;
    text-decoration-skip: ink;
  }

  [data-bk-links~="h:underline"] & {
    // text-decoration-color: transparent;

    &:hover,
    &:focus {
      text-decoration: underline;
      text-decoration-color: currentColor;
      text-decoration-skip: ink;
    }
  }

  // Force underline text off if required (e.g. the link is inside a container
  // with underline enabled but you want this specific links not to have an
  // underline).
  [data-bk-links~="no-underline"] & {
    text-decoration-line: none;
  }

  [data-bk-links~="h:no-underline"] & {
    &:focus, &:hover {
      text-decoration-line: none;
    }
  }

  // Apply a subtle dimming effect to the link, I find this is often used with
  // white text on a dark background when the links are also white.
  [data-bk-links~="dim"] & {
    opacity: $link-dim-value;
  }

  [data-bk-links~="h:dim"] & {
    &:focus, &:hover {
      opacity: $link-dim-value;
    }
  }

  [data-bk-links~="no-dim"] & {
    opacity: 1;
  }

  [data-bk-links~="h:no-dim"] & {
    &:focus, &:hover {
      opacity: 1;
    }
  }
}<commit_msg>Corrections to the text decoration CSS<commit_after>// Link Style Utility
// —————————————————————————————————————————————————————————————————————————————
//
// Links in BaseKit are *unstyled by default* which I do to avoid juggling UI
// links and CMS generated link styles. This utility tightly scopes link styling
// to where you need it. You won't ever have to override link styles again.
//
// We do not want any of these styles to apply to the button class which can
// also be used on links.
a:not([class*="btn-"]) {
  transition-duration: $link-transition-duration;
  transition-property: $link-transition-props;

  &:focus, &:hover {
    transition-duration: $link-transition-duration-hover;
  }

  // Standard Colours
  // ———————————————————————————————————————————————————————————————————————————
  //
  // Simple white links for use on dark backgrounds, you'll want to combine this
  // with `dim` if the surrounding text is also white.
  [data-bk-links~="white"] & {
    color: white;
  }

  [data-bk-links~="h:white"] & {
    &:focus, &:hover {
      color: white;
    }
  }

  [data-bk-links~="black"] & {
    color: black;
  }

  [data-bk-links~="h:black"] & {
    &:focus, &:hover {
      color: black;
    }
  }

  [data-bk-links~="primary"] & {
    color: $color-primary;
  }

  [data-bk-links~="h:primary"] & {
    &:focus, &:hover {
      color: $color-primary;
    }
  }

  [data-bk-links~="bg-primary"] & {
    background-color: $color-primary;
  }

  [data-bk-links~="h:bg-primary"] & {
    &:focus, &:hover {
      background-color: $color-primary;
    }
  }

  [data-bk-links~="secondary"] & {
    color: $color-secondary;
  }

  [data-bk-links~="h:secondary"] & {
    &:focus, &:hover {
      color: $color-secondary;
    }
  }

  [data-bk-links~="bg-secondary"] & {
    background-color: $color-secondary;
  }

  [data-bk-links~="h:bg-secondary"] & {
    &:focus, &:hover {
      background-color: $color-secondary;
    }
  }

  [data-bk-links~="tertiary"] & {
    color: $color-tertiary;
  }

  [data-bk-links~="h:tertiary"] & {
    &:focus, &:hover {
      color: $color-tertiary;
    }
  }

  [data-bk-links~="grey"] & {
    color: $color-grey;
  }

  [data-bk-links~="h:grey"] & {
    &:focus, &:hover {
      color: $color-grey;
    }
  }

  // Useful utilities
  // ———————————————————————————————————————————————————————————————————————————
  //
  // Allow links to inherit the surrounding text colour.
  // Commented out for now as it's a little redundant and possibly confusing.
  // [data-bk-links~="inherit"] & {
  //   color: inherit;
  // }

  // Underline child links, notice this uses *= so that the styles applied here
  // also apply to the following hover version.
  [data-bk-links~="underline"] & {
    text-decoration: underline;
    text-decoration-color: currentColor;
    text-decoration-skip-ink: auto;
  }

  [data-bk-links~="h:underline"] & {
    // text-decoration-color: transparent;

    &:hover,
    &:focus {
      text-decoration: underline;
      text-decoration-color: currentColor;
      text-decoration-skip-ink: auto;
    }
  }

  // Force underline text off if required (e.g. the link is inside a container
  // with underline enabled but you want this specific links not to have an
  // underline).
  [data-bk-links~="no-underline"] & {
    text-decoration-line: none;
  }

  [data-bk-links~="h:no-underline"] & {
    &:focus, &:hover {
      text-decoration-line: none;
    }
  }

  // Apply a subtle dimming effect to the link, I find this is often used with
  // white text on a dark background when the links are also white.
  [data-bk-links~="dim"] & {
    opacity: $link-dim-value;
  }

  [data-bk-links~="h:dim"] & {
    &:focus, &:hover {
      opacity: $link-dim-value;
    }
  }

  [data-bk-links~="no-dim"] & {
    opacity: 1;
  }

  [data-bk-links~="h:no-dim"] & {
    &:focus, &:hover {
      opacity: 1;
    }
  }
}
{'fraction_non_alphanumeric': 0.2175538084804743, 'fraction_numerical': 0.0005155303518494652, 'mean_word_length': 2.734359961501444, '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': '5314992', 'n_tokens_mistral': 2831, 'n_tokens_neox': 2617, 'n_words': 615}