@codecademy/styleguide 79.0.1-alpha.4fa3a1.0 → 79.0.1-alpha.7afb48.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.
package/CHANGELOG.md
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
All notable changes to this project will be documented in this file.
|
|
4
4
|
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
|
5
5
|
|
|
6
|
-
### [79.0.1-alpha.
|
|
6
|
+
### [79.0.1-alpha.7afb48.0](https://github.com/Codecademy/gamut/compare/@codecademy/styleguide@79.0.0...@codecademy/styleguide@79.0.1-alpha.7afb48.0) (2026-02-02)
|
|
7
7
|
|
|
8
8
|
**Note:** Version bump only for package @codecademy/styleguide
|
|
9
9
|
|
package/package.json
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@codecademy/styleguide",
|
|
3
3
|
"description": "Styleguide & Component library for codecademy.com",
|
|
4
|
-
"version": "79.0.1-alpha.
|
|
4
|
+
"version": "79.0.1-alpha.7afb48.0",
|
|
5
5
|
"author": "Codecademy Engineering",
|
|
6
6
|
"license": "MIT",
|
|
7
7
|
"publishConfig": {
|
|
8
8
|
"access": "public"
|
|
9
9
|
},
|
|
10
10
|
"repository": "git@github.com:Codecademy/gamut.git",
|
|
11
|
-
"gitHead": "
|
|
11
|
+
"gitHead": "e22c45da3f896669cfb2269e9b75a5f32fa764b5"
|
|
12
12
|
}
|
|
@@ -228,7 +228,7 @@ BarChart supports custom color styling through the `styleConfig` prop, allowing
|
|
|
228
228
|
The `styleConfig` prop accepts an object with the following optional properties:
|
|
229
229
|
|
|
230
230
|
- **`textColor`**: Color for text labels (y-axis labels). Defaults to `'text'`
|
|
231
|
-
- **`foregroundBarColor`**: Color for the foreground/progress bar (used in stacked charts for `seriesOneValue`). Defaults to `'
|
|
231
|
+
- **`foregroundBarColor`**: Color for the foreground/progress bar (used in stacked charts for `seriesOneValue`). Defaults to `'feedback-warning'`
|
|
232
232
|
- **`backgroundBarColor`**: Color for the background/total bar (used for `seriesTwoValue` in stacked charts, or `seriesOneValue` in simple charts). Defaults to `'background-primary'`
|
|
233
233
|
- **`seriesOneLabel`**: Color for the series one value label (first right label when stacked, or displayValue when not stacked). Defaults to `'text-secondary'`
|
|
234
234
|
- **`seriesTwoLabel`**: Color for the series two value label (displayValue when stacked). Defaults to `'primary'`
|
|
@@ -242,7 +242,7 @@ If `styleConfig` is not provided, BarChart uses these default colors:
|
|
|
242
242
|
```typescript
|
|
243
243
|
{
|
|
244
244
|
textColor: 'text',
|
|
245
|
-
foregroundBarColor: '
|
|
245
|
+
foregroundBarColor: 'feedback-warning',
|
|
246
246
|
backgroundBarColor: 'background-primary',
|
|
247
247
|
seriesOneLabel: 'text-secondary',
|
|
248
248
|
seriesTwoLabel: 'primary',
|