lib/drawio_dsl/schema/diagram.rb in drawio_dsl-0.8.11 vs lib/drawio_dsl/schema/diagram.rb in drawio_dsl-0.9.0
- old
+ new
@@ -33,10 +33,10 @@
theme_palette = KConfig.configuration.drawio.palette(diagram.theme)
# Inherit from theme when specific palette options are not specified.
@fill_color ||= theme_palette.fill_color
@stroke_color ||= theme_palette.stroke_color
- @font_color ||= theme_palette.font_color
+ @font_color ||= theme_palette.element_font_color
@gradient ||= theme_palette.gradient
end
@pages = args[:pages] || []
end