brand.dev 1.0.0 → 1.2.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.
- checksums.yaml +4 -4
- data/CHANGELOG.md +33 -0
- data/README.md +1 -1
- data/lib/brand_dev/internal/util.rb +19 -6
- data/lib/brand_dev/models/brand_styleguide_params.rb +1 -26
- data/lib/brand_dev/models/brand_styleguide_response.rb +495 -246
- data/lib/brand_dev/models/brand_web_scrape_images_response.rb +4 -0
- data/lib/brand_dev/models/brand_web_scrape_md_params.rb +10 -1
- data/lib/brand_dev/resources/brand.rb +6 -5
- data/lib/brand_dev/version.rb +1 -1
- data/rbi/brand_dev/internal/util.rbi +8 -0
- data/rbi/brand_dev/models/brand_styleguide_params.rbi +0 -58
- data/rbi/brand_dev/models/brand_styleguide_response.rbi +471 -531
- data/rbi/brand_dev/models/brand_web_scrape_images_response.rbi +20 -0
- data/rbi/brand_dev/models/brand_web_scrape_md_params.rbi +13 -0
- data/rbi/brand_dev/resources/brand.rbi +4 -6
- data/sig/brand_dev/internal/util.rbs +4 -0
- data/sig/brand_dev/models/brand_styleguide_params.rbs +1 -25
- data/sig/brand_dev/models/brand_styleguide_response.rbs +285 -337
- data/sig/brand_dev/models/brand_web_scrape_images_response.rbs +14 -1
- data/sig/brand_dev/models/brand_web_scrape_md_params.rbs +8 -1
- data/sig/brand_dev/resources/brand.rbs +1 -1
- metadata +2 -2
|
@@ -52,49 +52,25 @@ module BrandDev
|
|
|
52
52
|
}
|
|
53
53
|
|
|
54
54
|
class Styleguide < BrandDev::Internal::Type::BaseModel
|
|
55
|
-
|
|
55
|
+
attr_accessor colors: BrandDev::Models::BrandStyleguideResponse::Styleguide::Colors
|
|
56
56
|
|
|
57
|
-
|
|
58
|
-
BrandDev::Models::BrandStyleguideResponse::Styleguide::Colors
|
|
59
|
-
) -> BrandDev::Models::BrandStyleguideResponse::Styleguide::Colors
|
|
57
|
+
attr_accessor components: BrandDev::Models::BrandStyleguideResponse::Styleguide::Components
|
|
60
58
|
|
|
61
|
-
|
|
59
|
+
attr_accessor element_spacing: BrandDev::Models::BrandStyleguideResponse::Styleguide::ElementSpacing
|
|
62
60
|
|
|
63
|
-
|
|
64
|
-
BrandDev::Models::BrandStyleguideResponse::Styleguide::Components
|
|
65
|
-
) -> BrandDev::Models::BrandStyleguideResponse::Styleguide::Components
|
|
61
|
+
attr_accessor mode: BrandDev::Models::BrandStyleguideResponse::Styleguide::mode
|
|
66
62
|
|
|
67
|
-
|
|
63
|
+
attr_accessor shadows: BrandDev::Models::BrandStyleguideResponse::Styleguide::Shadows
|
|
68
64
|
|
|
69
|
-
|
|
70
|
-
BrandDev::Models::BrandStyleguideResponse::Styleguide::ElementSpacing
|
|
71
|
-
) -> BrandDev::Models::BrandStyleguideResponse::Styleguide::ElementSpacing
|
|
72
|
-
|
|
73
|
-
attr_reader mode: BrandDev::Models::BrandStyleguideResponse::Styleguide::mode?
|
|
74
|
-
|
|
75
|
-
def mode=: (
|
|
76
|
-
BrandDev::Models::BrandStyleguideResponse::Styleguide::mode
|
|
77
|
-
) -> BrandDev::Models::BrandStyleguideResponse::Styleguide::mode
|
|
78
|
-
|
|
79
|
-
attr_reader shadows: BrandDev::Models::BrandStyleguideResponse::Styleguide::Shadows?
|
|
80
|
-
|
|
81
|
-
def shadows=: (
|
|
82
|
-
BrandDev::Models::BrandStyleguideResponse::Styleguide::Shadows
|
|
83
|
-
) -> BrandDev::Models::BrandStyleguideResponse::Styleguide::Shadows
|
|
84
|
-
|
|
85
|
-
attr_reader typography: BrandDev::Models::BrandStyleguideResponse::Styleguide::Typography?
|
|
86
|
-
|
|
87
|
-
def typography=: (
|
|
88
|
-
BrandDev::Models::BrandStyleguideResponse::Styleguide::Typography
|
|
89
|
-
) -> BrandDev::Models::BrandStyleguideResponse::Styleguide::Typography
|
|
65
|
+
attr_accessor typography: BrandDev::Models::BrandStyleguideResponse::Styleguide::Typography
|
|
90
66
|
|
|
91
67
|
def initialize: (
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
68
|
+
colors: BrandDev::Models::BrandStyleguideResponse::Styleguide::Colors,
|
|
69
|
+
components: BrandDev::Models::BrandStyleguideResponse::Styleguide::Components,
|
|
70
|
+
element_spacing: BrandDev::Models::BrandStyleguideResponse::Styleguide::ElementSpacing,
|
|
71
|
+
mode: BrandDev::Models::BrandStyleguideResponse::Styleguide::mode,
|
|
72
|
+
shadows: BrandDev::Models::BrandStyleguideResponse::Styleguide::Shadows,
|
|
73
|
+
typography: BrandDev::Models::BrandStyleguideResponse::Styleguide::Typography
|
|
98
74
|
) -> void
|
|
99
75
|
|
|
100
76
|
def to_hash: -> {
|
|
@@ -109,22 +85,16 @@ module BrandDev
|
|
|
109
85
|
type colors = { accent: String, background: String, text: String }
|
|
110
86
|
|
|
111
87
|
class Colors < BrandDev::Internal::Type::BaseModel
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
def accent=: (String) -> String
|
|
115
|
-
|
|
116
|
-
attr_reader background: String?
|
|
88
|
+
attr_accessor accent: String
|
|
117
89
|
|
|
118
|
-
|
|
90
|
+
attr_accessor background: String
|
|
119
91
|
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
def text=: (String) -> String
|
|
92
|
+
attr_accessor text: String
|
|
123
93
|
|
|
124
94
|
def initialize: (
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
95
|
+
accent: String,
|
|
96
|
+
background: String,
|
|
97
|
+
text: String
|
|
128
98
|
) -> void
|
|
129
99
|
|
|
130
100
|
def to_hash: -> { accent: String, background: String, text: String }
|
|
@@ -137,11 +107,7 @@ module BrandDev
|
|
|
137
107
|
}
|
|
138
108
|
|
|
139
109
|
class Components < BrandDev::Internal::Type::BaseModel
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
def button=: (
|
|
143
|
-
BrandDev::Models::BrandStyleguideResponse::Styleguide::Components::Button
|
|
144
|
-
) -> BrandDev::Models::BrandStyleguideResponse::Styleguide::Components::Button
|
|
110
|
+
attr_accessor button: BrandDev::Models::BrandStyleguideResponse::Styleguide::Components::Button
|
|
145
111
|
|
|
146
112
|
attr_reader card: BrandDev::Models::BrandStyleguideResponse::Styleguide::Components::Card?
|
|
147
113
|
|
|
@@ -150,7 +116,7 @@ module BrandDev
|
|
|
150
116
|
) -> BrandDev::Models::BrandStyleguideResponse::Styleguide::Components::Card
|
|
151
117
|
|
|
152
118
|
def initialize: (
|
|
153
|
-
|
|
119
|
+
button: BrandDev::Models::BrandStyleguideResponse::Styleguide::Components::Button,
|
|
154
120
|
?card: BrandDev::Models::BrandStyleguideResponse::Styleguide::Components::Card
|
|
155
121
|
) -> void
|
|
156
122
|
|
|
@@ -206,69 +172,77 @@ module BrandDev
|
|
|
206
172
|
border_width: String,
|
|
207
173
|
box_shadow: String,
|
|
208
174
|
color: String,
|
|
175
|
+
css: String,
|
|
209
176
|
font_size: String,
|
|
210
177
|
font_weight: Float,
|
|
178
|
+
min_height: String,
|
|
179
|
+
min_width: String,
|
|
211
180
|
padding: String,
|
|
212
|
-
text_decoration: String
|
|
181
|
+
text_decoration: String,
|
|
182
|
+
font_fallbacks: ::Array[String],
|
|
183
|
+
font_family: String,
|
|
184
|
+
text_decoration_color: String
|
|
213
185
|
}
|
|
214
186
|
|
|
215
187
|
class Link < BrandDev::Internal::Type::BaseModel
|
|
216
|
-
|
|
217
|
-
|
|
218
|
-
def background_color=: (String) -> String
|
|
188
|
+
attr_accessor background_color: String
|
|
219
189
|
|
|
220
|
-
|
|
190
|
+
attr_accessor border_color: String
|
|
221
191
|
|
|
222
|
-
|
|
192
|
+
attr_accessor border_radius: String
|
|
223
193
|
|
|
224
|
-
|
|
194
|
+
attr_accessor border_style: String
|
|
225
195
|
|
|
226
|
-
|
|
196
|
+
attr_accessor border_width: String
|
|
227
197
|
|
|
228
|
-
|
|
198
|
+
attr_accessor box_shadow: String
|
|
229
199
|
|
|
230
|
-
|
|
200
|
+
attr_accessor color: String
|
|
231
201
|
|
|
232
|
-
|
|
202
|
+
attr_accessor css: String
|
|
233
203
|
|
|
234
|
-
|
|
204
|
+
attr_accessor font_size: String
|
|
235
205
|
|
|
236
|
-
|
|
206
|
+
attr_accessor font_weight: Float
|
|
237
207
|
|
|
238
|
-
|
|
208
|
+
attr_accessor min_height: String
|
|
239
209
|
|
|
240
|
-
|
|
210
|
+
attr_accessor min_width: String
|
|
241
211
|
|
|
242
|
-
|
|
212
|
+
attr_accessor padding: String
|
|
243
213
|
|
|
244
|
-
|
|
214
|
+
attr_accessor text_decoration: String
|
|
245
215
|
|
|
246
|
-
|
|
216
|
+
attr_reader font_fallbacks: ::Array[String]?
|
|
247
217
|
|
|
248
|
-
|
|
218
|
+
def font_fallbacks=: (::Array[String]) -> ::Array[String]
|
|
249
219
|
|
|
250
|
-
|
|
251
|
-
|
|
252
|
-
attr_reader padding: String?
|
|
220
|
+
attr_reader font_family: String?
|
|
253
221
|
|
|
254
|
-
def
|
|
222
|
+
def font_family=: (String) -> String
|
|
255
223
|
|
|
256
|
-
attr_reader
|
|
224
|
+
attr_reader text_decoration_color: String?
|
|
257
225
|
|
|
258
|
-
def
|
|
226
|
+
def text_decoration_color=: (String) -> String
|
|
259
227
|
|
|
260
228
|
def initialize: (
|
|
261
|
-
|
|
262
|
-
|
|
263
|
-
|
|
264
|
-
|
|
265
|
-
|
|
266
|
-
|
|
267
|
-
|
|
268
|
-
|
|
269
|
-
|
|
270
|
-
|
|
271
|
-
|
|
229
|
+
background_color: String,
|
|
230
|
+
border_color: String,
|
|
231
|
+
border_radius: String,
|
|
232
|
+
border_style: String,
|
|
233
|
+
border_width: String,
|
|
234
|
+
box_shadow: String,
|
|
235
|
+
color: String,
|
|
236
|
+
css: String,
|
|
237
|
+
font_size: String,
|
|
238
|
+
font_weight: Float,
|
|
239
|
+
min_height: String,
|
|
240
|
+
min_width: String,
|
|
241
|
+
padding: String,
|
|
242
|
+
text_decoration: String,
|
|
243
|
+
?font_fallbacks: ::Array[String],
|
|
244
|
+
?font_family: String,
|
|
245
|
+
?text_decoration_color: String
|
|
272
246
|
) -> void
|
|
273
247
|
|
|
274
248
|
def to_hash: -> {
|
|
@@ -279,10 +253,16 @@ module BrandDev
|
|
|
279
253
|
border_width: String,
|
|
280
254
|
box_shadow: String,
|
|
281
255
|
color: String,
|
|
256
|
+
css: String,
|
|
282
257
|
font_size: String,
|
|
283
258
|
font_weight: Float,
|
|
259
|
+
min_height: String,
|
|
260
|
+
min_width: String,
|
|
284
261
|
padding: String,
|
|
285
|
-
text_decoration: String
|
|
262
|
+
text_decoration: String,
|
|
263
|
+
font_fallbacks: ::Array[String],
|
|
264
|
+
font_family: String,
|
|
265
|
+
text_decoration_color: String
|
|
286
266
|
}
|
|
287
267
|
end
|
|
288
268
|
|
|
@@ -295,69 +275,77 @@ module BrandDev
|
|
|
295
275
|
border_width: String,
|
|
296
276
|
box_shadow: String,
|
|
297
277
|
color: String,
|
|
278
|
+
css: String,
|
|
298
279
|
font_size: String,
|
|
299
280
|
font_weight: Float,
|
|
281
|
+
min_height: String,
|
|
282
|
+
min_width: String,
|
|
300
283
|
padding: String,
|
|
301
|
-
text_decoration: String
|
|
284
|
+
text_decoration: String,
|
|
285
|
+
font_fallbacks: ::Array[String],
|
|
286
|
+
font_family: String,
|
|
287
|
+
text_decoration_color: String
|
|
302
288
|
}
|
|
303
289
|
|
|
304
290
|
class Primary < BrandDev::Internal::Type::BaseModel
|
|
305
|
-
|
|
306
|
-
|
|
307
|
-
def background_color=: (String) -> String
|
|
291
|
+
attr_accessor background_color: String
|
|
308
292
|
|
|
309
|
-
|
|
293
|
+
attr_accessor border_color: String
|
|
310
294
|
|
|
311
|
-
|
|
295
|
+
attr_accessor border_radius: String
|
|
312
296
|
|
|
313
|
-
|
|
297
|
+
attr_accessor border_style: String
|
|
314
298
|
|
|
315
|
-
|
|
299
|
+
attr_accessor border_width: String
|
|
316
300
|
|
|
317
|
-
|
|
301
|
+
attr_accessor box_shadow: String
|
|
318
302
|
|
|
319
|
-
|
|
303
|
+
attr_accessor color: String
|
|
320
304
|
|
|
321
|
-
|
|
305
|
+
attr_accessor css: String
|
|
322
306
|
|
|
323
|
-
|
|
307
|
+
attr_accessor font_size: String
|
|
324
308
|
|
|
325
|
-
|
|
309
|
+
attr_accessor font_weight: Float
|
|
326
310
|
|
|
327
|
-
|
|
311
|
+
attr_accessor min_height: String
|
|
328
312
|
|
|
329
|
-
|
|
313
|
+
attr_accessor min_width: String
|
|
330
314
|
|
|
331
|
-
|
|
315
|
+
attr_accessor padding: String
|
|
332
316
|
|
|
333
|
-
|
|
317
|
+
attr_accessor text_decoration: String
|
|
334
318
|
|
|
335
|
-
|
|
319
|
+
attr_reader font_fallbacks: ::Array[String]?
|
|
336
320
|
|
|
337
|
-
|
|
321
|
+
def font_fallbacks=: (::Array[String]) -> ::Array[String]
|
|
338
322
|
|
|
339
|
-
|
|
340
|
-
|
|
341
|
-
attr_reader padding: String?
|
|
323
|
+
attr_reader font_family: String?
|
|
342
324
|
|
|
343
|
-
def
|
|
325
|
+
def font_family=: (String) -> String
|
|
344
326
|
|
|
345
|
-
attr_reader
|
|
327
|
+
attr_reader text_decoration_color: String?
|
|
346
328
|
|
|
347
|
-
def
|
|
329
|
+
def text_decoration_color=: (String) -> String
|
|
348
330
|
|
|
349
331
|
def initialize: (
|
|
350
|
-
|
|
351
|
-
|
|
352
|
-
|
|
353
|
-
|
|
354
|
-
|
|
355
|
-
|
|
356
|
-
|
|
357
|
-
|
|
358
|
-
|
|
359
|
-
|
|
360
|
-
|
|
332
|
+
background_color: String,
|
|
333
|
+
border_color: String,
|
|
334
|
+
border_radius: String,
|
|
335
|
+
border_style: String,
|
|
336
|
+
border_width: String,
|
|
337
|
+
box_shadow: String,
|
|
338
|
+
color: String,
|
|
339
|
+
css: String,
|
|
340
|
+
font_size: String,
|
|
341
|
+
font_weight: Float,
|
|
342
|
+
min_height: String,
|
|
343
|
+
min_width: String,
|
|
344
|
+
padding: String,
|
|
345
|
+
text_decoration: String,
|
|
346
|
+
?font_fallbacks: ::Array[String],
|
|
347
|
+
?font_family: String,
|
|
348
|
+
?text_decoration_color: String
|
|
361
349
|
) -> void
|
|
362
350
|
|
|
363
351
|
def to_hash: -> {
|
|
@@ -368,10 +356,16 @@ module BrandDev
|
|
|
368
356
|
border_width: String,
|
|
369
357
|
box_shadow: String,
|
|
370
358
|
color: String,
|
|
359
|
+
css: String,
|
|
371
360
|
font_size: String,
|
|
372
361
|
font_weight: Float,
|
|
362
|
+
min_height: String,
|
|
363
|
+
min_width: String,
|
|
373
364
|
padding: String,
|
|
374
|
-
text_decoration: String
|
|
365
|
+
text_decoration: String,
|
|
366
|
+
font_fallbacks: ::Array[String],
|
|
367
|
+
font_family: String,
|
|
368
|
+
text_decoration_color: String
|
|
375
369
|
}
|
|
376
370
|
end
|
|
377
371
|
|
|
@@ -384,69 +378,77 @@ module BrandDev
|
|
|
384
378
|
border_width: String,
|
|
385
379
|
box_shadow: String,
|
|
386
380
|
color: String,
|
|
381
|
+
css: String,
|
|
387
382
|
font_size: String,
|
|
388
383
|
font_weight: Float,
|
|
384
|
+
min_height: String,
|
|
385
|
+
min_width: String,
|
|
389
386
|
padding: String,
|
|
390
|
-
text_decoration: String
|
|
387
|
+
text_decoration: String,
|
|
388
|
+
font_fallbacks: ::Array[String],
|
|
389
|
+
font_family: String,
|
|
390
|
+
text_decoration_color: String
|
|
391
391
|
}
|
|
392
392
|
|
|
393
393
|
class Secondary < BrandDev::Internal::Type::BaseModel
|
|
394
|
-
|
|
395
|
-
|
|
396
|
-
def background_color=: (String) -> String
|
|
397
|
-
|
|
398
|
-
attr_reader border_color: String?
|
|
394
|
+
attr_accessor background_color: String
|
|
399
395
|
|
|
400
|
-
|
|
396
|
+
attr_accessor border_color: String
|
|
401
397
|
|
|
402
|
-
|
|
398
|
+
attr_accessor border_radius: String
|
|
403
399
|
|
|
404
|
-
|
|
400
|
+
attr_accessor border_style: String
|
|
405
401
|
|
|
406
|
-
|
|
402
|
+
attr_accessor border_width: String
|
|
407
403
|
|
|
408
|
-
|
|
404
|
+
attr_accessor box_shadow: String
|
|
409
405
|
|
|
410
|
-
|
|
406
|
+
attr_accessor color: String
|
|
411
407
|
|
|
412
|
-
|
|
408
|
+
attr_accessor css: String
|
|
413
409
|
|
|
414
|
-
|
|
410
|
+
attr_accessor font_size: String
|
|
415
411
|
|
|
416
|
-
|
|
412
|
+
attr_accessor font_weight: Float
|
|
417
413
|
|
|
418
|
-
|
|
414
|
+
attr_accessor min_height: String
|
|
419
415
|
|
|
420
|
-
|
|
416
|
+
attr_accessor min_width: String
|
|
421
417
|
|
|
422
|
-
|
|
418
|
+
attr_accessor padding: String
|
|
423
419
|
|
|
424
|
-
|
|
420
|
+
attr_accessor text_decoration: String
|
|
425
421
|
|
|
426
|
-
attr_reader
|
|
422
|
+
attr_reader font_fallbacks: ::Array[String]?
|
|
427
423
|
|
|
428
|
-
def
|
|
424
|
+
def font_fallbacks=: (::Array[String]) -> ::Array[String]
|
|
429
425
|
|
|
430
|
-
attr_reader
|
|
426
|
+
attr_reader font_family: String?
|
|
431
427
|
|
|
432
|
-
def
|
|
428
|
+
def font_family=: (String) -> String
|
|
433
429
|
|
|
434
|
-
attr_reader
|
|
430
|
+
attr_reader text_decoration_color: String?
|
|
435
431
|
|
|
436
|
-
def
|
|
432
|
+
def text_decoration_color=: (String) -> String
|
|
437
433
|
|
|
438
434
|
def initialize: (
|
|
439
|
-
|
|
440
|
-
|
|
441
|
-
|
|
442
|
-
|
|
443
|
-
|
|
444
|
-
|
|
445
|
-
|
|
446
|
-
|
|
447
|
-
|
|
448
|
-
|
|
449
|
-
|
|
435
|
+
background_color: String,
|
|
436
|
+
border_color: String,
|
|
437
|
+
border_radius: String,
|
|
438
|
+
border_style: String,
|
|
439
|
+
border_width: String,
|
|
440
|
+
box_shadow: String,
|
|
441
|
+
color: String,
|
|
442
|
+
css: String,
|
|
443
|
+
font_size: String,
|
|
444
|
+
font_weight: Float,
|
|
445
|
+
min_height: String,
|
|
446
|
+
min_width: String,
|
|
447
|
+
padding: String,
|
|
448
|
+
text_decoration: String,
|
|
449
|
+
?font_fallbacks: ::Array[String],
|
|
450
|
+
?font_family: String,
|
|
451
|
+
?text_decoration_color: String
|
|
450
452
|
) -> void
|
|
451
453
|
|
|
452
454
|
def to_hash: -> {
|
|
@@ -457,10 +459,16 @@ module BrandDev
|
|
|
457
459
|
border_width: String,
|
|
458
460
|
box_shadow: String,
|
|
459
461
|
color: String,
|
|
462
|
+
css: String,
|
|
460
463
|
font_size: String,
|
|
461
464
|
font_weight: Float,
|
|
465
|
+
min_height: String,
|
|
466
|
+
min_width: String,
|
|
462
467
|
padding: String,
|
|
463
|
-
text_decoration: String
|
|
468
|
+
text_decoration: String,
|
|
469
|
+
font_fallbacks: ::Array[String],
|
|
470
|
+
font_family: String,
|
|
471
|
+
text_decoration_color: String
|
|
464
472
|
}
|
|
465
473
|
end
|
|
466
474
|
end
|
|
@@ -473,52 +481,40 @@ module BrandDev
|
|
|
473
481
|
border_style: String,
|
|
474
482
|
border_width: String,
|
|
475
483
|
box_shadow: String,
|
|
484
|
+
css: String,
|
|
476
485
|
padding: String,
|
|
477
486
|
text_color: String
|
|
478
487
|
}
|
|
479
488
|
|
|
480
489
|
class Card < BrandDev::Internal::Type::BaseModel
|
|
481
|
-
|
|
482
|
-
|
|
483
|
-
def background_color=: (String) -> String
|
|
484
|
-
|
|
485
|
-
attr_reader border_color: String?
|
|
486
|
-
|
|
487
|
-
def border_color=: (String) -> String
|
|
490
|
+
attr_accessor background_color: String
|
|
488
491
|
|
|
489
|
-
|
|
492
|
+
attr_accessor border_color: String
|
|
490
493
|
|
|
491
|
-
|
|
494
|
+
attr_accessor border_radius: String
|
|
492
495
|
|
|
493
|
-
|
|
496
|
+
attr_accessor border_style: String
|
|
494
497
|
|
|
495
|
-
|
|
498
|
+
attr_accessor border_width: String
|
|
496
499
|
|
|
497
|
-
|
|
500
|
+
attr_accessor box_shadow: String
|
|
498
501
|
|
|
499
|
-
|
|
502
|
+
attr_accessor css: String
|
|
500
503
|
|
|
501
|
-
|
|
504
|
+
attr_accessor padding: String
|
|
502
505
|
|
|
503
|
-
|
|
504
|
-
|
|
505
|
-
attr_reader padding: String?
|
|
506
|
-
|
|
507
|
-
def padding=: (String) -> String
|
|
508
|
-
|
|
509
|
-
attr_reader text_color: String?
|
|
510
|
-
|
|
511
|
-
def text_color=: (String) -> String
|
|
506
|
+
attr_accessor text_color: String
|
|
512
507
|
|
|
513
508
|
def initialize: (
|
|
514
|
-
|
|
515
|
-
|
|
516
|
-
|
|
517
|
-
|
|
518
|
-
|
|
519
|
-
|
|
520
|
-
|
|
521
|
-
|
|
509
|
+
background_color: String,
|
|
510
|
+
border_color: String,
|
|
511
|
+
border_radius: String,
|
|
512
|
+
border_style: String,
|
|
513
|
+
border_width: String,
|
|
514
|
+
box_shadow: String,
|
|
515
|
+
css: String,
|
|
516
|
+
padding: String,
|
|
517
|
+
text_color: String
|
|
522
518
|
) -> void
|
|
523
519
|
|
|
524
520
|
def to_hash: -> {
|
|
@@ -528,6 +524,7 @@ module BrandDev
|
|
|
528
524
|
border_style: String,
|
|
529
525
|
border_width: String,
|
|
530
526
|
box_shadow: String,
|
|
527
|
+
css: String,
|
|
531
528
|
padding: String,
|
|
532
529
|
text_color: String
|
|
533
530
|
}
|
|
@@ -538,32 +535,22 @@ module BrandDev
|
|
|
538
535
|
{ lg: String, md: String, sm: String, xl: String, xs: String }
|
|
539
536
|
|
|
540
537
|
class ElementSpacing < BrandDev::Internal::Type::BaseModel
|
|
541
|
-
|
|
542
|
-
|
|
543
|
-
def lg=: (String) -> String
|
|
544
|
-
|
|
545
|
-
attr_reader md: String?
|
|
546
|
-
|
|
547
|
-
def md=: (String) -> String
|
|
548
|
-
|
|
549
|
-
attr_reader sm: String?
|
|
538
|
+
attr_accessor lg: String
|
|
550
539
|
|
|
551
|
-
|
|
540
|
+
attr_accessor md: String
|
|
552
541
|
|
|
553
|
-
|
|
542
|
+
attr_accessor sm: String
|
|
554
543
|
|
|
555
|
-
|
|
544
|
+
attr_accessor xl: String
|
|
556
545
|
|
|
557
|
-
|
|
558
|
-
|
|
559
|
-
def xs=: (String) -> String
|
|
546
|
+
attr_accessor xs: String
|
|
560
547
|
|
|
561
548
|
def initialize: (
|
|
562
|
-
|
|
563
|
-
|
|
564
|
-
|
|
565
|
-
|
|
566
|
-
|
|
549
|
+
lg: String,
|
|
550
|
+
md: String,
|
|
551
|
+
sm: String,
|
|
552
|
+
xl: String,
|
|
553
|
+
xs: String
|
|
567
554
|
) -> void
|
|
568
555
|
|
|
569
556
|
def to_hash: -> {
|
|
@@ -590,32 +577,22 @@ module BrandDev
|
|
|
590
577
|
{ inner: String, lg: String, md: String, sm: String, xl: String }
|
|
591
578
|
|
|
592
579
|
class Shadows < BrandDev::Internal::Type::BaseModel
|
|
593
|
-
|
|
594
|
-
|
|
595
|
-
def inner=: (String) -> String
|
|
596
|
-
|
|
597
|
-
attr_reader lg: String?
|
|
598
|
-
|
|
599
|
-
def lg=: (String) -> String
|
|
600
|
-
|
|
601
|
-
attr_reader md: String?
|
|
580
|
+
attr_accessor inner: String
|
|
602
581
|
|
|
603
|
-
|
|
582
|
+
attr_accessor lg: String
|
|
604
583
|
|
|
605
|
-
|
|
584
|
+
attr_accessor md: String
|
|
606
585
|
|
|
607
|
-
|
|
586
|
+
attr_accessor sm: String
|
|
608
587
|
|
|
609
|
-
|
|
610
|
-
|
|
611
|
-
def xl=: (String) -> String
|
|
588
|
+
attr_accessor xl: String
|
|
612
589
|
|
|
613
590
|
def initialize: (
|
|
614
|
-
|
|
615
|
-
|
|
616
|
-
|
|
617
|
-
|
|
618
|
-
|
|
591
|
+
inner: String,
|
|
592
|
+
lg: String,
|
|
593
|
+
md: String,
|
|
594
|
+
sm: String,
|
|
595
|
+
xl: String
|
|
619
596
|
) -> void
|
|
620
597
|
|
|
621
598
|
def to_hash: -> {
|
|
@@ -634,11 +611,7 @@ module BrandDev
|
|
|
634
611
|
}
|
|
635
612
|
|
|
636
613
|
class Typography < BrandDev::Internal::Type::BaseModel
|
|
637
|
-
|
|
638
|
-
|
|
639
|
-
def headings=: (
|
|
640
|
-
BrandDev::Models::BrandStyleguideResponse::Styleguide::Typography::Headings
|
|
641
|
-
) -> BrandDev::Models::BrandStyleguideResponse::Styleguide::Typography::Headings
|
|
614
|
+
attr_accessor headings: BrandDev::Models::BrandStyleguideResponse::Styleguide::Typography::Headings
|
|
642
615
|
|
|
643
616
|
attr_reader p_: BrandDev::Models::BrandStyleguideResponse::Styleguide::Typography::P?
|
|
644
617
|
|
|
@@ -647,7 +620,7 @@ module BrandDev
|
|
|
647
620
|
) -> BrandDev::Models::BrandStyleguideResponse::Styleguide::Typography::P
|
|
648
621
|
|
|
649
622
|
def initialize: (
|
|
650
|
-
|
|
623
|
+
headings: BrandDev::Models::BrandStyleguideResponse::Styleguide::Typography::Headings,
|
|
651
624
|
?p_: BrandDev::Models::BrandStyleguideResponse::Styleguide::Typography::P
|
|
652
625
|
) -> void
|
|
653
626
|
|
|
@@ -705,6 +678,7 @@ module BrandDev
|
|
|
705
678
|
|
|
706
679
|
type h1 =
|
|
707
680
|
{
|
|
681
|
+
font_fallbacks: ::Array[String],
|
|
708
682
|
font_family: String,
|
|
709
683
|
font_size: String,
|
|
710
684
|
font_weight: Float,
|
|
@@ -713,35 +687,29 @@ module BrandDev
|
|
|
713
687
|
}
|
|
714
688
|
|
|
715
689
|
class H1 < BrandDev::Internal::Type::BaseModel
|
|
716
|
-
|
|
717
|
-
|
|
718
|
-
def font_family=: (String) -> String
|
|
719
|
-
|
|
720
|
-
attr_reader font_size: String?
|
|
721
|
-
|
|
722
|
-
def font_size=: (String) -> String
|
|
690
|
+
attr_accessor font_fallbacks: ::Array[String]
|
|
723
691
|
|
|
724
|
-
|
|
692
|
+
attr_accessor font_family: String
|
|
725
693
|
|
|
726
|
-
|
|
694
|
+
attr_accessor font_size: String
|
|
727
695
|
|
|
728
|
-
|
|
696
|
+
attr_accessor font_weight: Float
|
|
729
697
|
|
|
730
|
-
|
|
698
|
+
attr_accessor letter_spacing: String
|
|
731
699
|
|
|
732
|
-
|
|
733
|
-
|
|
734
|
-
def line_height=: (String) -> String
|
|
700
|
+
attr_accessor line_height: String
|
|
735
701
|
|
|
736
702
|
def initialize: (
|
|
737
|
-
|
|
738
|
-
|
|
739
|
-
|
|
740
|
-
|
|
741
|
-
|
|
703
|
+
font_fallbacks: ::Array[String],
|
|
704
|
+
font_family: String,
|
|
705
|
+
font_size: String,
|
|
706
|
+
font_weight: Float,
|
|
707
|
+
letter_spacing: String,
|
|
708
|
+
line_height: String
|
|
742
709
|
) -> void
|
|
743
710
|
|
|
744
711
|
def to_hash: -> {
|
|
712
|
+
font_fallbacks: ::Array[String],
|
|
745
713
|
font_family: String,
|
|
746
714
|
font_size: String,
|
|
747
715
|
font_weight: Float,
|
|
@@ -752,6 +720,7 @@ module BrandDev
|
|
|
752
720
|
|
|
753
721
|
type h2 =
|
|
754
722
|
{
|
|
723
|
+
font_fallbacks: ::Array[String],
|
|
755
724
|
font_family: String,
|
|
756
725
|
font_size: String,
|
|
757
726
|
font_weight: Float,
|
|
@@ -760,35 +729,29 @@ module BrandDev
|
|
|
760
729
|
}
|
|
761
730
|
|
|
762
731
|
class H2 < BrandDev::Internal::Type::BaseModel
|
|
763
|
-
|
|
764
|
-
|
|
765
|
-
def font_family=: (String) -> String
|
|
766
|
-
|
|
767
|
-
attr_reader font_size: String?
|
|
768
|
-
|
|
769
|
-
def font_size=: (String) -> String
|
|
732
|
+
attr_accessor font_fallbacks: ::Array[String]
|
|
770
733
|
|
|
771
|
-
|
|
734
|
+
attr_accessor font_family: String
|
|
772
735
|
|
|
773
|
-
|
|
736
|
+
attr_accessor font_size: String
|
|
774
737
|
|
|
775
|
-
|
|
738
|
+
attr_accessor font_weight: Float
|
|
776
739
|
|
|
777
|
-
|
|
740
|
+
attr_accessor letter_spacing: String
|
|
778
741
|
|
|
779
|
-
|
|
780
|
-
|
|
781
|
-
def line_height=: (String) -> String
|
|
742
|
+
attr_accessor line_height: String
|
|
782
743
|
|
|
783
744
|
def initialize: (
|
|
784
|
-
|
|
785
|
-
|
|
786
|
-
|
|
787
|
-
|
|
788
|
-
|
|
745
|
+
font_fallbacks: ::Array[String],
|
|
746
|
+
font_family: String,
|
|
747
|
+
font_size: String,
|
|
748
|
+
font_weight: Float,
|
|
749
|
+
letter_spacing: String,
|
|
750
|
+
line_height: String
|
|
789
751
|
) -> void
|
|
790
752
|
|
|
791
753
|
def to_hash: -> {
|
|
754
|
+
font_fallbacks: ::Array[String],
|
|
792
755
|
font_family: String,
|
|
793
756
|
font_size: String,
|
|
794
757
|
font_weight: Float,
|
|
@@ -799,6 +762,7 @@ module BrandDev
|
|
|
799
762
|
|
|
800
763
|
type h3 =
|
|
801
764
|
{
|
|
765
|
+
font_fallbacks: ::Array[String],
|
|
802
766
|
font_family: String,
|
|
803
767
|
font_size: String,
|
|
804
768
|
font_weight: Float,
|
|
@@ -807,35 +771,29 @@ module BrandDev
|
|
|
807
771
|
}
|
|
808
772
|
|
|
809
773
|
class H3 < BrandDev::Internal::Type::BaseModel
|
|
810
|
-
|
|
811
|
-
|
|
812
|
-
def font_family=: (String) -> String
|
|
774
|
+
attr_accessor font_fallbacks: ::Array[String]
|
|
813
775
|
|
|
814
|
-
|
|
776
|
+
attr_accessor font_family: String
|
|
815
777
|
|
|
816
|
-
|
|
778
|
+
attr_accessor font_size: String
|
|
817
779
|
|
|
818
|
-
|
|
780
|
+
attr_accessor font_weight: Float
|
|
819
781
|
|
|
820
|
-
|
|
782
|
+
attr_accessor letter_spacing: String
|
|
821
783
|
|
|
822
|
-
|
|
823
|
-
|
|
824
|
-
def letter_spacing=: (String) -> String
|
|
825
|
-
|
|
826
|
-
attr_reader line_height: String?
|
|
827
|
-
|
|
828
|
-
def line_height=: (String) -> String
|
|
784
|
+
attr_accessor line_height: String
|
|
829
785
|
|
|
830
786
|
def initialize: (
|
|
831
|
-
|
|
832
|
-
|
|
833
|
-
|
|
834
|
-
|
|
835
|
-
|
|
787
|
+
font_fallbacks: ::Array[String],
|
|
788
|
+
font_family: String,
|
|
789
|
+
font_size: String,
|
|
790
|
+
font_weight: Float,
|
|
791
|
+
letter_spacing: String,
|
|
792
|
+
line_height: String
|
|
836
793
|
) -> void
|
|
837
794
|
|
|
838
795
|
def to_hash: -> {
|
|
796
|
+
font_fallbacks: ::Array[String],
|
|
839
797
|
font_family: String,
|
|
840
798
|
font_size: String,
|
|
841
799
|
font_weight: Float,
|
|
@@ -846,6 +804,7 @@ module BrandDev
|
|
|
846
804
|
|
|
847
805
|
type h4 =
|
|
848
806
|
{
|
|
807
|
+
font_fallbacks: ::Array[String],
|
|
849
808
|
font_family: String,
|
|
850
809
|
font_size: String,
|
|
851
810
|
font_weight: Float,
|
|
@@ -854,35 +813,29 @@ module BrandDev
|
|
|
854
813
|
}
|
|
855
814
|
|
|
856
815
|
class H4 < BrandDev::Internal::Type::BaseModel
|
|
857
|
-
|
|
816
|
+
attr_accessor font_fallbacks: ::Array[String]
|
|
858
817
|
|
|
859
|
-
|
|
860
|
-
|
|
861
|
-
attr_reader font_size: String?
|
|
862
|
-
|
|
863
|
-
def font_size=: (String) -> String
|
|
864
|
-
|
|
865
|
-
attr_reader font_weight: Float?
|
|
866
|
-
|
|
867
|
-
def font_weight=: (Float) -> Float
|
|
818
|
+
attr_accessor font_family: String
|
|
868
819
|
|
|
869
|
-
|
|
820
|
+
attr_accessor font_size: String
|
|
870
821
|
|
|
871
|
-
|
|
822
|
+
attr_accessor font_weight: Float
|
|
872
823
|
|
|
873
|
-
|
|
824
|
+
attr_accessor letter_spacing: String
|
|
874
825
|
|
|
875
|
-
|
|
826
|
+
attr_accessor line_height: String
|
|
876
827
|
|
|
877
828
|
def initialize: (
|
|
878
|
-
|
|
879
|
-
|
|
880
|
-
|
|
881
|
-
|
|
882
|
-
|
|
829
|
+
font_fallbacks: ::Array[String],
|
|
830
|
+
font_family: String,
|
|
831
|
+
font_size: String,
|
|
832
|
+
font_weight: Float,
|
|
833
|
+
letter_spacing: String,
|
|
834
|
+
line_height: String
|
|
883
835
|
) -> void
|
|
884
836
|
|
|
885
837
|
def to_hash: -> {
|
|
838
|
+
font_fallbacks: ::Array[String],
|
|
886
839
|
font_family: String,
|
|
887
840
|
font_size: String,
|
|
888
841
|
font_weight: Float,
|
|
@@ -894,6 +847,7 @@ module BrandDev
|
|
|
894
847
|
|
|
895
848
|
type p_ =
|
|
896
849
|
{
|
|
850
|
+
font_fallbacks: ::Array[String],
|
|
897
851
|
font_family: String,
|
|
898
852
|
font_size: String,
|
|
899
853
|
font_weight: Float,
|
|
@@ -902,35 +856,29 @@ module BrandDev
|
|
|
902
856
|
}
|
|
903
857
|
|
|
904
858
|
class P < BrandDev::Internal::Type::BaseModel
|
|
905
|
-
|
|
906
|
-
|
|
907
|
-
def font_family=: (String) -> String
|
|
908
|
-
|
|
909
|
-
attr_reader font_size: String?
|
|
910
|
-
|
|
911
|
-
def font_size=: (String) -> String
|
|
912
|
-
|
|
913
|
-
attr_reader font_weight: Float?
|
|
859
|
+
attr_accessor font_fallbacks: ::Array[String]
|
|
914
860
|
|
|
915
|
-
|
|
861
|
+
attr_accessor font_family: String
|
|
916
862
|
|
|
917
|
-
|
|
863
|
+
attr_accessor font_size: String
|
|
918
864
|
|
|
919
|
-
|
|
865
|
+
attr_accessor font_weight: Float
|
|
920
866
|
|
|
921
|
-
|
|
867
|
+
attr_accessor letter_spacing: String
|
|
922
868
|
|
|
923
|
-
|
|
869
|
+
attr_accessor line_height: String
|
|
924
870
|
|
|
925
871
|
def initialize: (
|
|
926
|
-
|
|
927
|
-
|
|
928
|
-
|
|
929
|
-
|
|
930
|
-
|
|
872
|
+
font_fallbacks: ::Array[String],
|
|
873
|
+
font_family: String,
|
|
874
|
+
font_size: String,
|
|
875
|
+
font_weight: Float,
|
|
876
|
+
letter_spacing: String,
|
|
877
|
+
line_height: String
|
|
931
878
|
) -> void
|
|
932
879
|
|
|
933
880
|
def to_hash: -> {
|
|
881
|
+
font_fallbacks: ::Array[String],
|
|
934
882
|
font_family: String,
|
|
935
883
|
font_size: String,
|
|
936
884
|
font_weight: Float,
|