@schandlergarcia/sf-web-components 2.3.2 → 2.3.4
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 +13 -0
- package/brands/engine/app/pages/PartnerHubDashboard.tsx +300 -300
- package/brands/engine/global.css +35 -0
- package/dist/styles/global.css +35 -0
- package/package.json +1 -1
- package/src/styles/global.css +35 -0
package/CHANGELOG.md
CHANGED
|
@@ -5,6 +5,19 @@ All notable changes to this project will be documented in this file.
|
|
|
5
5
|
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
|
|
6
6
|
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
|
|
7
7
|
|
|
8
|
+
## [2.3.4] - 2026-04-11
|
|
9
|
+
|
|
10
|
+
### Fixed
|
|
11
|
+
- **CSS variables resolve at runtime** — moved dashboard token values (`--dash-text`, `--dash-accent`, etc.) from `@theme inline` (compile-time only) to `:root` (runtime). The `@theme inline` block now references them via `var(--dash-*)`. This fixes the brand switch having no visual effect because Tailwind v4's `inline` keyword does not emit CSS custom properties.
|
|
12
|
+
|
|
13
|
+
## [2.3.3] - 2026-04-11
|
|
14
|
+
|
|
15
|
+
### Fixed
|
|
16
|
+
- **Dashboard theming** — replaced all 564 hardcoded Engine hex colors in `PartnerHubDashboard.tsx` with CSS variable references (`var(--color-dash-*)`). The dashboard now responds to brand switching via `npm run brand:engine` and `npm run brand:reset`.
|
|
17
|
+
|
|
18
|
+
### Added
|
|
19
|
+
- **Dashboard semantic tokens** — 16 new CSS variables (`--color-dash-text`, `--color-dash-accent`, `--color-dash-success`, etc.) defined in both the neutral `global.css` and Engine `brands/engine/global.css`. Neutral uses a sky blue/slate palette; Engine uses their official brand colors (cyan #7DCBD9, green #1E9D6D, etc.).
|
|
20
|
+
|
|
8
21
|
## [2.3.2] - 2026-04-11
|
|
9
22
|
|
|
10
23
|
### Fixed
|