sai 0.2.0 → 0.3.1

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.
Files changed (50) hide show
  1. checksums.yaml +4 -4
  2. data/.yardopts +1 -1
  3. data/CHANGELOG.md +38 -1
  4. data/README.md +39 -241
  5. data/docs/USAGE.md +351 -0
  6. data/lib/sai/ansi/color_parser.rb +109 -0
  7. data/lib/sai/ansi/sequence_processor.rb +269 -0
  8. data/lib/sai/ansi/sequenced_string.rb +475 -0
  9. data/lib/sai/ansi/style_parser.rb +66 -0
  10. data/lib/sai/ansi.rb +0 -27
  11. data/lib/sai/conversion/color_sequence.rb +4 -4
  12. data/lib/sai/conversion/rgb/color_classifier.rb +209 -0
  13. data/lib/sai/conversion/rgb/color_indexer.rb +48 -0
  14. data/lib/sai/conversion/rgb/color_space.rb +192 -0
  15. data/lib/sai/conversion/rgb/color_transformer.rb +140 -0
  16. data/lib/sai/conversion/rgb.rb +23 -269
  17. data/lib/sai/decorator/color_manipulations.rb +157 -0
  18. data/lib/sai/decorator/delegation.rb +84 -0
  19. data/lib/sai/decorator/gradients.rb +363 -0
  20. data/lib/sai/decorator/hex_colors.rb +56 -0
  21. data/lib/sai/decorator/named_colors.rb +780 -0
  22. data/lib/sai/decorator/named_styles.rb +276 -0
  23. data/lib/sai/decorator/rgb_colors.rb +64 -0
  24. data/lib/sai/decorator.rb +35 -795
  25. data/lib/sai/mode_selector.rb +19 -19
  26. data/lib/sai/named_colors.rb +437 -0
  27. data/lib/sai.rb +753 -23
  28. data/sig/manifest.yaml +3 -0
  29. data/sig/sai/ansi/color_parser.rbs +77 -0
  30. data/sig/sai/ansi/sequence_processor.rbs +178 -0
  31. data/sig/sai/ansi/sequenced_string.rbs +380 -0
  32. data/sig/sai/ansi/style_parser.rbs +59 -0
  33. data/sig/sai/ansi.rbs +0 -10
  34. data/sig/sai/conversion/rgb/color_classifier.rbs +165 -0
  35. data/sig/sai/conversion/rgb/color_indexer.rbs +41 -0
  36. data/sig/sai/conversion/rgb/color_space.rbs +129 -0
  37. data/sig/sai/conversion/rgb/color_transformer.rbs +99 -0
  38. data/sig/sai/conversion/rgb.rbs +15 -198
  39. data/sig/sai/decorator/color_manipulations.rbs +125 -0
  40. data/sig/sai/decorator/delegation.rbs +47 -0
  41. data/sig/sai/decorator/gradients.rbs +267 -0
  42. data/sig/sai/decorator/hex_colors.rbs +48 -0
  43. data/sig/sai/decorator/named_colors.rbs +1491 -0
  44. data/sig/sai/decorator/named_styles.rbs +72 -0
  45. data/sig/sai/decorator/rgb_colors.rbs +52 -0
  46. data/sig/sai/decorator.rbs +25 -202
  47. data/sig/sai/mode_selector.rbs +19 -19
  48. data/sig/sai/named_colors.rbs +65 -0
  49. data/sig/sai.rbs +1485 -44
  50. metadata +38 -4
