Sha256: 17f4fa085a2a922c42b88d0c57ba110b0ca62853f6fec4c3c74f62f452d40ae8

Contents?: true

Size: 323 Bytes

Versions: 1

Compression:

Stored size: 323 Bytes

Contents

<script>
  const color = "<%= BulletTrain::Themes::Light.color %>"
  const secondaryColor = "<%= BulletTrain::Themes::Light.secondary_color %>"

  if (color) document.documentElement.classList.add(`theme-${color}`)
  if (secondaryColor) document.documentElement.classList.add(`theme-secondary-${secondaryColor}`)
</script>

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
bullet_train-themes-light-1.3.0 app/views/showcase/engine/_head.html.erb