drawio_dsl 0.9.0 → 0.10.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -5,14 +5,13 @@ module DrawioDsl
5
5
  # Configuration container for the DrawIO DSL
6
6
  class Configuration
7
7
  include DrawioDsl::ConfigurationShapes
8
- include DrawioDsl::ConfigurationThemes
9
8
 
10
9
  include KLog::Logging
11
10
 
12
- BaseStyle = Struct.new(:white_space, :html, :rounded, :shadow, :sketch, :glass, keyword_init: true)
11
+ BaseStyle = Struct.new(:white_space, :html, :rounded, :shadow, :sketch, :glass, keyword_init: true)
13
12
  ElementConfig = Struct.new(:type, :x, :y, :w, :h, :style_modifiers, keyword_init: true)
14
- LineConfig = Struct.new(:type, :x, :y, :w, :h, :style_modifiers, keyword_init: true)
15
- TextConfig = Struct.new(:type, :x, :y, :w, :h, :style_modifiers, keyword_init: true)
13
+ LineConfig = Struct.new(:type, :x, :y, :w, :h, :style_modifiers, keyword_init: true)
14
+ TextConfig = Struct.new(:type, :x, :y, :w, :h, :style_modifiers, keyword_init: true)
16
15
 
17
16
  attr_accessor :base_style
18
17
 
@@ -21,16 +20,8 @@ module DrawioDsl
21
20
  def initialize
22
21
  @base_style = BaseStyle.new(white_space: :wrap, html: 1, rounded: nil, shadow: nil, sketch: nil, glass: nil)
23
22
 
23
+ # TODO: these need to be removed
24
24
  add_shapes
25
- add_themes
26
- end
27
-
28
- def palette(theme)
29
- themes[theme]
30
- end
31
-
32
- def random_theme
33
- themes.keys.sample
34
25
  end
35
26
 
36
27
  def stroke(type)
@@ -130,6 +121,10 @@ module DrawioDsl
130
121
  @connector ||= Connector.new(source_config['connector'])
131
122
  end
132
123
 
124
+ def theme
125
+ @theme ||= Theme.new(source_config['theme'])
126
+ end
127
+
133
128
  def source_config
134
129
  return @source_config if defined? @source_config
135
130
 
@@ -209,6 +204,83 @@ module DrawioDsl
209
204
  @designs
210
205
  end
211
206
  end
207
+
208
+ class Theme
209
+ attr_reader :source_config
210
+
211
+ BackgroundThemeConfig = Struct.new(:type, :bg_color, :font_color, keyword_init: true)
212
+ ElementThemeConfig = Struct.new(:type, :fill_color, :stroke_color, :font_color, :gradient, keyword_init: true)
213
+
214
+ def initialize(source_config)
215
+ @source_config = source_config
216
+ end
217
+
218
+ def background(type)
219
+ backgrounds[type] || BackgroundThemeConfig.new(
220
+ type: type,
221
+ bg_color: '#000000',
222
+ font_color: '#ffffff'
223
+ )
224
+ end
225
+
226
+ def backgrounds
227
+ return @backgrounds if defined? @backgrounds
228
+
229
+ @backgrounds = {}
230
+ source_config['backgrounds'].each do |background|
231
+ @backgrounds[background['type'].to_sym] = BackgroundThemeConfig.new(
232
+ type: background['type'].to_sym,
233
+ bg_color: background['bg_color'],
234
+ font_color: background['font_color']
235
+ )
236
+ end
237
+
238
+ @backgrounds
239
+ end
240
+
241
+ def background_types
242
+ backgrounds.keys
243
+ end
244
+
245
+ def random_background_type
246
+ backgrounds.values.sample.type
247
+ end
248
+
249
+ def element(type)
250
+ elements[type] || ElementThemeConfig.new(
251
+ type: type,
252
+ fill_color: '#ffffff',
253
+ stroke_color: '#000000',
254
+ font_color: '#000000',
255
+ gradient: nil
256
+ )
257
+ end
258
+
259
+ def elements
260
+ return @elements if defined? @elements
261
+
262
+ @elements = {}
263
+ source_config['elements'].each do |element|
264
+ @elements[element['type'].to_sym] = ElementThemeConfig.new(
265
+ type: element['type'].to_sym,
266
+ fill_color: element['fill_color'],
267
+ stroke_color: element['stroke_color'],
268
+ font_color: element['font_color'],
269
+ gradient: element['gradient']
270
+ )
271
+ end
272
+
273
+ @elements
274
+ end
275
+
276
+ def element_types
277
+ elements.keys
278
+ end
279
+
280
+ def random_element_type
281
+ elements.values.sample.type
282
+ end
283
+ end
212
284
  end
