<commit_before>/// Color of the gradient
/// @group page-colors
$page-shadow-color: #000 !default;

/// Color of the gradient on inverted pages
/// @group page-colors
$page-shadow-inverted-color: #fff !default;

/// Name of image file in theme directory to display behind the shadow
$page-shadow-image: null !default;

/// Opactiy of shadow image
$page-shadow-image-opacity: null !default;

/// Background position of shadow image
$page-shadow-image-position: right bottom !default;

/// Background size of shadow image
$page-shadow-image-size: contain !default;

/// Background size of shadow image in mobile layout.
$page-shadow-mobile-image-size: null !default;

.page {
  @if $page-shadow-image {
    .shadow::after {
      content: "";
      background-image: image-url("pageflow/themes/#{$theme-name}/#{$page-shadow-image}");
      background-size: $page-shadow-image-size;
      background-repeat: no-repeat;
      background-position: $page-shadow-image-position;
      opacity: $page-shadow-image-opacity;
      position: absolute;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;

      @include mobile {
        background-size: $page-shadow-mobile-image-size;
      }
    }
  }

  .shadow {
    @include shadow-start($page-shadow-color);
  }

  &.text_position_right .shadow {
    @include shadow-end($page-shadow-color);<commit_msg>Do not couple page shadow image to shadow opacity<commit_after>/// Color of the gradient
/// @group page-colors
$page-shadow-color: #000 !default;

/// Color of the gradient on inverted pages
/// @group page-colors
$page-shadow-inverted-color: #fff !default;

/// Name of image file in theme directory to display behind the shadow
$page-shadow-image: null !default;

/// Opactiy of shadow image
$page-shadow-image-opacity: null !default;

/// Background position of shadow image
$page-shadow-image-position: right bottom !default;

/// Background size of shadow image
$page-shadow-image-size: contain !default;

/// Background size of shadow image in mobile layout.
$page-shadow-mobile-image-size: null !default;

.page {
  @if $page-shadow-image {
    .shadow_wrapper::after {
      content: "";
      background-image: image-url("pageflow/themes/#{$theme-name}/#{$page-shadow-image}");
      background-size: $page-shadow-image-size;
      background-repeat: no-repeat;
      background-position: $page-shadow-image-position;
      opacity: $page-shadow-image-opacity;
      position: absolute;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      @include transition(opacity 0.2s linear);

      @include mobile {
        background-size: $page-shadow-mobile-image-size;
      }

      .hideText & {
        opacity: 0;
      }
    }

    .video_page.should_play .shadow_wrapper::after {
      opacity: 0;
    }
  }

  .shadow {
    @include shadow-start($page-shadow-color);
  }

  &.text_position_right .shadow {
    @include shadow-end($page-shadow-color);
{'fraction_non_alphanumeric': 0.13844587716321682, 'fraction_numerical': 0.008822531387852052, 'mean_word_length': 2.9517426273458445, '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': '5759654', 'n_tokens_mistral': 919, 'n_tokens_neox': 881, 'n_words': 234}