.builders/generators/25-themes.rb in drawio_dsl-0.3.0 vs .builders/generators/25-themes.rb in drawio_dsl-0.4.0
- old
+ new
@@ -6,9 +6,12 @@
.init(k_builder)
.diagram(theme: :style_06)
.page('Style-Plain', margin_left: 0, margin_top: 0) do
grid_layout(wrap_at: 5)
+ square(title: 'The quick brown fox jumps over the lazy dog')
+ circle(title: 'Mary had a little lamb')
+
KConfig.configuration.drawio.themes.keys.each do |theme|
random(title: theme.to_s, theme: theme)
end
end