app/components/lookbook/code/component.html.erb in lookbook-1.3.1 vs app/components/lookbook/code/component.html.erb in lookbook-1.3.3
- old
+ new
@@ -1,10 +1,11 @@
<%= render_component_tag class: [
"not-prose font-mono #{theme_classname}",
{
"numbered": numbered?,
"focussed": focussed?,
- "h-full": full_height?
+ "h-full": full_height?,
+ "dark": is_dark?
}
] do %>
<%= Lookbook::CodeHighlighter.call(source, **@highlight_opts) %>
<% end %>
\ No newline at end of file