// This file is part of the “jQuery.Syntax” project, and is distributed under the MIT License. // Copyright © 2011 Samuel G. D. Williams. <www.oriontransfer.co.nz> // See <jquery.syntax.js> for licensing details.

pre code.syntax-theme-base

display: block

> span
  display: flex

.indent
  flex-grow: 0
  flex-shrink: 0

.text
  white-space: pre-wrap
  padding-left: 2ch
  text-indent: -2ch

.syntax-theme-base

a
  text-decoration: none
  color: inherit

.function
  color: #33f

.keyword, .access, .option
  color: darken(#a90d91, 10%)

.type
  color: #3239D6

.comment
  color: #6ac

.constant
  color: #1c00ce

.string, .symbol
  color: #c41a15

.string .escape
  color: #f99

.operator
  color: black

.href
  color: #0e0eff
  text-decoration: underline

.variable
  color: #466997

.highlight
  background-color: opacify(#fdfdba, 0.5)

@media (prefers-color-scheme: dark)

.syntax-theme-base
  .operator
    color: white

  .function
    color: #c59de7

  .keyword, .access, .option
    color: darken(#98c6ff, 20%)

  .type
    color: #37a4ff

  .comment
    color: #849fca

  .constant
    color: lighten(#9d7c31, 15%)

  .string, .symbol
    color: lighten(#e43c3a, 15%)

  .string .escape
    color: #f99

  .variable
    color: #6e6dff