app/views/playbook/pages/kit_show.html.erb in playbook_ui-6.6.1 vs app/views/playbook/pages/kit_show.html.erb in playbook_ui-6.7.0.pre.alpha1

- old
+ new

@@ -1,8 +1,8 @@ -<div class="pb--kit-show #{@kit}-kit"> +<div class="pb--kit-show <%=@kit%>-kit"> <%= pb_rails("title", props: { text: pb_kit_title(@kit), tag: "h1", size: 1 }) %> - <div class="markdown"> + <div class="markdown <%= cookies[:dark_mode] == "true" ? 'dark' : '' %>"> <%= markdown(get_kit_description(@kit)) %> </div> </div> <div> <div class="pb--kit-type-nav"> @@ -16,17 +16,17 @@ <% end %> <%= pb_rails("section_separator") %> </div> <% if (action_name == "kit_show_rails") %> <%= pb_kit(kit: @kit) %> - <div class="markdown"> + <div class="markdown <%= cookies[:dark_mode]== "true" ? 'dark' : '' %>"> <br> <%= markdown(get_kit_footer(@kit)) %> </div> <%= pb_kit_api(@kit) %> <% else %> <%= pb_kit(kit: @kit, type: "react") %> - <div class="markdown"> + <div class="markdown <%= cookies[:dark_mode] == "true" ? 'dark' : '' %>"> <br> <%= markdown(get_kit_footer(@kit)) %> </div> <% end %> </div>