lib/drawio_dsl/schema/diagram.rb in drawio_dsl-0.11.5 vs lib/drawio_dsl/schema/diagram.rb in drawio_dsl-0.11.6

- old
+ new

@@ -12,12 +12,11 @@ attr_accessor :pages # rubocop:disable Metrics/AbcSize, Metrics/CyclomaticComplexity, Metrics/PerceivedComplexity def initialize(**args) @host = args[:host] || SecureRandom.alphanumeric(3) - # TODO: assess and resolve this inconsistency - @theme = args[:theme] || KConfig.configuration.drawio.theme.random_background_key - @bg_theme = args[:bg_theme] || :not_set + @theme = args[:theme] || :style_02 + @bg_theme = args[:bg_theme] || :snow @style = DrawioDsl::Schema::CommonStyle.new(**args) do default_style = KConfig.configuration.drawio.base_style # Inherit from configured style when specific style not specified.