213
285
  end
214
286
 
@@ -59,13 +59,13 @@ module DrawioDsl
59
59
  @shapes = Shapes.new(
60
60
  shape: ShapeDefaults.new(type: :shape, category: :element, x: 0, y: 0, w: 20, h: 20, style_modifiers: ''),
61
61
  solid: ShapeDefaults.new(type: :solid, x: 0, category: :line, y: 0, w: 50, h: 50, style_modifiers: 'edgeStyle=none;exitX=1;exitY=0.5;exitDx=0;exitDy=0;entryX=0;entryY=0.5;entryDx=0;entryDy=0'),
62
- h1: ShapeDefaults.new(type: :h1, x: 0, category: :text, y: 0, w: 100, h: 50, style_modifiers: 'text;fontSize=89;fontColor=#ffffff;fontStyle=1;fillColor=none'),
63
- h2: ShapeDefaults.new(type: :h2, x: 0, category: :text, y: 0, w: 100, h: 50, style_modifiers: 'text;fontSize=67;fontColor=#ffffff;fontStyle=1;fillColor=none'),
64
- h3: ShapeDefaults.new(type: :h3, x: 0, category: :text, y: 0, w: 100, h: 50, style_modifiers: 'text;fontSize=50;fontColor=#ffffff;fontStyle=1;fillColor=none'),
65
- h4: ShapeDefaults.new(type: :h4, x: 0, category: :text, y: 0, w: 100, h: 50, style_modifiers: 'text;fontSize=37;fontColor=#ffffff;fontStyle=1;fillColor=none'),
66
- h5: ShapeDefaults.new(type: :h5, x: 0, category: :text, y: 0, w: 100, h: 50, style_modifiers: 'text;fontSize=28;fontColor=#ffffff;fontStyle=1;fillColor=none'),
67
- h6: ShapeDefaults.new(type: :h6, x: 0, category: :text, y: 0, w: 100, h: 50, style_modifiers: 'text;fontSize=21;fontColor=#ffffff;fontStyle=1;fillColor=none'),
68
- p: ShapeDefaults.new(type: :p, x: 0, category: :text, y: 0, w: 100, h: 50, style_modifiers: 'text;fontSize=16;fontColor=#ffffff;fontStyle=1;fillColor=none'),
62
+ h1: ShapeDefaults.new(type: :h1, x: 0, category: :text, y: 0, w: 100, h: 50, style_modifiers: 'text;fontSize=89;fontStyle=1;fillColor=none'),
63
+ h2: ShapeDefaults.new(type: :h2, x: 0, category: :text, y: 0, w: 100, h: 50, style_modifiers: 'text;fontSize=67;fontStyle=1;fillColor=none'),
64
+ h3: ShapeDefaults.new(type: :h3, x: 0, category: :text, y: 0, w: 100, h: 50, style_modifiers: 'text;fontSize=50;fontStyle=1;fillColor=none'),
65
+ h4: ShapeDefaults.new(type: :h4, x: 0, category: :text, y: 0, w: 100, h: 50, style_modifiers: 'text;fontSize=37;fontStyle=1;fillColor=none'),
66
+ h5: ShapeDefaults.new(type: :h5, x: 0, category: :text, y: 0, w: 100, h: 50, style_modifiers: 'text;fontSize=28;fontStyle=1;fillColor=none'),
67
+ h6: ShapeDefaults.new(type: :h6, x: 0, category: :text, y: 0, w: 100, h: 50, style_modifiers: 'text;fontSize=21;fontStyle=1;fillColor=none'),
68
+ p: ShapeDefaults.new(type: :p, x: 0, category: :text, y: 0, w: 100, h: 50, style_modifiers: 'text;fontSize=16;fontStyle=1;fillColor=none'),
69
69
  actor: ShapeDefaults.new(type: :actor, x: 0, category: :element, y: 0, w: 40, h: 50, style_modifiers: 'shape=actor'),
70
70
  actor2: ShapeDefaults.new(type: :actor2, x: 0, category: :element, y: 0, w: 30, h: 50, style_modifiers: 'shape=umlActor;verticalLabelPosition=bottom;outlineConnect=1'),
71
71
  callout: ShapeDefaults.new(type: :callout, x: 0, category: :element, y: 0, w: 160, h: 120, style_modifiers: 'shape=callout'),
@@ -6,16 +6,17 @@ module DrawioDsl
6
6
  class Diagram
7
7
  attr_accessor :host
8
8
  attr_accessor :theme
9
+ attr_accessor :bg_theme
9
10
  attr_accessor :style
10
11
  attr_accessor :palette
11
12
  attr_accessor :pages
12
13
 
13
14
  # rubocop:disable Metrics/AbcSize, Metrics/CyclomaticComplexity, Metrics/PerceivedComplexity
14
15
  def initialize(**args)
15
- @host = args[:host] || SecureRandom.alphanumeric(3)
16
-
17
- # Apply a random theme to the diagram if none is specified.
18
- @theme = args[:theme] || KConfig.configuration.drawio.random_theme
16
+ @host = args[:host] || SecureRandom.alphanumeric(3)
17
+ # TODO: assess and resolve this inconsistency
18
+ @theme = args[:theme] || KConfig.configuration.drawio.theme.random_background_type
19
+ @bg_theme = args[:bg_theme] || :not_set
19
20
 
20
21
  @style = DrawioDsl::Schema::CommonStyle.new(**args) do
21
22
  default_style = KConfig.configuration.drawio.base_style
@@ -30,19 +31,24 @@ module DrawioDsl
30
31
  end
31
32
 
32
33
  @palette = DrawioDsl::Schema::DefaultPalette.new(self, **args) do |diagram|
33
- theme_palette = KConfig.configuration.drawio.palette(diagram.theme)
34
-
35
- # Inherit from theme when specific palette options are not specified.
36
- @fill_color ||= theme_palette.fill_color
37
- @stroke_color ||= theme_palette.stroke_color
38
- @font_color ||= theme_palette.element_font_color
39
- @gradient ||= theme_palette.gradient
34
+ @fill_color ||= diagram.theme_palette.fill_color
35
+ @stroke_color ||= diagram.theme_palette.stroke_color
36
+ @font_color ||= diagram.theme_palette.font_color
37
+ @gradient ||= diagram.theme_palette.gradient
40
38
  end
41
39
 
42
40
  @pages = args[:pages] || []
43
41
  end
44
42
  # rubocop:enable Metrics/AbcSize, Metrics/CyclomaticComplexity, Metrics/PerceivedComplexity
45
43
 
44
+ def theme_palette
45
+ @theme_palette ||= KConfig.configuration.drawio.theme.element(theme)
46
+ end
47
+
48
+ def bg_theme_palette
49
+ @bg_theme_palette ||= KConfig.configuration.drawio.theme.background(bg_theme)
50
+ end
51
+
46
52
  def to_h
47
53
  {
48
54
  host: host,
@@ -16,7 +16,7 @@ module DrawioDsl
16
16
  @fill_color = args[:fill_color] || theme_palette.fill_color
17
17
  @stroke_color = args[:stroke_color] || theme_palette.stroke_color
18
18
  @gradient = args[:gradient] || theme_palette.gradient
19
- @font_color = args[:font_color] || theme_palette.element_font_color
19
+ @font_color = args[:font_color] || theme_palette.font_color
20
20
  end
21
21
  end
22
22
  end
@@ -14,6 +14,7 @@ module DrawioDsl
14
14
  attr_accessor :active
15
15
  attr_reader :name
16
16
  attr_reader :theme
17
+ attr_reader :bg_theme
17
18
  attr_reader :style
18
19
  attr_reader :palette
19
20
  attr_reader :margin_left
@@ -43,7 +44,9 @@ module DrawioDsl
43
44
  @active = args[:active].nil? ? true : !args[:active].nil?
44
45
  @name = args[:name]
45
46
  @theme = args[:theme] || diagram.theme
47
+ @bg_theme = args[:bg_theme] || diagram.bg_theme
46
48
 
49
+ puts "Page has theme: #{theme}"
47
50
  # cursor positioning is used by the layout engine
48
51
  @position_x = 0
49
52
  @position_y = 0
@@ -64,7 +67,7 @@ module DrawioDsl
64
67
  @page_scale = args[:page_scale] || 1
65
68
  @page_width = args[:page_width] || 1169 # A4
66
69
  @page_height = args[:page_height] || 827 # A4
67
- @background = args[:background] || '#FFFACD'
70
+ @background = args[:background] || bg_theme_palette.bg_color
68
71
  @page_shadow = args[:page_shadow] || 0
69
72
  @math = args[:math] || 0
70
73
 
@@ -82,7 +85,7 @@ module DrawioDsl
82
85
  # Inherit from theme when specific palette options are not specified.
83
86
  @fill_color ||= page.theme_palette.fill_color
84
87
  @stroke_color ||= page.theme_palette.stroke_color
85
- @font_color ||= page.theme_palette.element_font_color
88
+ @font_color ||= page.theme_palette.font_color
86
89
  @gradient ||= page.theme_palette.gradient
87
90
  end
88
91
 
@@ -100,7 +103,11 @@ module DrawioDsl
100
103
  end
101
104
 
102
105
  def theme_palette
103
- @theme_palette ||= KConfig.configuration.drawio.palette(theme)
106
+ @theme_palette ||= KConfig.configuration.drawio.theme.element(theme)
107
+ end
108
+
109
+ def bg_theme_palette
110
+ @bg_theme_palette ||= KConfig.configuration.drawio.theme.background(bg_theme)
104
111
  end
105
112
 
106
113
  def as_xml(xml)
@@ -142,7 +142,12 @@ module DrawioDsl
142
142
  end
143
143
 
144
144
  def theme_palette
145
- @theme_palette ||= KConfig.configuration.drawio.palette(theme)
145
+ @theme_palette ||= KConfig.configuration.drawio.theme.element(theme)
146
+ end
147
+
148
+ # TODO: test
149
+ def bg_theme_palette
150
+ @bg_theme_palette ||= KConfig.configuration.drawio.theme.background(bg_theme)
146
151
  end
147
152
 
148
153
  # :nocov:
@@ -16,7 +16,7 @@ module DrawioDsl
16
16
  @fill_color = args[:fill_color]
17
17
  @stroke_color = args[:stroke_color]
18
18
  @gradient = args[:gradient]
19
- @font_color = args[:font_color] || theme_palette.text_font_color
19
+ @font_color = args[:font_color] || page.bg_theme_palette.font_color
20
20
  end
21
21
  end
22
22
  end
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module DrawioDsl
4
- VERSION = '0.9.0'
4
+ VERSION = '0.10.0'
5
5
  end
data/lib/drawio_dsl.rb CHANGED
@@ -16,7 +16,6 @@ end
16
16
 
17
17
  require_relative 'drawio_dsl/configuration_extension'
18
18
  require_relative 'drawio_dsl/configuration_shapes'
19
- require_relative 'drawio_dsl/configuration_themes'
20
19
  require_relative 'drawio_dsl/configuration'
21
20
  require_relative 'drawio_dsl/version'
22
21
  require_relative 'drawio_dsl/formatters/_'
data/package-lock.json CHANGED
@@ -1,12 +1,12 @@
1
1
  {
2
2
  "name": "drawio_dsl",
3
- "version": "0.9.0",
3
+ "version": "0.10.0",
4
4
  "lockfileVersion": 2,
5
5
  "requires": true,
6
6
  "packages": {
7
7
  "": {
8
8
  "name": "drawio_dsl",
9
- "version": "0.9.0",
9
+ "version": "0.10.0",
10
10
  "devDependencies": {
11
11
  "@klueless-js/semantic-release-rubygem": "github:klueless-js/semantic-release-rubygem",
12
12
  "@semantic-release/changelog": "^6.0.1",
data/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "drawio_dsl",
3
- "version": "0.9.0",
3
+ "version": "0.10.0",
4
4
  "description": "DrawIO DSL can build DrawIO diagrams using a Domain Specific Language",
5
5
  "scripts": {
6
6
  "release": "semantic-release"
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: drawio_dsl
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.9.0
4
+ version: 0.10.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - David Cruwys
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2022-03-23 00:00:00.000000000 Z
11
+ date: 2022-03-24 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: k_config
@@ -282,7 +282,6 @@ files:
282
282
  - lib/drawio_dsl/configuration.rb
283
283
  - lib/drawio_dsl/configuration_extension.rb
284
284
  - lib/drawio_dsl/configuration_shapes.rb
285
- - lib/drawio_dsl/configuration_themes.rb
286
285
  - lib/drawio_dsl/dom_builder.rb
287
286
  - lib/drawio_dsl/dom_builder_shapes.rb
288
287
  - lib/drawio_dsl/drawio.rb
@@ -1,63 +0,0 @@
1
- # frozen_string_literal: true
2
-
3
- # Attach configuration to the DrawIO DSL module
4
- module DrawioDsl
5
- # Configuration for each theme
6
- module ConfigurationThemes
7
- ShapeThemeStyle = Struct.new(:fill_color, :stroke_color, :gradient, :element_font_color, :text_font_color, keyword_init: true)
8
-
9
- attr_accessor :themes
10
-
11
- def add_theme(name, **opts)
12
- @themes[name] = ShapeThemeStyle.new(**opts)
13
- end
14
-
15
- def add_themes
16
- @themes = {}
17
-
18
- add_theme(:style_01 , fill_color: '#f5f5f5', stroke_color: '#666666', gradient: nil , element_font_color: '#333333', text_font_color: '#aaaaaa')
19
- add_theme(:style_02 , fill_color: '#dae8fc', stroke_color: '#6c8ebf', gradient: nil , element_font_color: '#333333', text_font_color: '#aaaaaa')
20
- add_theme(:style_03 , fill_color: '#d5e8d4', stroke_color: '#82b366', gradient: nil , element_font_color: '#333333', text_font_color: '#aaaaaa')
21
- add_theme(:style_04 , fill_color: '#ffe6cc', stroke_color: '#d79b00', gradient: nil , element_font_color: '#333333', text_font_color: '#aaaaaa')
22
- add_theme(:style_05 , fill_color: '#fff2cc', stroke_color: '#d6b656', gradient: nil , element_font_color: '#333333', text_font_color: '#aaaaaa')
23
- add_theme(:style_06 , fill_color: '#f8cecc', stroke_color: '#b85450', gradient: nil , element_font_color: '#333333', text_font_color: '#aaaaaa')
24
- add_theme(:style_07 , fill_color: '#e1d5e7', stroke_color: '#9673a6', gradient: nil , element_font_color: '#333333', text_font_color: '#aaaaaa')
25
- add_theme(:style_08 , fill_color: '#60a917', stroke_color: '#2D7600', gradient: nil , element_font_color: '#ffffff', text_font_color: '#aaaaaa')
26
- add_theme(:style_09 , fill_color: '#008a00', stroke_color: '#005700', gradient: nil , element_font_color: '#ffffff', text_font_color: '#aaaaaa')
27
- add_theme(:style_10 , fill_color: '#1ba1e2', stroke_color: '#006EAF', gradient: nil , element_font_color: '#ffffff', text_font_color: '#aaaaaa')
28
- add_theme(:style_11 , fill_color: '#0050ef', stroke_color: '#001DBC', gradient: nil , element_font_color: '#ffffff', text_font_color: '#aaaaaa')
29
- add_theme(:style_12 , fill_color: '#6a00ff', stroke_color: '#3700CC', gradient: nil , element_font_color: '#ffffff', text_font_color: '#aaaaaa')
30
- add_theme(:style_13 , fill_color: '#aa00ff', stroke_color: '#7700CC', gradient: nil , element_font_color: '#ffffff', text_font_color: '#aaaaaa')
31
- add_theme(:style_14 , fill_color: '#d80073', stroke_color: '#A50040', gradient: nil , element_font_color: '#ffffff', text_font_color: '#aaaaaa')
32
- add_theme(:style_15 , fill_color: '#a20025', stroke_color: '#6F0000', gradient: nil , element_font_color: '#ffffff', text_font_color: '#aaaaaa')
33
- add_theme(:style_16 , fill_color: '#e51400', stroke_color: '#B20000', gradient: nil , element_font_color: '#ffffff', text_font_color: '#aaaaaa')
34
- add_theme(:style_17 , fill_color: '#fa6800', stroke_color: '#C73500', gradient: nil , element_font_color: '#000000', text_font_color: '#aaaaaa')
35
- add_theme(:style_18 , fill_color: '#f0a30a', stroke_color: '#BD7000', gradient: nil , element_font_color: '#000000', text_font_color: '#aaaaaa')
36
- add_theme(:style_19 , fill_color: '#e3c800', stroke_color: '#B09500', gradient: nil , element_font_color: '#000000', text_font_color: '#aaaaaa')
37
- add_theme(:style_20 , fill_color: '#6d8764', stroke_color: '#3A5431', gradient: nil , element_font_color: '#ffffff', text_font_color: '#aaaaaa')
38
- add_theme(:style_21 , fill_color: '#647687', stroke_color: '#314354', gradient: nil , element_font_color: '#ffffff', text_font_color: '#aaaaaa')
39
- add_theme(:style_22 , fill_color: '#76608a', stroke_color: '#432D57', gradient: nil , element_font_color: '#ffffff', text_font_color: '#aaaaaa')
40
- add_theme(:style_23 , fill_color: '#a0522d', stroke_color: '#6D1F00', gradient: nil , element_font_color: '#ffffff', text_font_color: '#aaaaaa')
41
- add_theme(:style_24 , fill_color: '#fad7ac', stroke_color: '#b46504', gradient: nil , element_font_color: '#333333', text_font_color: '#aaaaaa')
42
- add_theme(:style_25 , fill_color: '#fad9d5', stroke_color: '#ae4132', gradient: nil , element_font_color: '#333333', text_font_color: '#aaaaaa')
43
- add_theme(:style_26 , fill_color: '#b0e3e6', stroke_color: '#0e8088', gradient: nil , element_font_color: '#000000', text_font_color: '#aaaaaa')
44
- add_theme(:style_27 , fill_color: '#b1ddf0', stroke_color: '#10739e', gradient: nil , element_font_color: '#000000', text_font_color: '#aaaaaa')
45
- add_theme(:style_28 , fill_color: '#d0cee2', stroke_color: '#56517e', gradient: nil , element_font_color: '#000000', text_font_color: '#aaaaaa')
46
- add_theme(:style_29 , fill_color: '#bac8d3', stroke_color: '#23445d', gradient: nil , element_font_color: '#000000', text_font_color: '#aaaaaa')
47
- add_theme(:style_30 , fill_color: '#f5f5f5', stroke_color: '#666666', gradient: '#b3b3b3', element_font_color: '#000000', text_font_color: '#aaaaaa')
48
- add_theme(:style_31 , fill_color: '#dae8fc', stroke_color: '#6c8ebf', gradient: '#7ea6e0', element_font_color: '#000000', text_font_color: '#aaaaaa')
49
- add_theme(:style_32 , fill_color: '#d5e8d4', stroke_color: '#82b366', gradient: '#97d077', element_font_color: '#000000', text_font_color: '#aaaaaa')
50
- add_theme(:style_33 , fill_color: '#ffcd28', stroke_color: '#d79b00', gradient: '#ffa500', element_font_color: '#000000', text_font_color: '#aaaaaa')
51
- add_theme(:style_34 , fill_color: '#fff2cc', stroke_color: '#d6b656', gradient: '#ffd966', element_font_color: '#000000', text_font_color: '#aaaaaa')
52
- add_theme(:style_35 , fill_color: '#f8cecc', stroke_color: '#b85450', gradient: '#ea6b66', element_font_color: '#000000', text_font_color: '#aaaaaa')
53
- add_theme(:style_36 , fill_color: '#e6d0de', stroke_color: '#996185', gradient: '#d5739d', element_font_color: '#000000', text_font_color: '#aaaaaa')
54
- add_theme(:style_37 , fill_color: '#eeeeee', stroke_color: '#36393d', gradient: nil , element_font_color: '#000000', text_font_color: '#aaaaaa')
55
- add_theme(:style_38 , fill_color: '#f9f7ed', stroke_color: '#36393d', gradient: nil , element_font_color: '#000000', text_font_color: '#aaaaaa')
56
- add_theme(:style_39 , fill_color: '#ffcc99', stroke_color: '#36393d', gradient: nil , element_font_color: '#000000', text_font_color: '#aaaaaa')
57
- add_theme(:style_40 , fill_color: '#cce5ff', stroke_color: '#36393d', gradient: nil , element_font_color: '#000000', text_font_color: '#aaaaaa')
58
- add_theme(:style_41 , fill_color: '#ffff88', stroke_color: '#36393d', gradient: nil , element_font_color: '#000000', text_font_color: '#aaaaaa')
59
- add_theme(:style_42 , fill_color: '#cdeb8b', stroke_color: '#36393d', gradient: nil , element_font_color: '#000000', text_font_color: '#aaaaaa')
60
- add_theme(:style_43 , fill_color: '#ffcccc', stroke_color: '#36393d', gradient: nil , element_font_color: '#000000', text_font_color: '#aaaaaa')
61
- end
62
- end
63
- end