import { css } from 'lit'

export default css`
  /**
 * prism.js default theme for JavaScript, CSS and HTML
 * Based on dabblet (http://dabblet.com)
 * @author Lea Verou
 */
  code[class*='language-'],
  pre[class*='language-'] {
    white-space: pre-wrap;
    word-spacing: normal;
    word-break: break-all;
    word-wrap: break-word;
    line-height: 1.5;
    tab-size: 4;
    hyphens: auto;
    display: block;

    font-family: var(--md-sys-typescale-body-medium-font);
    font-weight: var(--md-sys-typescale-body-medium-weight);
    font-size: var(--md-sys-typescale-body-medium-size);
    letter-spacing: var(--md-sys-typescale-body-medium-tracking);
    line-height: var(--md-sys-typescale-body-medium-height);
  }

  pre[class*='language-']::-moz-selection,
  pre[class*='language-']::-moz-selection,
  code[class*='language-']::-moz-selection,
  code[class*='language-']::-moz-selection {
    text-shadow: none;
    background: var(--prism-container-selection-background-color, #b3d4fc);
  }

  pre[class*='language-']::selection,
  pre[class*='language-']::selection,
  code[class*='language-']::selection,
  code[class*='language-']::selection {
    text-shadow: none;
    background: var(--prism-container-selection-background-color, #b3d4fc);
  }

  @media print {
    code[class*='language-'],
    pre[class*='language-'] {
      text-shadow: none;
    }
  }
  /* Code blocks */

  pre[class*='language-'] {
    padding: 1em;
    margin: 0.5em 0;
    overflow: auto;
  }

  :not(pre) > code[class*='language-'],
  pre[class*='language-'] {
    background: var(--md-sys-color-background, #f5f2f0);
    color: var(--md-sys-color-on-background);
  }
  /* Inline code */

  :not(pre) > code[class*='language-'] {
    padding: 0.1em;
    border-radius: 0.3em;
    white-space: normal;
  }

  .token.comment,
  .token.prolog,
  .token.doctype,
  .token.cdata {
    color: var(--code-token-comment-value-color, slategray);
  }

  .token.punctuation {
    color: var(--code-punctuation-value-color, #999);
  }

  .namespace {
    opacity: 0.7;
  }

  .token.property,
  .token.tag,
  .token.constant,
  .token.symbol,
  .token.deleted {
    color: var(--code-property-value-color, #905);
  }

  .token.number {
    color: var(--code-type-number-value-color, #905);
  }

  .token.boolean {
    color: var(--code-type-boolean-value-color, #905);
  }

  .token.selector,
  .token.attr-name,
  .token.string,
  .token.char,
  .token.builtin,
  .token.inserted {
    color: var(--code-type-text-value-color, #690);
  }

  .token.operator,
  .token.entity,
  .token.url,
  .language-css .token.string,
  .style .token.string {
    color: var(--code-operator-value-color, #a67f59);
    background-color: var(--code-operator-value-background-color, hsla(0, 0%, 100%, 0.5));
  }

  .token.atrule,
  .token.attr-value,
  .token.keyword {
    color: var(--code-keyword-value-color, #07a);
  }

  .token.function {
    color: var(--code-function-value-color, #dd4a68);
  }

  .token.regex,
  .token.important,
  .token.variable {
    color: var(--code-variable-value-color, #e90);
  }

  .token.important,
  .token.bold {
    font-weight: bold;
  }

  .token.italic {
    font-style: italic;
  }

  .token.entity {
    cursor: help;
  }

  .parsed-content {
    display: table;
  }
`
