jekyll-theme-centos 2.54.0 → 2.54.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.
- checksums.yaml +4 -4
- data/_data/base/color.yml +91 -454
- data/_data/base/color_schema.yml +48 -390
- data/_sass/base/_light-dark.scss +8 -8
- data/_sass/base/_maps.scss +3 -6
- data/_sass/base/_variables.scss +9 -14
- metadata +1 -1
data/_data/base/color_schema.yml
CHANGED
|
@@ -3,7 +3,7 @@ title: Color Component Configuration
|
|
|
3
3
|
description: >-
|
|
4
4
|
Schema for configuring the 'Color' component palette system. This component defines
|
|
5
5
|
the complete CentOS color palette including branding colors, semantic status colors,
|
|
6
|
-
neutral colors, and
|
|
6
|
+
neutral colors, and the shades of purple, orange, blue, and green.
|
|
7
7
|
All colors are validated for WCAG 2.2 accessibility compliance with documented
|
|
8
8
|
contrast ratios and compliance flags.
|
|
9
9
|
type: object
|
|
@@ -38,20 +38,20 @@ $defs:
|
|
|
38
38
|
description: Recommended text color for optimal contrast
|
|
39
39
|
|
|
40
40
|
shadeNumberEnum:
|
|
41
|
-
type:
|
|
41
|
+
type: integer
|
|
42
42
|
enum:
|
|
43
|
-
-
|
|
44
|
-
-
|
|
45
|
-
-
|
|
46
|
-
-
|
|
47
|
-
-
|
|
48
|
-
-
|
|
49
|
-
-
|
|
50
|
-
-
|
|
51
|
-
-
|
|
52
|
-
-
|
|
53
|
-
-
|
|
54
|
-
description: Shade
|
|
43
|
+
- 50
|
|
44
|
+
- 100
|
|
45
|
+
- 200
|
|
46
|
+
- 300
|
|
47
|
+
- 400
|
|
48
|
+
- 500
|
|
49
|
+
- 600
|
|
50
|
+
- 700
|
|
51
|
+
- 800
|
|
52
|
+
- 900
|
|
53
|
+
- 950
|
|
54
|
+
description: Shade grade, where a higher grade is darker.
|
|
55
55
|
|
|
56
56
|
properties:
|
|
57
57
|
with_color:
|
|
@@ -68,9 +68,9 @@ properties:
|
|
|
68
68
|
type: object
|
|
69
69
|
default: {}
|
|
70
70
|
description: >-
|
|
71
|
-
The color palette data object containing
|
|
72
|
-
|
|
73
|
-
|
|
71
|
+
The color palette data object containing every documented CentOS color,
|
|
72
|
+
grouped into branding colors, semantic colors, neutral colors, and shades of
|
|
73
|
+
purple, orange, blue, and green. Each color includes WCAG 2.2
|
|
74
74
|
contrast ratios, accessibility compliance flags, and text color recommendations.
|
|
75
75
|
properties:
|
|
76
76
|
branding_colors:
|
|
@@ -96,24 +96,6 @@ properties:
|
|
|
96
96
|
description: >-
|
|
97
97
|
RGB representation as comma-separated values (e.g., "165, 76, 147").
|
|
98
98
|
Each component ranges from 0-255. Useful for cross-platform color specifications.
|
|
99
|
-
hue:
|
|
100
|
-
type: string
|
|
101
|
-
description: >-
|
|
102
|
-
Hue component of the color in degrees (0-360°). Represents the color family
|
|
103
|
-
on the color wheel (e.g., 315° for purple). Useful for understanding color
|
|
104
|
-
relationships and creating color variations.
|
|
105
|
-
saturation:
|
|
106
|
-
type: string
|
|
107
|
-
description: >-
|
|
108
|
-
Saturation component as a percentage (0-100%). Represents color intensity
|
|
109
|
-
and vibrancy. Higher values are more saturated/vivid; lower values appear
|
|
110
|
-
more muted or grayish.
|
|
111
|
-
lightness:
|
|
112
|
-
type: string
|
|
113
|
-
description: >-
|
|
114
|
-
Lightness component as a percentage (0-100%). Represents brightness level.
|
|
115
|
-
Used in HSL color space for understanding perceptual brightness independent
|
|
116
|
-
of hue and saturation.
|
|
117
99
|
hsv:
|
|
118
100
|
type: string
|
|
119
101
|
description: >-
|
|
@@ -164,6 +146,11 @@ properties:
|
|
|
164
146
|
Distance from the AAA threshold (7.0:1). Positive values exceed the enhanced standard;
|
|
165
147
|
negative values indicate it does not meet AAA (though may still meet AA).
|
|
166
148
|
Example: -1.82:1 means 1.82 points below the AAA minimum.
|
|
149
|
+
full_name:
|
|
150
|
+
type: string
|
|
151
|
+
pattern: "^\\$centos-[a-z]+$"
|
|
152
|
+
description: >-
|
|
153
|
+
Sass variable name of this color (e.g., "$centos-purple").
|
|
167
154
|
required:
|
|
168
155
|
- name
|
|
169
156
|
- hex
|
|
@@ -336,6 +323,11 @@ properties:
|
|
|
336
323
|
Distance from the AAA threshold (7.0:1). Shows how far above or below the
|
|
337
324
|
enhanced accessibility standard this neutral color pairing extends. Important
|
|
338
325
|
for high-accessibility use cases (e.g., legal documents, critical information).
|
|
326
|
+
full_name:
|
|
327
|
+
type: string
|
|
328
|
+
pattern: "^\\$centos-[a-z]+$"
|
|
329
|
+
description: >-
|
|
330
|
+
Sass variable name of this color (e.g., "$centos-light").
|
|
339
331
|
required:
|
|
340
332
|
- name
|
|
341
333
|
- hex
|
|
@@ -348,18 +340,16 @@ properties:
|
|
|
348
340
|
purple_shades:
|
|
349
341
|
type: array
|
|
350
342
|
description: >-
|
|
351
|
-
Array of
|
|
352
|
-
derived from the CentOS primary brand color.
|
|
353
|
-
shades 500-950 work on light backgrounds. The shade 500 represents the main primary color.
|
|
343
|
+
Array of purple color shades, from lightest to darkest,
|
|
344
|
+
derived from the CentOS primary brand color. The shade 500 represents the main primary color.
|
|
354
345
|
items:
|
|
355
346
|
type: object
|
|
356
347
|
properties:
|
|
357
348
|
shade:
|
|
358
349
|
$ref: "#/$defs/shadeNumberEnum"
|
|
359
350
|
description: >-
|
|
360
|
-
Shade
|
|
361
|
-
|
|
362
|
-
typically used with white text. Shade 500 is the base CentOS primary purple.
|
|
351
|
+
Shade grade, where a higher grade is darker. `text_color` gives the text color
|
|
352
|
+
for each shade. Shade 500 is the base CentOS primary purple.
|
|
363
353
|
full_name:
|
|
364
354
|
type: string
|
|
365
355
|
pattern: "^\\$centos-purple-\\d+$"
|
|
@@ -382,18 +372,6 @@ properties:
|
|
|
382
372
|
Hue, Saturation, Value representation. HSV helps understand how the shade
|
|
383
373
|
progresses from light to dark, showing saturation changes that affect
|
|
384
374
|
perceptual intensity and vibrancy.
|
|
385
|
-
hue:
|
|
386
|
-
type: string
|
|
387
|
-
description: >-
|
|
388
|
-
Hue component in degrees for this purple shade.
|
|
389
|
-
saturation:
|
|
390
|
-
type: string
|
|
391
|
-
description: >-
|
|
392
|
-
Saturation percentage for this purple shade.
|
|
393
|
-
lightness:
|
|
394
|
-
type: string
|
|
395
|
-
description: >-
|
|
396
|
-
Lightness percentage for this purple shade.
|
|
397
375
|
text_badge:
|
|
398
376
|
type: string
|
|
399
377
|
description: >-
|
|
@@ -402,8 +380,8 @@ properties:
|
|
|
402
380
|
text_color:
|
|
403
381
|
$ref: "#/$defs/textColorEnum"
|
|
404
382
|
description: >-
|
|
405
|
-
|
|
406
|
-
purple shade.
|
|
383
|
+
Text color (White or Black) that Bootstrap's `.text-bg-*` rule renders on this
|
|
384
|
+
purple shade.
|
|
407
385
|
text_color_hex:
|
|
408
386
|
$ref: "#/$defs/hexColor"
|
|
409
387
|
description: >-
|
|
@@ -447,7 +425,7 @@ properties:
|
|
|
447
425
|
orange_shades:
|
|
448
426
|
type: array
|
|
449
427
|
description: >-
|
|
450
|
-
Array of
|
|
428
|
+
Array of orange color shades, from lightest to darkest,
|
|
451
429
|
derived from the CentOS secondary brand color. Shades provide warmth and approachability
|
|
452
430
|
across the design system. Shade 500 is the base secondary color.
|
|
453
431
|
items:
|
|
@@ -456,9 +434,8 @@ properties:
|
|
|
456
434
|
shade:
|
|
457
435
|
$ref: "#/$defs/shadeNumberEnum"
|
|
458
436
|
description: >-
|
|
459
|
-
Shade
|
|
460
|
-
|
|
461
|
-
typically used with white text. Shade 500 is the base CentOS secondary orange.
|
|
437
|
+
Shade grade, where a higher grade is darker. `text_color` gives the text color
|
|
438
|
+
for each shade. Shade 500 is the base CentOS secondary orange.
|
|
462
439
|
full_name:
|
|
463
440
|
type: string
|
|
464
441
|
pattern: "^\\$centos-orange-\\d+$"
|
|
@@ -481,18 +458,6 @@ properties:
|
|
|
481
458
|
Hue, Saturation, Value representation. HSV helps understand the warm,
|
|
482
459
|
approachable nature of orange across its shade progression, showing how
|
|
483
460
|
saturation and brightness change.
|
|
484
|
-
hue:
|
|
485
|
-
type: string
|
|
486
|
-
description: >-
|
|
487
|
-
Hue component in degrees for this orange shade.
|
|
488
|
-
saturation:
|
|
489
|
-
type: string
|
|
490
|
-
description: >-
|
|
491
|
-
Saturation percentage for this orange shade.
|
|
492
|
-
lightness:
|
|
493
|
-
type: string
|
|
494
|
-
description: >-
|
|
495
|
-
Lightness percentage for this orange shade.
|
|
496
461
|
text_badge:
|
|
497
462
|
type: string
|
|
498
463
|
description: >-
|
|
@@ -501,8 +466,8 @@ properties:
|
|
|
501
466
|
text_color:
|
|
502
467
|
$ref: "#/$defs/textColorEnum"
|
|
503
468
|
description: >-
|
|
504
|
-
|
|
505
|
-
orange shade.
|
|
469
|
+
Text color (White or Black) that Bootstrap's `.text-bg-*` rule renders on this
|
|
470
|
+
orange shade.
|
|
506
471
|
text_color_hex:
|
|
507
472
|
$ref: "#/$defs/hexColor"
|
|
508
473
|
description: >-
|
|
@@ -545,7 +510,7 @@ properties:
|
|
|
545
510
|
blue_shades:
|
|
546
511
|
type: array
|
|
547
512
|
description: >-
|
|
548
|
-
Array of
|
|
513
|
+
Array of blue color shades, from lightest to darkest,
|
|
549
514
|
for extended design flexibility. Blue conveys trust, information, and assistance.
|
|
550
515
|
Useful for informational alerts, links, and complementary accents.
|
|
551
516
|
items:
|
|
@@ -554,9 +519,8 @@ properties:
|
|
|
554
519
|
shade:
|
|
555
520
|
$ref: "#/$defs/shadeNumberEnum"
|
|
556
521
|
description: >-
|
|
557
|
-
Shade
|
|
558
|
-
|
|
559
|
-
typically used with white text. Blue conveys trust and information, useful
|
|
522
|
+
Shade grade, where a higher grade is darker. `text_color` gives the text color
|
|
523
|
+
for each shade. Blue conveys trust and information, useful
|
|
560
524
|
for links, info alerts, and complementary accents.
|
|
561
525
|
full_name:
|
|
562
526
|
type: string
|
|
@@ -581,18 +545,6 @@ properties:
|
|
|
581
545
|
Hue, Saturation, Value representation. HSV helps understand blue's cool,
|
|
582
546
|
trustworthy nature across its shade progression, showing saturation and
|
|
583
547
|
brightness changes that affect perception of trust and information density.
|
|
584
|
-
hue:
|
|
585
|
-
type: string
|
|
586
|
-
description: >-
|
|
587
|
-
Hue component in degrees for this blue shade.
|
|
588
|
-
saturation:
|
|
589
|
-
type: string
|
|
590
|
-
description: >-
|
|
591
|
-
Saturation percentage for this blue shade.
|
|
592
|
-
lightness:
|
|
593
|
-
type: string
|
|
594
|
-
description: >-
|
|
595
|
-
Lightness percentage for this blue shade.
|
|
596
548
|
text_badge:
|
|
597
549
|
type: string
|
|
598
550
|
description: >-
|
|
@@ -601,8 +553,8 @@ properties:
|
|
|
601
553
|
text_color:
|
|
602
554
|
$ref: "#/$defs/textColorEnum"
|
|
603
555
|
description: >-
|
|
604
|
-
|
|
605
|
-
blue shade.
|
|
556
|
+
Text color (White or Black) that Bootstrap's `.text-bg-*` rule renders on this
|
|
557
|
+
blue shade.
|
|
606
558
|
text_color_hex:
|
|
607
559
|
$ref: "#/$defs/hexColor"
|
|
608
560
|
description: >-
|
|
@@ -645,7 +597,7 @@ properties:
|
|
|
645
597
|
green_shades:
|
|
646
598
|
type: array
|
|
647
599
|
description: >-
|
|
648
|
-
Array of
|
|
600
|
+
Array of green color shades, from lightest to darkest,
|
|
649
601
|
for extended design flexibility. Green communicates success, growth, and positive outcomes.
|
|
650
602
|
Useful for success states, positive indicators, and completion messaging.
|
|
651
603
|
items:
|
|
@@ -654,9 +606,8 @@ properties:
|
|
|
654
606
|
shade:
|
|
655
607
|
$ref: "#/$defs/shadeNumberEnum"
|
|
656
608
|
description: >-
|
|
657
|
-
Shade
|
|
658
|
-
|
|
659
|
-
typically used with white text. Green communicates success, growth, and
|
|
609
|
+
Shade grade, where a higher grade is darker. `text_color` gives the text color
|
|
610
|
+
for each shade. Green communicates success, growth, and
|
|
660
611
|
positive outcomes across the design system.
|
|
661
612
|
full_name:
|
|
662
613
|
type: string
|
|
@@ -681,18 +632,6 @@ properties:
|
|
|
681
632
|
Hue, Saturation, Value representation. HSV helps understand green's positive,
|
|
682
633
|
growth-oriented nature across its shade progression, showing saturation and
|
|
683
634
|
brightness changes that affect perception of success and completion.
|
|
684
|
-
hue:
|
|
685
|
-
type: string
|
|
686
|
-
description: >-
|
|
687
|
-
Hue component in degrees for this green shade.
|
|
688
|
-
saturation:
|
|
689
|
-
type: string
|
|
690
|
-
description: >-
|
|
691
|
-
Saturation percentage for this green shade.
|
|
692
|
-
lightness:
|
|
693
|
-
type: string
|
|
694
|
-
description: >-
|
|
695
|
-
Lightness percentage for this green shade.
|
|
696
635
|
text_badge:
|
|
697
636
|
type: string
|
|
698
637
|
description: >-
|
|
@@ -701,8 +640,8 @@ properties:
|
|
|
701
640
|
text_color:
|
|
702
641
|
$ref: "#/$defs/textColorEnum"
|
|
703
642
|
description: >-
|
|
704
|
-
|
|
705
|
-
green shade.
|
|
643
|
+
Text color (White or Black) that Bootstrap's `.text-bg-*` rule renders on this
|
|
644
|
+
green shade.
|
|
706
645
|
text_color_hex:
|
|
707
646
|
$ref: "#/$defs/hexColor"
|
|
708
647
|
description: >-
|
|
@@ -742,282 +681,6 @@ properties:
|
|
|
742
681
|
- wcag_2_2_aaa
|
|
743
682
|
additionalProperties: false
|
|
744
683
|
|
|
745
|
-
color_pairings:
|
|
746
|
-
type: array
|
|
747
|
-
description: >-
|
|
748
|
-
Array of recommended color pairing combinations for background/accent layering.
|
|
749
|
-
Defines primary and secondary accent shades that work well together on specific
|
|
750
|
-
background shades, useful for creating visual hierarchy and multi-color compositions.
|
|
751
|
-
items:
|
|
752
|
-
type: object
|
|
753
|
-
properties:
|
|
754
|
-
background:
|
|
755
|
-
type: string
|
|
756
|
-
description: >-
|
|
757
|
-
The background shade being used as a base
|
|
758
|
-
(e.g., "Purple 50", "Orange 500").
|
|
759
|
-
primary_accent:
|
|
760
|
-
type: string
|
|
761
|
-
description: >-
|
|
762
|
-
The primary accent shade recommended for this background
|
|
763
|
-
(e.g., "Purple 600").
|
|
764
|
-
secondary_accent:
|
|
765
|
-
type: string
|
|
766
|
-
description: >-
|
|
767
|
-
The secondary accent shade for layering effects
|
|
768
|
-
(e.g., "Orange 400").
|
|
769
|
-
compatibility_icon:
|
|
770
|
-
type: string
|
|
771
|
-
description: >-
|
|
772
|
-
Font Awesome icon class indicating compatibility level
|
|
773
|
-
(e.g., "fa-solid fa-check" for excellent).
|
|
774
|
-
compatibility_rating:
|
|
775
|
-
type: string
|
|
776
|
-
enum:
|
|
777
|
-
- Excellent
|
|
778
|
-
- Good
|
|
779
|
-
- Fair
|
|
780
|
-
- Use with caution
|
|
781
|
-
description: >-
|
|
782
|
-
Qualitative rating of how well these colors work together.
|
|
783
|
-
Excellent pairings maintain high contrast and visual hierarchy.
|
|
784
|
-
notes:
|
|
785
|
-
type: string
|
|
786
|
-
description: >-
|
|
787
|
-
Additional guidance on using this pairing, such as recommended use cases
|
|
788
|
-
or visual effects achieved.
|
|
789
|
-
required:
|
|
790
|
-
- background
|
|
791
|
-
- primary_accent
|
|
792
|
-
- secondary_accent
|
|
793
|
-
- compatibility_rating
|
|
794
|
-
additionalProperties: false
|
|
795
|
-
|
|
796
|
-
shade_selections:
|
|
797
|
-
type: array
|
|
798
|
-
description: >-
|
|
799
|
-
Array defining recommended shade selections for visual hierarchy within each color
|
|
800
|
-
family. Provides guidance on which shades to use for light, medium, and dark
|
|
801
|
-
components to maintain consistent design language.
|
|
802
|
-
items:
|
|
803
|
-
type: object
|
|
804
|
-
properties:
|
|
805
|
-
color_family:
|
|
806
|
-
type: string
|
|
807
|
-
enum:
|
|
808
|
-
- Purple
|
|
809
|
-
- Orange
|
|
810
|
-
- Blue
|
|
811
|
-
- Green
|
|
812
|
-
description: The color family this selection applies to.
|
|
813
|
-
light_50_100:
|
|
814
|
-
type: string
|
|
815
|
-
description: >-
|
|
816
|
-
Recommended usage for shades 50-100 (very light variants).
|
|
817
|
-
Typically used for subtle backgrounds, disabled states, or secondary information.
|
|
818
|
-
light_300_400:
|
|
819
|
-
type: string
|
|
820
|
-
description: >-
|
|
821
|
-
Recommended usage for shades 300-400 (light-medium variants).
|
|
822
|
-
Useful for lighter backgrounds or secondary content areas.
|
|
823
|
-
main_500:
|
|
824
|
-
type: string
|
|
825
|
-
description: >-
|
|
826
|
-
Recommended usage for shade 500 (the main/base color).
|
|
827
|
-
Primary buttons, key navigation, brand reinforcement.
|
|
828
|
-
dark_600_700:
|
|
829
|
-
type: string
|
|
830
|
-
description: >-
|
|
831
|
-
Recommended usage for shades 600-700 (dark variants).
|
|
832
|
-
Hover states, emphasis, higher visual weight.
|
|
833
|
-
required:
|
|
834
|
-
- color_family
|
|
835
|
-
- light_50_100
|
|
836
|
-
- light_300_400
|
|
837
|
-
- main_500
|
|
838
|
-
- dark_600_700
|
|
839
|
-
additionalProperties: false
|
|
840
|
-
|
|
841
|
-
palette:
|
|
842
|
-
type: array
|
|
843
|
-
description: >-
|
|
844
|
-
Array of high-level color palette metadata for each primary color family
|
|
845
|
-
(Purple, Orange, Blue, Green). Each entry includes full color properties, contrast ratios
|
|
846
|
-
for white and black text, plus available shade numbers. Useful for template rendering
|
|
847
|
-
and color system documentation.
|
|
848
|
-
items:
|
|
849
|
-
type: object
|
|
850
|
-
properties:
|
|
851
|
-
name:
|
|
852
|
-
type: string
|
|
853
|
-
description: >-
|
|
854
|
-
Descriptive name of the color family palette
|
|
855
|
-
(e.g., "centos-purple", "centos-orange").
|
|
856
|
-
hex:
|
|
857
|
-
$ref: "#/$defs/hexColor"
|
|
858
|
-
description: >-
|
|
859
|
-
Hexadecimal code of the base/shade 500 color for this palette family.
|
|
860
|
-
Represents the main color when no specific shade is specified.
|
|
861
|
-
rgb:
|
|
862
|
-
$ref: "#/$defs/rgbValue"
|
|
863
|
-
description: >-
|
|
864
|
-
RGB representation of the base color for this palette family.
|
|
865
|
-
hsv:
|
|
866
|
-
type: string
|
|
867
|
-
description: >-
|
|
868
|
-
HSV representation of the base color (Hue, Saturation, Value).
|
|
869
|
-
hue:
|
|
870
|
-
type: string
|
|
871
|
-
description: >-
|
|
872
|
-
Hue component in degrees for this palette family's base color.
|
|
873
|
-
saturation:
|
|
874
|
-
type: string
|
|
875
|
-
description: >-
|
|
876
|
-
Saturation percentage for this palette family's base color.
|
|
877
|
-
lightness:
|
|
878
|
-
type: string
|
|
879
|
-
description: >-
|
|
880
|
-
Lightness percentage for this palette family's base color.
|
|
881
|
-
text_color:
|
|
882
|
-
$ref: "#/$defs/textColorEnum"
|
|
883
|
-
description: >-
|
|
884
|
-
Recommended text color (White or Black) for this palette's base color.
|
|
885
|
-
text_color_hex:
|
|
886
|
-
$ref: "#/$defs/hexColor"
|
|
887
|
-
description: >-
|
|
888
|
-
Hexadecimal code of the recommended text color.
|
|
889
|
-
text_badge:
|
|
890
|
-
type: string
|
|
891
|
-
description: >-
|
|
892
|
-
Bootstrap utility class for this palette family.
|
|
893
|
-
full_name:
|
|
894
|
-
type: string
|
|
895
|
-
description: >-
|
|
896
|
-
Full SASS variable name for this palette's base color.
|
|
897
|
-
contrast_ratio:
|
|
898
|
-
$ref: "#/$defs/contrastRatio"
|
|
899
|
-
description: >-
|
|
900
|
-
WCAG 2.2 contrast ratio for this palette's base color.
|
|
901
|
-
contrast_white:
|
|
902
|
-
$ref: "#/$defs/contrastRatio"
|
|
903
|
-
description: >-
|
|
904
|
-
WCAG 2.2 contrast ratio between this color family's base shade and white text (#FFFFFF).
|
|
905
|
-
Used to determine if this shade supports white text rendering.
|
|
906
|
-
contrast_black:
|
|
907
|
-
$ref: "#/$defs/contrastRatio"
|
|
908
|
-
description: >-
|
|
909
|
-
WCAG 2.2 contrast ratio between this color family's base shade and black text (#000000).
|
|
910
|
-
Used to determine if this shade supports black text rendering.
|
|
911
|
-
wcag_2_2_aa:
|
|
912
|
-
type: boolean
|
|
913
|
-
description: >-
|
|
914
|
-
Boolean flag indicating WCAG 2.2 Level AA compliance.
|
|
915
|
-
wcag_2_2_aa_margin:
|
|
916
|
-
$ref: "#/$defs/contrastMargin"
|
|
917
|
-
description: >-
|
|
918
|
-
Distance from AA threshold (4.5:1).
|
|
919
|
-
wcag_2_2_aaa:
|
|
920
|
-
type: boolean
|
|
921
|
-
description: >-
|
|
922
|
-
Boolean flag indicating WCAG 2.2 Level AAA compliance.
|
|
923
|
-
wcag_2_2_aaa_margin:
|
|
924
|
-
$ref: "#/$defs/contrastMargin"
|
|
925
|
-
description: >-
|
|
926
|
-
Distance from AAA threshold (7.0:1).
|
|
927
|
-
shades:
|
|
928
|
-
type: array
|
|
929
|
-
items:
|
|
930
|
-
type: integer
|
|
931
|
-
description: >-
|
|
932
|
-
Array of available shade numbers for this color family
|
|
933
|
-
(e.g., [50, 100, 200, 300, 400, 500, 600, 700, 800, 900, 950]).
|
|
934
|
-
required:
|
|
935
|
-
- name
|
|
936
|
-
- hex
|
|
937
|
-
- shades
|
|
938
|
-
additionalProperties: false
|
|
939
|
-
|
|
940
|
-
base_colors:
|
|
941
|
-
type: array
|
|
942
|
-
description: >-
|
|
943
|
-
Array of base color metadata for the four primary color families (Purple, Orange, Blue, Green).
|
|
944
|
-
Each entry provides contrast information for both light and dark backgrounds, useful for
|
|
945
|
-
determining which shades to use in different contexts.
|
|
946
|
-
items:
|
|
947
|
-
type: object
|
|
948
|
-
properties:
|
|
949
|
-
name:
|
|
950
|
-
type: string
|
|
951
|
-
enum:
|
|
952
|
-
- Purple
|
|
953
|
-
- Orange
|
|
954
|
-
- Blue
|
|
955
|
-
- Green
|
|
956
|
-
description: The color family name.
|
|
957
|
-
hex:
|
|
958
|
-
$ref: "#/$defs/hexColor"
|
|
959
|
-
description: >-
|
|
960
|
-
Hexadecimal code of the base color (typically shade 500).
|
|
961
|
-
color_name:
|
|
962
|
-
type: string
|
|
963
|
-
description: >-
|
|
964
|
-
Human-readable color name for documentation.
|
|
965
|
-
shade_name:
|
|
966
|
-
type: string
|
|
967
|
-
description: >-
|
|
968
|
-
Full shade identifier (e.g., "centos-purple-500").
|
|
969
|
-
light_bg_contrast:
|
|
970
|
-
$ref: "#/$defs/contrastRatio"
|
|
971
|
-
description: >-
|
|
972
|
-
WCAG 2.2 contrast ratio when this color is used on a light background.
|
|
973
|
-
light_bg_status:
|
|
974
|
-
type: boolean
|
|
975
|
-
description: >-
|
|
976
|
-
Boolean flag indicating if this color passes accessibility standards
|
|
977
|
-
(AA 4.5:1) on light backgrounds.
|
|
978
|
-
dark_bg_contrast:
|
|
979
|
-
$ref: "#/$defs/contrastRatio"
|
|
980
|
-
description: >-
|
|
981
|
-
WCAG 2.2 contrast ratio when this color is used on a dark background.
|
|
982
|
-
dark_bg_status:
|
|
983
|
-
type: boolean
|
|
984
|
-
description: >-
|
|
985
|
-
Boolean flag indicating if this color passes accessibility standards
|
|
986
|
-
(AA 4.5:1) on dark backgrounds.
|
|
987
|
-
required:
|
|
988
|
-
- name
|
|
989
|
-
- hex
|
|
990
|
-
- color_name
|
|
991
|
-
- shade_name
|
|
992
|
-
- light_bg_contrast
|
|
993
|
-
- light_bg_status
|
|
994
|
-
- dark_bg_contrast
|
|
995
|
-
- dark_bg_status
|
|
996
|
-
additionalProperties: false
|
|
997
|
-
|
|
998
|
-
all_shades:
|
|
999
|
-
type: array
|
|
1000
|
-
description: >-
|
|
1001
|
-
Array of references to all shade collections, mapping each color family
|
|
1002
|
-
to its corresponding shades collection property name. Useful for iterating
|
|
1003
|
-
over all shade groups programmatically.
|
|
1004
|
-
items:
|
|
1005
|
-
type: object
|
|
1006
|
-
properties:
|
|
1007
|
-
collection:
|
|
1008
|
-
type: string
|
|
1009
|
-
enum:
|
|
1010
|
-
- purple_shades
|
|
1011
|
-
- orange_shades
|
|
1012
|
-
- blue_shades
|
|
1013
|
-
- green_shades
|
|
1014
|
-
description: >-
|
|
1015
|
-
Property name of the shade collection in the root object
|
|
1016
|
-
(e.g., "purple_shades").
|
|
1017
|
-
required:
|
|
1018
|
-
- collection
|
|
1019
|
-
additionalProperties: false
|
|
1020
|
-
|
|
1021
684
|
required:
|
|
1022
685
|
- branding_colors
|
|
1023
686
|
- semantic_colors
|
|
@@ -1026,11 +689,6 @@ properties:
|
|
|
1026
689
|
- orange_shades
|
|
1027
690
|
- blue_shades
|
|
1028
691
|
- green_shades
|
|
1029
|
-
- palette
|
|
1030
|
-
- color_pairings
|
|
1031
|
-
- shade_selections
|
|
1032
|
-
- base_colors
|
|
1033
|
-
- all_shades
|
|
1034
692
|
additionalProperties: false
|
|
1035
693
|
|
|
1036
694
|
additionalProperties: false
|
data/_sass/base/_light-dark.scss
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
//
|
|
2
|
-
//
|
|
3
|
-
//
|
|
4
|
-
// Generated: Shade 50 → $light, Shade 950 → $dark
|
|
1
|
+
// $light and $dark are the ends of the centos-purple shade scale that
|
|
2
|
+
// _theme-colors.scss generates. They're literals because _variables.scss needs
|
|
3
|
+
// them before that scale exists.
|
|
5
4
|
//
|
|
6
|
-
//
|
|
7
|
-
//
|
|
5
|
+
// After a change to the purple base color or the shade rules, copy the new
|
|
6
|
+
// --bs-centos-purple-50 and --bs-centos-purple-950 values from the compiled CSS.
|
|
7
|
+
// scripts/colors/tests/test_color_contract.py fails until they match.
|
|
8
8
|
|
|
9
|
-
$light: #F6EDF4 !default; // centos-purple-50
|
|
10
|
-
$dark: #22061B !default;
|
|
9
|
+
$light: #F6EDF4 !default; // centos-purple-50
|
|
10
|
+
$dark: #22061B !default; // centos-purple-950
|
data/_sass/base/_maps.scss
CHANGED
|
@@ -62,7 +62,9 @@ $centos-bg-gradients: (
|
|
|
62
62
|
)
|
|
63
63
|
) !default;
|
|
64
64
|
|
|
65
|
-
// Define custom text gradients.
|
|
65
|
+
// Define custom text gradients. _gradients.scss turns them into
|
|
66
|
+
// .text-gradient-* classes: a gradient can't be a `color` value, so they clip a
|
|
67
|
+
// background gradient to the text instead of using the utilities API.
|
|
66
68
|
$centos-text-gradients: (
|
|
67
69
|
"primary": linear-gradient(
|
|
68
70
|
90deg,
|
|
@@ -89,10 +91,5 @@ $utilities: map.merge(
|
|
|
89
91
|
class: bg-gradient,
|
|
90
92
|
values: $centos-bg-gradients
|
|
91
93
|
),
|
|
92
|
-
"centos-text-gradient": (
|
|
93
|
-
property: color,
|
|
94
|
-
class: text-gradient,
|
|
95
|
-
values: $centos-text-gradients,
|
|
96
|
-
),
|
|
97
94
|
)
|
|
98
95
|
);
|