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.
@@ -86,8 +86,7 @@
86
86
  // enough for the 2.0x multiplier to hit 100% — orange, blue, and green all
87
87
  // do. Purple's base saturation is too low, so purple-950 lands close to the
88
88
  // wallpaper's dark corner rather than matching it exactly; see
89
- // src/YAML/color.yml or the generated src/SASS/_light-dark.scss for its
90
- // actual current value.
89
+ // src/YAML/color.yml for its actual current value.
91
90
  @function saturated-shade($color, $shade) {
92
91
  // Extract current HSL values from the color
93
92
  $current-hue: color.hue($color);
@@ -106,8 +105,7 @@
106
105
  // ================================================================================
107
106
  // CentOS Color (Our beloved branding colors)
108
107
  // ================================================================================
109
- // Not !default: scripts/colors/generators/generate-shade-documentation.py reads this
110
- // map's exact form, and the brand colors aren't per-project settings.
108
+ // Not !default: the brand colors aren't per-project settings.
111
109
  $centos-base-colors: (
112
110
  centos-purple: #A14F8C,
113
111
  centos-orange: #EFA724,
@@ -150,14 +148,10 @@ $warning: #C86A00 !default; // Darkened centos-orange - warm, urgent
150
148
  $danger: #C62828 !default; // External red - no CentOS equivalent
151
149
  $info: #1976D2 !default; // External blue - distinguishes from warning
152
150
 
153
- // Light and dark are automatically generated from centos-purple using the saturation-normalized
154
- // shade system. Instead of assigning function results to variables here (which causes Dart Sass
155
- // chicken-egg issues), we generate these values with a Python script and import them below.
156
- // This ensures $light and $dark are consistently computed from the same shade algorithm used
157
- // for all other shades in the color system.
158
- //
159
- // To update after color changes: python3 scripts/colors/generate-scss-light-dark.py
160
- // The generated values are imported from: src/SASS/_light-dark.scss
151
+ // $light and $dark are centos-purple-50 and centos-purple-950. Assigning the shade
152
+ // functions' results here causes Dart Sass chicken-and-egg issues, so
153
+ // src/SASS/_light-dark.scss holds them as literals, and the colour contract test
154
+ // checks they still match those shades.
161
155
  @import "light-dark";
162
156
 
163
157
  $white: #ffffff !default;
@@ -165,8 +159,9 @@ $black: #000000 !default;
165
159
 
166
160
  // Bootstrap's default inline-code color isn't part of this site's brand
167
161
  // and fails WCAG AA against the code background in _content.scss.
168
- // This is centos-purple-700.
169
- $code-color: #673259 !default;
162
+ // This is centos-purple-700, kept as a literal like $light and $dark; the
163
+ // colour contract test checks that it still matches that shade.
164
+ $code-color: #67335A !default;
170
165
 
171
166
  // Background and Body variables
172
167
  // These control the default background and text colors for the entire page.
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: jekyll-theme-centos
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.54.0
4
+ version: 2.54.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Alain Reguera Delgado