@@ -0,0 +1,1491 @@
1
+ # Generated from lib/sai/decorator/named_colors.rb with RBS::Inline
2
+
3
+ module Sai
4
+ class Decorator
5
+ # Named color methods for the {Decorator} class
6
+ #
7
+ # @author {https://aaronmallen.me Aaron Allen}
8
+ # @since 0.3.1
9
+ #
10
+ # @abstract This module is meant to be included in the {Decorator} class to provide named color methods
11
+ # @api private
12
+ #
13
+ # @note For each named color, two methods are dynamically generated:
14
+ # * color_name - Applies the color to the foreground
15
+ # * on_color_name - Applies the color to the backgroundAll color methods return {Decorator}
16
+ # @see Sai::NamedColors Sai::NamedColors for available color names
17
+ #
18
+ # @example Using a named color
19
+ # decorator.azure.decorate('Hello') #=> "\e[38;2;0;127;255mHello\e[0m"
20
+ # decorator.on_azure.decorate('Hello') #=> "\e[48;2;0;127;255mHello\e[0m"
21
+ module NamedColors
22
+ def alice_blue: () -> Decorator
23
+
24
+ def antique_white: () -> Decorator
25
+
26
+ def aqua: () -> Decorator
27
+
28
+ def aqua_system: () -> Decorator
29
+
30
+ def aquamarine: () -> Decorator
31
+
32
+ def aquamarine1: () -> Decorator
33
+
34
+ def aquamarine1_122: () -> Decorator
35
+
36
+ def aquamarine3: () -> Decorator
37
+
38
+ def azure: () -> Decorator
39
+
40
+ def beige: () -> Decorator
41
+
42
+ def bisque: () -> Decorator
43
+
44
+ def black: () -> Decorator
45
+
46
+ def black_system: () -> Decorator
47
+
48
+ def blanched_almond: () -> Decorator
49
+
50
+ def blue: () -> Decorator
51
+
52
+ def blue1: () -> Decorator
53
+
54
+ def blue3: () -> Decorator
55
+
56
+ def blue3_20: () -> Decorator
57
+
58
+ def blue_system: () -> Decorator
59
+
60
+ def blue_violet: () -> Decorator
61
+
62
+ def bright_black: () -> Decorator
63
+
64
+ def bright_blue: () -> Decorator
65
+
66
+ def bright_cyan: () -> Decorator
67
+
68
+ def bright_green: () -> Decorator
69
+
70
+ def bright_magenta: () -> Decorator
71
+
72
+ def bright_red: () -> Decorator
73
+
74
+ def bright_white: () -> Decorator
75
+
76
+ def bright_yellow: () -> Decorator
77
+
78
+ def brown: () -> Decorator
79
+
80
+ def burly_wood: () -> Decorator
81
+
82
+ def cadet_blue: () -> Decorator
83
+
84
+ def cadet_blue_73: () -> Decorator
85
+
86
+ def chartreuse: () -> Decorator
87
+
88
+ def chartreuse1: () -> Decorator
89
+
90
+ def chartreuse2: () -> Decorator
91
+
92
+ def chartreuse2_112: () -> Decorator
93
+
94
+ def chartreuse3: () -> Decorator
95
+
96
+ def chartreuse3_76: () -> Decorator
97
+
98
+ def chartreuse4: () -> Decorator
99
+
100
+ def chocolate: () -> Decorator
101
+
102
+ def coral: () -> Decorator
103
+
104
+ def cornflower_blue: () -> Decorator
105
+
106
+ def cornsilk: () -> Decorator
107
+
108
+ def cornsilk1: () -> Decorator
109
+
110
+ def crimson: () -> Decorator
111
+
112
+ def cyan: () -> Decorator
113
+
114
+ def cyan1: () -> Decorator
115
+
116
+ def cyan2: () -> Decorator
117
+
118
+ def cyan3: () -> Decorator
119
+
120
+ def dark_blue: () -> Decorator
121
+
122
+ def dark_cyan: () -> Decorator
123
+
124
+ def dark_goldenrod: () -> Decorator
125
+
126
+ def dark_gray: () -> Decorator
127
+
128
+ def dark_green: () -> Decorator
129
+
130
+ def dark_khaki: () -> Decorator
131
+
132
+ def dark_magenta: () -> Decorator
133
+
134
+ def dark_magenta_91: () -> Decorator
135
+
136
+ def dark_olive_green: () -> Decorator
137
+
138
+ def dark_olive_green1: () -> Decorator
139
+
140
+ def dark_olive_green1_192: () -> Decorator
141
+
142
+ def dark_olive_green2: () -> Decorator
143
+
144
+ def dark_olive_green3: () -> Decorator
145
+
146
+ def dark_olive_green3_113: () -> Decorator
147
+
148
+ def dark_olive_green3_149: () -> Decorator
149
+
150
+ def dark_orange: () -> Decorator
151
+
152
+ def dark_orange3: () -> Decorator
153
+
154
+ def dark_orange3_166: () -> Decorator
155
+
156
+ def dark_orchid: () -> Decorator
157
+
158
+ def dark_red: () -> Decorator
159
+
160
+ def dark_red_88: () -> Decorator
161
+
162
+ def dark_salmon: () -> Decorator
163
+
164
+ def dark_sea_green: () -> Decorator
165
+
166
+ def dark_sea_green1: () -> Decorator
167
+
168
+ def dark_sea_green1_193: () -> Decorator
169
+
170
+ def dark_sea_green2: () -> Decorator
171
+
172
+ def dark_sea_green2_157: () -> Decorator
173
+
174
+ def dark_sea_green3: () -> Decorator
175
+
176
+ def dark_sea_green3_150: () -> Decorator
177
+
178
+ def dark_sea_green4: () -> Decorator
179
+
180
+ def dark_sea_green4_71: () -> Decorator
181
+
182
+ def dark_slate_blue: () -> Decorator
183
+
184
+ def dark_slate_gray: () -> Decorator
185
+
186
+ def dark_slate_gray1: () -> Decorator
187
+
188
+ def dark_slate_gray2: () -> Decorator
189
+
190
+ def dark_slate_gray3: () -> Decorator
191
+
192
+ def dark_turquoise: () -> Decorator
193
+
194
+ def dark_violet: () -> Decorator
195
+
196
+ def dark_violet_128: () -> Decorator
197
+
198
+ def deep_pink: () -> Decorator
199
+
200
+ def deep_pink1: () -> Decorator
201
+
202
+ def deep_pink1_199: () -> Decorator
203
+
204
+ def deep_pink2: () -> Decorator
205
+
206
+ def deep_pink3: () -> Decorator
207
+
208
+ def deep_pink3_162: () -> Decorator
209
+
210
+ def deep_pink4: () -> Decorator
211
+
212
+ def deep_pink4_125: () -> Decorator
213
+
214
+ def deep_pink4_89: () -> Decorator
215
+
216
+ def deep_sky_blue: () -> Decorator
217
+
218
+ def deep_sky_blue1: () -> Decorator
219
+
220
+ def deep_sky_blue2: () -> Decorator
221
+
222
+ def deep_sky_blue3: () -> Decorator
223
+
224
+ def deep_sky_blue3_32: () -> Decorator
225
+
226
+ def deep_sky_blue4: () -> Decorator
227
+
228
+ def deep_sky_blue4_24: () -> Decorator
229
+
230
+ def deep_sky_blue4_25: () -> Decorator
231
+
232
+ def dim_gray: () -> Decorator
233
+
234
+ def dodger_blue: () -> Decorator
235
+
236
+ def dodger_blue1: () -> Decorator
237
+
238
+ def dodger_blue2: () -> Decorator
239
+
240
+ def dodger_blue3: () -> Decorator
241
+
242
+ def firebrick: () -> Decorator
243
+
244
+ def floral_white: () -> Decorator
245
+
246
+ def forest_green: () -> Decorator
247
+
248
+ def fuchsia: () -> Decorator
249
+
250
+ def fuchsia_system: () -> Decorator
251
+
252
+ def gainsboro: () -> Decorator
253
+
254
+ def ghost_white: () -> Decorator
255
+
256
+ def gold: () -> Decorator
257
+
258
+ def gold1: () -> Decorator
259
+
260
+ def gold3: () -> Decorator
261
+
262
+ def gold3_178: () -> Decorator
263
+
264
+ def goldenrod: () -> Decorator
265
+
266
+ def gray: () -> Decorator
267
+
268
+ def green: () -> Decorator
269
+
270
+ def green1: () -> Decorator
271
+
272
+ def green3: () -> Decorator
273
+
274
+ def green3_40: () -> Decorator
275
+
276
+ def green4: () -> Decorator
277
+
278
+ def green_system: () -> Decorator
279
+
280
+ def green_yellow: () -> Decorator
281
+
282
+ def grey0: () -> Decorator
283
+
284
+ def grey100: () -> Decorator
285
+
286
+ def grey11: () -> Decorator
287
+
288
+ def grey15: () -> Decorator
289
+
290
+ def grey19: () -> Decorator
291
+
292
+ def grey23: () -> Decorator
293
+
294
+ def grey27: () -> Decorator
295
+
296
+ def grey3: () -> Decorator
297
+
298
+ def grey30: () -> Decorator
299
+
300
+ def grey35: () -> Decorator
301
+
302
+ def grey37: () -> Decorator
303
+
304
+ def grey39: () -> Decorator
305
+
306
+ def grey42: () -> Decorator
307
+
308
+ def grey46: () -> Decorator
309
+
310
+ def grey50: () -> Decorator
311
+
312
+ def grey53: () -> Decorator
313
+
314
+ def grey54: () -> Decorator
315
+
316
+ def grey58: () -> Decorator
317
+
318
+ def grey62: () -> Decorator
319
+
320
+ def grey66: () -> Decorator
321
+
322
+ def grey7: () -> Decorator
323
+
324
+ def grey70: () -> Decorator
325
+
326
+ def grey74: () -> Decorator
327
+
328
+ def grey78: () -> Decorator
329
+
330
+ def grey82: () -> Decorator
331
+
332
+ def grey84: () -> Decorator
333
+
334
+ def grey85: () -> Decorator
335
+
336
+ def grey89: () -> Decorator
337
+
338
+ def grey93: () -> Decorator
339
+
340
+ def grey_system: () -> Decorator
341
+
342
+ def honeydew: () -> Decorator
343
+
344
+ def honeydew2: () -> Decorator
345
+
346
+ def hot_pink: () -> Decorator
347
+
348
+ def hot_pink2: () -> Decorator
349
+
350
+ def hot_pink3: () -> Decorator
351
+
352
+ def hot_pink3_168: () -> Decorator
353
+
354
+ def hot_pink_206: () -> Decorator
355
+
356
+ def indian_red: () -> Decorator
357
+
358
+ def indian_red1: () -> Decorator
359
+
360
+ def indian_red1_204: () -> Decorator
361
+
362
+ def indian_red_167: () -> Decorator
363
+
364
+ def indigo: () -> Decorator
365
+
366
+ def ivory: () -> Decorator
367
+
368
+ def khaki: () -> Decorator
369
+
370
+ def khaki1: () -> Decorator
371
+
372
+ def khaki3: () -> Decorator
373
+
374
+ def lavender: () -> Decorator
375
+
376
+ def lavender_blush: () -> Decorator
377
+
378
+ def lawn_green: () -> Decorator
379
+
380
+ def lemon_chiffon: () -> Decorator
381
+
382
+ def light_blue: () -> Decorator
383
+
384
+ def light_coral: () -> Decorator
385
+
386
+ def light_cyan: () -> Decorator
387
+
388
+ def light_cyan1: () -> Decorator
389
+
390
+ def light_cyan3: () -> Decorator
391
+
392
+ def light_goldenrod1: () -> Decorator
393
+
394
+ def light_goldenrod2: () -> Decorator
395
+
396
+ def light_goldenrod2_221: () -> Decorator
397
+
398
+ def light_goldenrod3: () -> Decorator
399
+
400
+ def light_goldenrod_yellow: () -> Decorator
401
+
402
+ def light_gray: () -> Decorator
403
+
404
+ def light_green: () -> Decorator
405
+
406
+ def light_green_120: () -> Decorator
407
+
408
+ def light_pink: () -> Decorator
409
+
410
+ def light_pink1: () -> Decorator
411
+
412
+ def light_pink3: () -> Decorator
413
+
414
+ def light_pink4: () -> Decorator
415
+
416
+ def light_salmon: () -> Decorator
417
+
418
+ def light_salmon1: () -> Decorator
419
+
420
+ def light_salmon3: () -> Decorator
421
+
422
+ def light_salmon3_173: () -> Decorator
423
+
424
+ def light_sea_green: () -> Decorator
425
+
426
+ def light_sky_blue: () -> Decorator
427
+
428
+ def light_sky_blue1: () -> Decorator
429
+
430
+ def light_sky_blue3: () -> Decorator
431
+
432
+ def light_sky_blue3_110: () -> Decorator
433
+
434
+ def light_slate_blue: () -> Decorator
435
+
436
+ def light_slate_gray: () -> Decorator
437
+
438
+ def light_slate_grey: () -> Decorator
439
+
440
+ def light_steel_blue: () -> Decorator
441
+
442
+ def light_steel_blue1: () -> Decorator
443
+
444
+ def light_steel_blue3: () -> Decorator
445
+
446
+ def light_yellow: () -> Decorator
447
+
448
+ def lime: () -> Decorator
449
+
450
+ def lime_green: () -> Decorator
451
+
452
+ def lime_system: () -> Decorator
453
+
454
+ def linen: () -> Decorator
455
+
456
+ def magenta: () -> Decorator
457
+
458
+ def magenta1: () -> Decorator
459
+
460
+ def magenta2: () -> Decorator
461
+
462
+ def magenta2_200: () -> Decorator
463
+
464
+ def magenta3: () -> Decorator
465
+
466
+ def magenta3_163: () -> Decorator
467
+
468
+ def magenta3_164: () -> Decorator
469
+
470
+ def maroon: () -> Decorator
471
+
472
+ def maroon_system: () -> Decorator
473
+
474
+ def medium_aquamarine: () -> Decorator
475
+
476
+ def medium_blue: () -> Decorator
477
+
478
+ def medium_orchid: () -> Decorator
479
+
480
+ def medium_orchid1: () -> Decorator
481
+
482
+ def medium_orchid1_207: () -> Decorator
483
+
484
+ def medium_orchid3: () -> Decorator
485
+
486
+ def medium_purple: () -> Decorator
487
+
488
+ def medium_purple1: () -> Decorator
489
+
490
+ def medium_purple2: () -> Decorator
491
+
492
+ def medium_purple2_140: () -> Decorator
493
+
494
+ def medium_purple3: () -> Decorator
495
+
496
+ def medium_purple3_98: () -> Decorator
497
+
498
+ def medium_purple4: () -> Decorator
499
+
500
+ def medium_sea_green: () -> Decorator
501
+
502
+ def medium_slate_blue: () -> Decorator
503
+
504
+ def medium_spring_green: () -> Decorator
505
+
506
+ def medium_turquoise: () -> Decorator
507
+
508
+ def medium_violet_red: () -> Decorator
509
+
510
+ def midnight_blue: () -> Decorator
511
+
512
+ def mint_cream: () -> Decorator
513
+
514
+ def misty_rose: () -> Decorator
515
+
516
+ def misty_rose1: () -> Decorator
517
+
518
+ def misty_rose3: () -> Decorator
519
+
520
+ def moccasin: () -> Decorator
521
+
522
+ def navajo_white: () -> Decorator
523
+
524
+ def navajo_white1: () -> Decorator
525
+
526
+ def navajo_white3: () -> Decorator
527
+
528
+ def navy: () -> Decorator
529
+
530
+ def navy_blue: () -> Decorator
531
+
532
+ def navy_system: () -> Decorator
533
+
534
+ def old_lace: () -> Decorator
535
+
536
+ def olive: () -> Decorator
537
+
538
+ def olive_drab: () -> Decorator
539
+
540
+ def olive_system: () -> Decorator
541
+
542
+ def on_alice_blue: () -> Decorator
543
+
544
+ def on_antique_white: () -> Decorator
545
+
546
+ def on_aqua: () -> Decorator
547
+
548
+ def on_aqua_system: () -> Decorator
549
+
550
+ def on_aquamarine: () -> Decorator
551
+
552
+ def on_aquamarine1: () -> Decorator
553
+
554
+ def on_aquamarine1_122: () -> Decorator
555
+
556
+ def on_aquamarine3: () -> Decorator
557
+
558
+ def on_azure: () -> Decorator
559
+
560
+ def on_beige: () -> Decorator
561
+
562
+ def on_bisque: () -> Decorator
563
+
564
+ def on_black: () -> Decorator
565
+
566
+ def on_black_system: () -> Decorator
567
+
568
+ def on_blanched_almond: () -> Decorator
569
+
570
+ def on_blue: () -> Decorator
571
+
572
+ def on_blue1: () -> Decorator
573
+
574
+ def on_blue3: () -> Decorator
575
+
576
+ def on_blue3_20: () -> Decorator
577
+
578
+ def on_blue_system: () -> Decorator
579
+
580
+ def on_blue_violet: () -> Decorator
581
+
582
+ def on_bright_black: () -> Decorator
583
+
584
+ def on_bright_blue: () -> Decorator
585
+
586
+ def on_bright_cyan: () -> Decorator
587
+
588
+ def on_bright_green: () -> Decorator
589
+
590
+ def on_bright_magenta: () -> Decorator
591
+
592
+ def on_bright_red: () -> Decorator
593
+
594
+ def on_bright_white: () -> Decorator
595
+
596
+ def on_bright_yellow: () -> Decorator
597
+
598
+ def on_brown: () -> Decorator
599
+
600
+ def on_burly_wood: () -> Decorator
601
+
602
+ def on_cadet_blue: () -> Decorator
603
+
604
+ def on_cadet_blue_73: () -> Decorator
605
+
606
+ def on_chartreuse: () -> Decorator
607
+
608
+ def on_chartreuse1: () -> Decorator
609
+
610
+ def on_chartreuse2: () -> Decorator
611
+
612
+ def on_chartreuse2_112: () -> Decorator
613
+
614
+ def on_chartreuse3: () -> Decorator
615
+
616
+ def on_chartreuse3_76: () -> Decorator
617
+
618
+ def on_chartreuse4: () -> Decorator
619
+
620
+ def on_chocolate: () -> Decorator
621
+
622
+ def on_coral: () -> Decorator
623
+
624
+ def on_cornflower_blue: () -> Decorator
625
+
626
+ def on_cornsilk: () -> Decorator
627
+
628
+ def on_cornsilk1: () -> Decorator
629
+
630
+ def on_crimson: () -> Decorator
631
+
632
+ def on_cyan: () -> Decorator
633
+
634
+ def on_cyan1: () -> Decorator
635
+
636
+ def on_cyan2: () -> Decorator
637
+
638
+ def on_cyan3: () -> Decorator
639
+
640
+ def on_dark_blue: () -> Decorator
641
+
642
+ def on_dark_cyan: () -> Decorator
643
+
644
+ def on_dark_goldenrod: () -> Decorator
645
+
646
+ def on_dark_gray: () -> Decorator
647
+
648
+ def on_dark_green: () -> Decorator
649
+
650
+ def on_dark_khaki: () -> Decorator
651
+
652
+ def on_dark_magenta: () -> Decorator
653
+
654
+ def on_dark_magenta_91: () -> Decorator
655
+
656
+ def on_dark_olive_green: () -> Decorator
657
+
658
+ def on_dark_olive_green1: () -> Decorator
659
+
660
+ def on_dark_olive_green1_192: () -> Decorator
661
+
662
+ def on_dark_olive_green2: () -> Decorator
663
+
664
+ def on_dark_olive_green3: () -> Decorator
665
+
666
+ def on_dark_olive_green3_113: () -> Decorator
667
+
668
+ def on_dark_olive_green3_149: () -> Decorator
669
+
670
+ def on_dark_orange: () -> Decorator
671
+
672
+ def on_dark_orange3: () -> Decorator
673
+
674
+ def on_dark_orange3_166: () -> Decorator
675
+
676
+ def on_dark_orchid: () -> Decorator
677
+
678
+ def on_dark_red: () -> Decorator
679
+
680
+ def on_dark_red_88: () -> Decorator
681
+
682
+ def on_dark_salmon: () -> Decorator
683
+
684
+ def on_dark_sea_green: () -> Decorator
685
+
686
+ def on_dark_sea_green1: () -> Decorator
687
+
688
+ def on_dark_sea_green1_193: () -> Decorator
689
+
690
+ def on_dark_sea_green2: () -> Decorator
691
+
692
+ def on_dark_sea_green2_157: () -> Decorator
693
+
694
+ def on_dark_sea_green3: () -> Decorator
695
+
696
+ def on_dark_sea_green3_150: () -> Decorator
697
+
698
+ def on_dark_sea_green4: () -> Decorator
699
+
700
+ def on_dark_sea_green4_71: () -> Decorator
701
+
702
+ def on_dark_slate_blue: () -> Decorator
703
+
704
+ def on_dark_slate_gray: () -> Decorator
705
+
706
+ def on_dark_slate_gray1: () -> Decorator
707
+
708
+ def on_dark_slate_gray2: () -> Decorator
709
+
710
+ def on_dark_slate_gray3: () -> Decorator
711
+
712
+ def on_dark_turquoise: () -> Decorator
713
+
714
+ def on_dark_violet: () -> Decorator
715
+
716
+ def on_dark_violet_128: () -> Decorator
717
+
718
+ def on_deep_pink: () -> Decorator
719
+
720
+ def on_deep_pink1: () -> Decorator
721
+
722
+ def on_deep_pink1_199: () -> Decorator
723
+
724
+ def on_deep_pink2: () -> Decorator
725
+
726
+ def on_deep_pink3: () -> Decorator
727
+
728
+ def on_deep_pink3_162: () -> Decorator
729
+
730
+ def on_deep_pink4: () -> Decorator
731
+
732
+ def on_deep_pink4_125: () -> Decorator
733
+
734
+ def on_deep_pink4_89: () -> Decorator
735
+
736
+ def on_deep_sky_blue: () -> Decorator
737
+
738
+ def on_deep_sky_blue1: () -> Decorator
739
+
740
+ def on_deep_sky_blue2: () -> Decorator
741
+
742
+ def on_deep_sky_blue3: () -> Decorator
743
+
744
+ def on_deep_sky_blue3_32: () -> Decorator
745
+
746
+ def on_deep_sky_blue4: () -> Decorator
747
+
748
+ def on_deep_sky_blue4_24: () -> Decorator
749
+
750
+ def on_deep_sky_blue4_25: () -> Decorator
751
+
752
+ def on_dim_gray: () -> Decorator
753
+
754
+ def on_dodger_blue: () -> Decorator
755
+
756
+ def on_dodger_blue1: () -> Decorator
757
+
758
+ def on_dodger_blue2: () -> Decorator
759
+
760
+ def on_dodger_blue3: () -> Decorator
761
+
762
+ def on_firebrick: () -> Decorator
763
+
764
+ def on_floral_white: () -> Decorator
765
+
766
+ def on_forest_green: () -> Decorator
767
+
768
+ def on_fuchsia: () -> Decorator
769
+
770
+ def on_fuchsia_system: () -> Decorator
771
+
772
+ def on_gainsboro: () -> Decorator
773
+
774
+ def on_ghost_white: () -> Decorator
775
+
776
+ def on_gold: () -> Decorator
777
+
778
+ def on_gold1: () -> Decorator
779
+
780
+ def on_gold3: () -> Decorator
781
+
782
+ def on_gold3_178: () -> Decorator
783
+
784
+ def on_goldenrod: () -> Decorator
785
+
786
+ def on_gray: () -> Decorator
787
+
788
+ def on_green: () -> Decorator
789
+
790
+ def on_green1: () -> Decorator
791
+
792
+ def on_green3: () -> Decorator
793
+
794
+ def on_green3_40: () -> Decorator
795
+
796
+ def on_green4: () -> Decorator
797
+
798
+ def on_green_system: () -> Decorator
799
+
800
+ def on_green_yellow: () -> Decorator
801
+
802
+ def on_grey0: () -> Decorator
803
+
804
+ def on_grey100: () -> Decorator
805
+
806
+ def on_grey11: () -> Decorator
807
+
808
+ def on_grey15: () -> Decorator
809
+
810
+ def on_grey19: () -> Decorator
811
+
812
+ def on_grey23: () -> Decorator
813
+
814
+ def on_grey27: () -> Decorator
815
+
816
+ def on_grey3: () -> Decorator
817
+
818
+ def on_grey30: () -> Decorator
819
+
820
+ def on_grey35: () -> Decorator
821
+
822
+ def on_grey37: () -> Decorator
823
+
824
+ def on_grey39: () -> Decorator
825
+
826
+ def on_grey42: () -> Decorator
827
+
828
+ def on_grey46: () -> Decorator
829
+
830
+ def on_grey50: () -> Decorator
831
+
832
+ def on_grey53: () -> Decorator
833
+
834
+ def on_grey54: () -> Decorator
835
+
836
+ def on_grey58: () -> Decorator
837
+
838
+ def on_grey62: () -> Decorator
839
+
840
+ def on_grey66: () -> Decorator
841
+
842
+ def on_grey7: () -> Decorator
843
+
844
+ def on_grey70: () -> Decorator
845
+
846
+ def on_grey74: () -> Decorator
847
+
848
+ def on_grey78: () -> Decorator
849
+
850
+ def on_grey82: () -> Decorator
851
+
852
+ def on_grey84: () -> Decorator
853
+
854
+ def on_grey85: () -> Decorator
855
+
856
+ def on_grey89: () -> Decorator
857
+
858
+ def on_grey93: () -> Decorator
859
+
860
+ def on_grey_system: () -> Decorator
861
+
862
+ def on_honeydew: () -> Decorator
863
+
864
+ def on_honeydew2: () -> Decorator
865
+
866
+ def on_hot_pink: () -> Decorator
867
+
868
+ def on_hot_pink2: () -> Decorator
869
+
870
+ def on_hot_pink3: () -> Decorator
871
+
872
+ def on_hot_pink3_168: () -> Decorator
873
+
874
+ def on_hot_pink_206: () -> Decorator
875
+
876
+ def on_indian_red: () -> Decorator
877
+
878
+ def on_indian_red1: () -> Decorator
879
+
880
+ def on_indian_red1_204: () -> Decorator
881
+
882
+ def on_indian_red_167: () -> Decorator
883
+
884
+ def on_indigo: () -> Decorator
885
+
886
+ def on_ivory: () -> Decorator
887
+
888
+ def on_khaki: () -> Decorator
889
+
890
+ def on_khaki1: () -> Decorator
891
+
892
+ def on_khaki3: () -> Decorator
893
+
894
+ def on_lavender: () -> Decorator
895
+
896
+ def on_lavender_blush: () -> Decorator
897
+
898
+ def on_lawn_green: () -> Decorator
899
+
900
+ def on_lemon_chiffon: () -> Decorator
901
+
902
+ def on_light_blue: () -> Decorator
903
+
904
+ def on_light_coral: () -> Decorator
905
+
906
+ def on_light_cyan: () -> Decorator
907
+
908
+ def on_light_cyan1: () -> Decorator
909
+
910
+ def on_light_cyan3: () -> Decorator
911
+
912
+ def on_light_goldenrod1: () -> Decorator
913
+
914
+ def on_light_goldenrod2: () -> Decorator
915
+
916
+ def on_light_goldenrod2_221: () -> Decorator
917
+
918
+ def on_light_goldenrod3: () -> Decorator
919
+
920
+ def on_light_goldenrod_yellow: () -> Decorator
921
+
922
+ def on_light_gray: () -> Decorator
923
+
924
+ def on_light_green: () -> Decorator
925
+
926
+ def on_light_green_120: () -> Decorator
927
+
928
+ def on_light_pink: () -> Decorator
929
+
930
+ def on_light_pink1: () -> Decorator
931
+
932
+ def on_light_pink3: () -> Decorator
933
+
934
+ def on_light_pink4: () -> Decorator
935
+
936
+ def on_light_salmon: () -> Decorator
937
+
938
+ def on_light_salmon1: () -> Decorator
939
+
940
+ def on_light_salmon3: () -> Decorator
941
+
942
+ def on_light_salmon3_173: () -> Decorator
943
+
944
+ def on_light_sea_green: () -> Decorator
945
+
946
+ def on_light_sky_blue: () -> Decorator
947
+
948
+ def on_light_sky_blue1: () -> Decorator
949
+
950
+ def on_light_sky_blue3: () -> Decorator
951
+
952
+ def on_light_sky_blue3_110: () -> Decorator
953
+
954
+ def on_light_slate_blue: () -> Decorator
955
+
956
+ def on_light_slate_gray: () -> Decorator
957
+
958
+ def on_light_slate_grey: () -> Decorator
959
+
960
+ def on_light_steel_blue: () -> Decorator
961
+
962
+ def on_light_steel_blue1: () -> Decorator
963
+
964
+ def on_light_steel_blue3: () -> Decorator
965
+
966
+ def on_light_yellow: () -> Decorator
967
+
968
+ def on_lime: () -> Decorator
969
+
970
+ def on_lime_green: () -> Decorator
971
+
972
+ def on_lime_system: () -> Decorator
973
+
974
+ def on_linen: () -> Decorator
975
+
976
+ def on_magenta: () -> Decorator
977
+
978
+ def on_magenta1: () -> Decorator
979
+
980
+ def on_magenta2: () -> Decorator
981
+
982
+ def on_magenta2_200: () -> Decorator
983
+
984
+ def on_magenta3: () -> Decorator
985
+
986
+ def on_magenta3_163: () -> Decorator
987
+
988
+ def on_magenta3_164: () -> Decorator
989
+
990
+ def on_maroon: () -> Decorator
991
+
992
+ def on_maroon_system: () -> Decorator
993
+
994
+ def on_medium_aquamarine: () -> Decorator
995
+
996
+ def on_medium_blue: () -> Decorator
997
+
998
+ def on_medium_orchid: () -> Decorator
999
+
1000
+ def on_medium_orchid1: () -> Decorator
1001
+
1002
+ def on_medium_orchid1_207: () -> Decorator
1003
+
1004
+ def on_medium_orchid3: () -> Decorator
1005
+
1006
+ def on_medium_purple: () -> Decorator
1007
+
1008
+ def on_medium_purple1: () -> Decorator
1009
+
1010
+ def on_medium_purple2: () -> Decorator
1011
+
1012
+ def on_medium_purple2_140: () -> Decorator
1013
+
1014
+ def on_medium_purple3: () -> Decorator
1015
+
1016
+ def on_medium_purple3_98: () -> Decorator
1017
+
1018
+ def on_medium_purple4: () -> Decorator
1019
+
1020
+ def on_medium_sea_green: () -> Decorator
1021
+
1022
+ def on_medium_slate_blue: () -> Decorator
1023
+
1024
+ def on_medium_spring_green: () -> Decorator
1025
+
1026
+ def on_medium_turquoise: () -> Decorator
1027
+
1028
+ def on_medium_violet_red: () -> Decorator
1029
+
1030
+ def on_midnight_blue: () -> Decorator
1031
+
1032
+ def on_mint_cream: () -> Decorator
1033
+
1034
+ def on_misty_rose: () -> Decorator
1035
+
1036
+ def on_misty_rose1: () -> Decorator
1037
+
1038
+ def on_misty_rose3: () -> Decorator
1039
+
1040
+ def on_moccasin: () -> Decorator
1041
+
1042
+ def on_navajo_white: () -> Decorator
1043
+
1044
+ def on_navajo_white1: () -> Decorator
1045
+
1046
+ def on_navajo_white3: () -> Decorator
1047
+
1048
+ def on_navy: () -> Decorator
1049
+
1050
+ def on_navy_blue: () -> Decorator
1051
+
1052
+ def on_navy_system: () -> Decorator
1053
+
1054
+ def on_old_lace: () -> Decorator
1055
+
1056
+ def on_olive: () -> Decorator
1057
+
1058
+ def on_olive_drab: () -> Decorator
1059
+
1060
+ def on_olive_system: () -> Decorator
1061
+
1062
+ def on_orange: () -> Decorator
1063
+
1064
+ def on_orange1: () -> Decorator
1065
+
1066
+ def on_orange3: () -> Decorator
1067
+
1068
+ def on_orange4: () -> Decorator
1069
+
1070
+ def on_orange4_94: () -> Decorator
1071
+
1072
+ def on_orange_red: () -> Decorator
1073
+
1074
+ def on_orange_red1: () -> Decorator
1075
+
1076
+ def on_orchid: () -> Decorator
1077
+
1078
+ def on_orchid1: () -> Decorator
1079
+
1080
+ def on_orchid2: () -> Decorator
1081
+
1082
+ def on_pale_goldenrod: () -> Decorator
1083
+
1084
+ def on_pale_green: () -> Decorator
1085
+
1086
+ def on_pale_green1: () -> Decorator
1087
+
1088
+ def on_pale_green1_156: () -> Decorator
1089
+
1090
+ def on_pale_green3: () -> Decorator
1091
+
1092
+ def on_pale_green3_114: () -> Decorator
1093
+
1094
+ def on_pale_turquoise: () -> Decorator
1095
+
1096
+ def on_pale_turquoise1: () -> Decorator
1097
+
1098
+ def on_pale_turquoise4: () -> Decorator
1099
+
1100
+ def on_pale_violet_red: () -> Decorator
1101
+
1102
+ def on_pale_violet_red1: () -> Decorator
1103
+
1104
+ def on_papaya_whip: () -> Decorator
1105
+
1106
+ def on_peach_puff: () -> Decorator
1107
+
1108
+ def on_peru: () -> Decorator
1109
+
1110
+ def on_pink: () -> Decorator
1111
+
1112
+ def on_pink1: () -> Decorator
1113
+
1114
+ def on_pink3: () -> Decorator
1115
+
1116
+ def on_plum: () -> Decorator
1117
+
1118
+ def on_plum1: () -> Decorator
1119
+
1120
+ def on_plum2: () -> Decorator
1121
+
1122
+ def on_plum3: () -> Decorator
1123
+
1124
+ def on_plum4: () -> Decorator
1125
+
1126
+ def on_powder_blue: () -> Decorator
1127
+
1128
+ def on_purple: () -> Decorator
1129
+
1130
+ def on_purple3: () -> Decorator
1131
+
1132
+ def on_purple4: () -> Decorator
1133
+
1134
+ def on_purple4_55: () -> Decorator
1135
+
1136
+ def on_purple_129: () -> Decorator
1137
+
1138
+ def on_purple_system: () -> Decorator
1139
+
1140
+ def on_red: () -> Decorator
1141
+
1142
+ def on_red1: () -> Decorator
1143
+
1144
+ def on_red3: () -> Decorator
1145
+
1146
+ def on_red3_160: () -> Decorator
1147
+
1148
+ def on_red_system: () -> Decorator
1149
+
1150
+ def on_rosy_brown: () -> Decorator
1151
+
1152
+ def on_royal_blue: () -> Decorator
1153
+
1154
+ def on_royal_blue1: () -> Decorator
1155
+
1156
+ def on_saddle_brown: () -> Decorator
1157
+
1158
+ def on_salmon: () -> Decorator
1159
+
1160
+ def on_salmon1: () -> Decorator
1161
+
1162
+ def on_sandy_brown: () -> Decorator
1163
+
1164
+ def on_sea_green: () -> Decorator
1165
+
1166
+ def on_sea_shell: () -> Decorator
1167
+
1168
+ def on_sienna: () -> Decorator
1169
+
1170
+ def on_silver: () -> Decorator
1171
+
1172
+ def on_silver_system: () -> Decorator
1173
+
1174
+ def on_sky_blue: () -> Decorator
1175
+
1176
+ def on_sky_blue1: () -> Decorator
1177
+
1178
+ def on_sky_blue2: () -> Decorator
1179
+
1180
+ def on_sky_blue3: () -> Decorator
1181
+
1182
+ def on_slate_blue: () -> Decorator
1183
+
1184
+ def on_slate_blue1: () -> Decorator
1185
+
1186
+ def on_slate_blue3: () -> Decorator
1187
+
1188
+ def on_slate_blue3_62: () -> Decorator
1189
+
1190
+ def on_slate_gray: () -> Decorator
1191
+
1192
+ def on_snow: () -> Decorator
1193
+
1194
+ def on_spring_green: () -> Decorator
1195
+
1196
+ def on_spring_green1: () -> Decorator
1197
+
1198
+ def on_spring_green2: () -> Decorator
1199
+
1200
+ def on_spring_green2_47: () -> Decorator
1201
+
1202
+ def on_spring_green3: () -> Decorator
1203
+
1204
+ def on_spring_green3_41: () -> Decorator
1205
+
1206
+ def on_spring_green4: () -> Decorator
1207
+
1208
+ def on_steel_blue: () -> Decorator
1209
+
1210
+ def on_steel_blue1: () -> Decorator
1211
+
1212
+ def on_steel_blue1_81: () -> Decorator
1213
+
1214
+ def on_steel_blue3: () -> Decorator
1215
+
1216
+ def on_tan: () -> Decorator
1217
+
1218
+ def on_teal: () -> Decorator
1219
+
1220
+ def on_teal_system: () -> Decorator
1221
+
1222
+ def on_thistle: () -> Decorator
1223
+
1224
+ def on_thistle1: () -> Decorator
1225
+
1226
+ def on_thistle3: () -> Decorator
1227
+
1228
+ def on_tomato: () -> Decorator
1229
+
1230
+ def on_turquoise: () -> Decorator
1231
+
1232
+ def on_turquoise2: () -> Decorator
1233
+
1234
+ def on_turquoise4: () -> Decorator
1235
+
1236
+ def on_violet: () -> Decorator
1237
+
1238
+ def on_wheat: () -> Decorator
1239
+
1240
+ def on_wheat1: () -> Decorator
1241
+
1242
+ def on_wheat4: () -> Decorator
1243
+
1244
+ def on_white: () -> Decorator
1245
+
1246
+ def on_white_smoke: () -> Decorator
1247
+
1248
+ def on_white_system: () -> Decorator
1249
+
1250
+ def on_yellow: () -> Decorator
1251
+
1252
+ def on_yellow1: () -> Decorator
1253
+
1254
+ def on_yellow2: () -> Decorator
1255
+
1256
+ def on_yellow3: () -> Decorator
1257
+
1258
+ def on_yellow3_184: () -> Decorator
1259
+
1260
+ def on_yellow4: () -> Decorator
1261
+
1262
+ def on_yellow4_106: () -> Decorator
1263
+
1264
+ def on_yellow_green: () -> Decorator
1265
+
1266
+ def on_yellow_system: () -> Decorator
1267
+
1268
+ def orange: () -> Decorator
1269
+
1270
+ def orange1: () -> Decorator
1271
+
1272
+ def orange3: () -> Decorator
1273
+
1274
+ def orange4: () -> Decorator
1275
+
1276
+ def orange4_94: () -> Decorator
1277
+
1278
+ def orange_red: () -> Decorator
1279
+
1280
+ def orange_red1: () -> Decorator
1281
+
1282
+ def orchid: () -> Decorator
1283
+
1284
+ def orchid1: () -> Decorator
1285
+
1286
+ def orchid2: () -> Decorator
1287
+
1288
+ def pale_goldenrod: () -> Decorator
1289
+
1290
+ def pale_green: () -> Decorator
1291
+
1292
+ def pale_green1: () -> Decorator
1293
+
1294
+ def pale_green1_156: () -> Decorator
1295
+
1296
+ def pale_green3: () -> Decorator
1297
+
1298
+ def pale_green3_114: () -> Decorator
1299
+
1300
+ def pale_turquoise: () -> Decorator
1301
+
1302
+ def pale_turquoise1: () -> Decorator
1303
+
1304
+ def pale_turquoise4: () -> Decorator
1305
+
1306
+ def pale_violet_red: () -> Decorator
1307
+
1308
+ def pale_violet_red1: () -> Decorator
1309
+
1310
+ def papaya_whip: () -> Decorator
1311
+
1312
+ def peach_puff: () -> Decorator
1313
+
1314
+ def peru: () -> Decorator
1315
+
1316
+ def pink: () -> Decorator
1317
+
1318
+ def pink1: () -> Decorator
1319
+
1320
+ def pink3: () -> Decorator
1321
+
1322
+ def plum: () -> Decorator
1323
+
1324
+ def plum1: () -> Decorator
1325
+
1326
+ def plum2: () -> Decorator
1327
+
1328
+ def plum3: () -> Decorator
1329
+
1330
+ def plum4: () -> Decorator
1331
+
1332
+ def powder_blue: () -> Decorator
1333
+
1334
+ def purple: () -> Decorator
1335
+
1336
+ def purple3: () -> Decorator
1337
+
1338
+ def purple4: () -> Decorator
1339
+
1340
+ def purple4_55: () -> Decorator
1341
+
1342
+ def purple_129: () -> Decorator
1343
+
1344
+ def purple_system: () -> Decorator
1345
+
1346
+ def red: () -> Decorator
1347
+
1348
+ def red1: () -> Decorator
1349
+
1350
+ def red3: () -> Decorator
1351
+
1352
+ def red3_160: () -> Decorator
1353
+
1354
+ def red_system: () -> Decorator
1355
+
1356
+ def rosy_brown: () -> Decorator
1357
+
1358
+ def royal_blue: () -> Decorator
1359
+
1360
+ def royal_blue1: () -> Decorator
1361
+
1362
+ def saddle_brown: () -> Decorator
1363
+
1364
+ def salmon: () -> Decorator
1365
+
1366
+ def salmon1: () -> Decorator
1367
+
1368
+ def sandy_brown: () -> Decorator
1369
+
1370
+ def sea_green: () -> Decorator
1371
+
1372
+ def sea_shell: () -> Decorator
1373
+
1374
+ def sienna: () -> Decorator
1375
+
1376
+ def silver: () -> Decorator
1377
+
1378
+ def silver_system: () -> Decorator
1379
+
1380
+ def sky_blue: () -> Decorator
1381
+
1382
+ def sky_blue1: () -> Decorator
1383
+
1384
+ def sky_blue2: () -> Decorator
1385
+
1386
+ def sky_blue3: () -> Decorator
1387
+
1388
+ def slate_blue: () -> Decorator
1389
+
1390
+ def slate_blue1: () -> Decorator
1391
+
1392
+ def slate_blue3: () -> Decorator
1393
+
1394
+ def slate_blue3_62: () -> Decorator
1395
+
1396
+ def slate_gray: () -> Decorator
1397
+
1398
+ def snow: () -> Decorator
1399
+
1400
+ def spring_green: () -> Decorator
1401
+
1402
+ def spring_green1: () -> Decorator
1403
+
1404
+ def spring_green2: () -> Decorator
1405
+
1406
+ def spring_green2_47: () -> Decorator
1407
+
1408
+ def spring_green3: () -> Decorator
1409
+
1410
+ def spring_green3_41: () -> Decorator
1411
+
1412
+ def spring_green4: () -> Decorator
1413
+
1414
+ def steel_blue: () -> Decorator
1415
+
1416
+ def steel_blue1: () -> Decorator
1417
+
1418
+ def steel_blue1_81: () -> Decorator
1419
+
1420
+ def steel_blue3: () -> Decorator
1421
+
1422
+ def tan: () -> Decorator
1423
+
1424
+ def teal: () -> Decorator
1425
+
1426
+ def teal_system: () -> Decorator
1427
+
1428
+ def thistle: () -> Decorator
1429
+
1430
+ def thistle1: () -> Decorator
1431
+
1432
+ def thistle3: () -> Decorator
1433
+
1434
+ def tomato: () -> Decorator
1435
+
1436
+ def turquoise: () -> Decorator
1437
+
1438
+ def turquoise2: () -> Decorator
1439
+
1440
+ def turquoise4: () -> Decorator
1441
+
1442
+ def violet: () -> Decorator
1443
+
1444
+ def wheat: () -> Decorator
1445
+
1446
+ def wheat1: () -> Decorator
1447
+
1448
+ def wheat4: () -> Decorator
1449
+
1450
+ def white: () -> Decorator
1451
+
1452
+ def white_smoke: () -> Decorator
1453
+
1454
+ def white_system: () -> Decorator
1455
+
1456
+ def yellow: () -> Decorator
1457
+
1458
+ def yellow1: () -> Decorator
1459
+
1460
+ def yellow2: () -> Decorator
1461
+
1462
+ def yellow3: () -> Decorator
1463
+
1464
+ def yellow3_184: () -> Decorator
1465
+
1466
+ def yellow4: () -> Decorator
1467
+
1468
+ def yellow4_106: () -> Decorator
1469
+
1470
+ def yellow_green: () -> Decorator
1471
+
1472
+ def yellow_system: () -> Decorator
1473
+
1474
+ private
1475
+
1476
+ # Apply a named color to the specified style type
1477
+ #
1478
+ # @author {https://aaronmallen.me Aaron Allen}
1479
+ # @since 0.1.0
1480
+ #
1481
+ # @api private
1482
+ #
1483
+ # @param style_type [Symbol] the style type to apply the color to
1484
+ # @param color [Symbol] the color to apply
1485
+ #
1486
+ # @return [Decorator] a new instance of Decorator with the color applied
1487
+ # @rbs (Conversion::ColorSequence::style_type style_type, Symbol color) -> Decorator
1488
+ def apply_named_color: (Conversion::ColorSequence::style_type style_type, Symbol color) -> Decorator
1489
+ end
1490
+ end
1491
+ end