:root {
  /* default theme color */
  /* can be overrided by uses `themeConfig` option */
  --slidev-theme-primary: #f3eff5;

  /* Custom colors*/
  --slidev-theme-color: #f3eff5;
  --slidev-theme-background: #272936;

  /* Text sizes */
  --slidev-theme-font-size: 1.1em;
  --slidev-theme-default-font-size: var(--slidev-theme-font-size);
  --slidev-theme-cover-font-size: var(--slidev-theme-font-size);
  --slidev-theme-section-font-size: var(--slidev-theme-font-size);
  --slidev-theme-center-font-size: var(--slidev-theme-font-size);
  --slidev-theme-two-columns-font-size: var(--slidev-theme-font-size);
  --slidev-theme-aboutme-font-size: var(--slidev-theme-font-size);
  --slidev-theme-code-font-size: 12px;

  /* Code colors */
  --slidev-theme-code-background: #0f131e;
  --slidev-theme-code-border: #242d34;
  
}
.dark #slide-content,
.dark .bg-main,
.slidev-layout {
  background: var(--slidev-theme-background);
  color: var(--slidev-theme-color);
}

#slide-content > footer {
  @apply text-gray-400;
}

html:not(.dark) #slide-content {
  /* light mode css here */
  @apply bg-white text-primary;
}

#slide-container {
  height: 100% !important;
}

.dark #slide-content {
  /* dark mode css here */
  @apply bg-primary-600 text-light-300;

  h1 {
    @apply text-secondary;
  }

  a {
    @apply text-secondary-300 hover:text-secondary-500;
  }
}

.slidev-layout {
  @apply relative h-full;
  font-size: 16px;

  h1 {
    @apply mb-8 mt-0;
  }

  h1,
  h2,
  h3,
  h4 {
    @apply font-display font-bold;
  }

  a {
    @apply text-secondary-400 hover:text-secondary-500 dark:text-gray-50 dark:hover:text-secondary-500 transition ease-in-out duration-300;
  }

  img {
    border-radius: 5px;
  }

  ul {
    @apply list-disc;
  }

  .prose > ul {
    li {
      margin-left: 0;
    }
  }

  ul.emoji-list {
    list-style: none;
    padding: 0;
    margin: 0;

    li {
      padding-left: 1rem;
      text-indent: -0.7rem;
    }

    li::before {
      content: '🐧 ';
    }
  }

  pre {
    font-size: 0.875rem !important;
  }

  :not(pre) > code {
    background: var(--slidev-theme-code-background);
    color: var(--slidev-theme-code-color, var(--slidev-theme-color));
  }

  blockquote {
    display: flex;
    align-items: center;
    background: var(--slidev-theme-code-background);
    color: var(--slidev-theme-color);
    border-color: #f141a8;
    border-left-width: 3px;
    font-size: var(--slidev-theme-font-size, 1.1em);
  }

  .slidev-code code {
    font-size: var(
      --slidev-theme-code-font-size,
      var(--slidev-code-font-size),
      1em
    ) !important;
  }
}
 
