<commit_before>.spec-editor {
  display: grid;
  width: 100%;
  height: 100%;

  grid-template-areas: 'appheader appheader' 'body-left body-right';
  grid-template-rows: auto 1fr;
  grid-template-columns: 1fr 1fr;

  border-left: 1px solid var(--hl-md);

  &.preview-hidden {
    grid-template-columns: 1fr 0;
  }

  &__header {
    grid-area: header;
    background: var(--color-bg);
    color: var(--color-font);
    display: flex;
    flex-direction: row;
    align-items: center;
    border-bottom: 1px solid var(--hl-md);

    &__buttons {
      margin-left: auto;

      & > button {
        align-self: stretch;
        height: 100%;
        background: none;
        border: none !important;
      }
    }

    h1 {
      padding: 0 var(--padding-md);
      margin: 0;
    }
  }

  &__body {
    grid-area: body-left;
    background: var(--color-bg);
    color: var(--color-font);
    display: grid;
    grid-template-columns: 100%;
    grid-template-rows: 1fr auto;
  }
}

#swagger-ui-wrapper {
  border-left: 1px solid var(--hl-sm);
  overflow-y: scroll;
  grid-area: body-right;

  .nostyle,
  .renderedMarkdown,
  h2,
  h4,
  p,
  .model-box,
  .model-title,
  .opblock-summary-description,
  .opblock-title,
  .try-out__btn,
  .col_header,
  .header-col,
  .response,
  .response-col_status,
  .response-col_description,
  .response-col_links,
  .parameter__name,
  .parameter__type {
    color: var(--color-font);
    font-weight: inherit;
  }

  .model {
    & .model {
      color: var(--color-font);
    }
  }

  .scheme-container {
    background: none;
  }

  section.schemes {
    div:first-child {

      &:not('.modal-ux-header') {
        float: left;
      }

      .servers-title {
        line-height: var(--line-height-xs);
      }
    }

    .auth-wrapper {
      padding-top: var(--padding-sm);
    }
  }

  .model-toggle:after {
    background-color: var(--hl-md);
  }<commit_msg>Code block and render error coloring for dark/light themes (#2156)<commit_after>.spec-editor {
  display: grid;
  width: 100%;
  height: 100%;

  grid-template-areas: 'appheader appheader' 'body-left body-right';
  grid-template-rows: auto 1fr;
  grid-template-columns: 1fr 1fr;

  border-left: 1px solid var(--hl-md);

  &.preview-hidden {
    grid-template-columns: 1fr 0;
  }

  &__header {
    grid-area: header;
    background: var(--color-bg);
    color: var(--color-font);
    display: flex;
    flex-direction: row;
    align-items: center;
    border-bottom: 1px solid var(--hl-md);

    &__buttons {
      margin-left: auto;

      & > button {
        align-self: stretch;
        height: 100%;
        background: none;
        border: none !important;
      }
    }

    h1 {
      padding: 0 var(--padding-md);
      margin: 0;
    }
  }

  &__body {
    grid-area: body-left;
    background: var(--color-bg);
    color: var(--color-font);
    display: grid;
    grid-template-columns: 100%;
    grid-template-rows: 1fr auto;
  }
}

#swagger-ui-wrapper {
  border-left: 1px solid var(--hl-sm);
  overflow-y: scroll;
  grid-area: body-right;

  .nostyle,
  .renderedMarkdown,
  h2,
  h4,
  p,
  .model-box,
  .model-title,
  .opblock-summary-description,
  .opblock-title,
  .try-out__btn,
  .col_header,
  .header-col,
  .response,
  .response-col_status,
  .response-col_description,
  .response-col_links,
  .parameter__name,
  .parameter__type {
    color: var(--color-font);
    font-weight: inherit;
  }

  .model {
    & .model {
      color: var(--color-font);
    }
  }

  .version-pragma {
    color: var(--color-font);
  }

  code {
    color: var(--color-font);
    background-color: var(--hl-md);

  }

  .scheme-container {
    background: none;
  }

  section.schemes {
    div:first-child {

      &:not('.modal-ux-header') {
        float: left;
      }

      .servers-title {
        line-height: var(--line-height-xs);
      }
    }

    .auth-wrapper {
      padding-top: var(--padding-sm);
    }
  }

  .model-toggle:after {
    background-color: var(--hl-md);
  }
{'fraction_non_alphanumeric': 0.158144175604889, 'fraction_numerical': 0.013968570715889249, 'mean_word_length': 2.1328125, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 5, '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': '4497992', 'n_tokens_mistral': 1552, 'n_tokens_neox': 1464, 'n_words': 273}