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/_sass/base/_variables.scss
CHANGED
|
@@ -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
|
|
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:
|
|
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
|
-
//
|
|
154
|
-
//
|
|
155
|
-
//
|
|
156
|
-
//
|
|
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
|
-
|
|
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.
|