Sha256: 0bf5a22b5d2f176482a845754868907259c98173dfe99653372a25b7328174a0

Contents?: true

Size: 409 Bytes

Versions: 22

Compression:

Stored size: 409 Bytes

Contents

<%= stylesheet_link_tag "application" %>
<%= javascript_include_tag "application" %>

<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

22 entries across 22 versions & 1 rubygems

Version Path
bullet_train-themes-light-1.3.22 app/views/showcase/engine/_head.html.erb
bullet_train-themes-light-1.3.21 app/views/showcase/engine/_head.html.erb
bullet_train-themes-light-1.3.20 app/views/showcase/engine/_head.html.erb
bullet_train-themes-light-1.3.19 app/views/showcase/engine/_head.html.erb
bullet_train-themes-light-1.3.18 app/views/showcase/engine/_head.html.erb
bullet_train-themes-light-1.3.17 app/views/showcase/engine/_head.html.erb
bullet_train-themes-light-1.3.16 app/views/showcase/engine/_head.html.erb
bullet_train-themes-light-1.3.15 app/views/showcase/engine/_head.html.erb
bullet_train-themes-light-1.3.14 app/views/showcase/engine/_head.html.erb
bullet_train-themes-light-1.3.13 app/views/showcase/engine/_head.html.erb
bullet_train-themes-light-1.3.12 app/views/showcase/engine/_head.html.erb
bullet_train-themes-light-1.3.11 app/views/showcase/engine/_head.html.erb
bullet_train-themes-light-1.3.10 app/views/showcase/engine/_head.html.erb
bullet_train-themes-light-1.3.9 app/views/showcase/engine/_head.html.erb
bullet_train-themes-light-1.3.8 app/views/showcase/engine/_head.html.erb
bullet_train-themes-light-1.3.7 app/views/showcase/engine/_head.html.erb
bullet_train-themes-light-1.3.6 app/views/showcase/engine/_head.html.erb
bullet_train-themes-light-1.3.5 app/views/showcase/engine/_head.html.erb
bullet_train-themes-light-1.3.4 app/views/showcase/engine/_head.html.erb
bullet_train-themes-light-1.3.3 app/views/showcase/engine/_head.html.erb