Chore: version packages (alpha) - #261
Merged
Merged
Conversation
villeerikssoncsc
approved these changes
Sep 3, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This PR was opened by the Changesets release GitHub action. When you're ready to do a release, you can merge this and the packages will be published to npm automatically. If you're not ready to do a release yet, that's fine, whenever you add more changesets to main, this PR will be updated.
mainis currently in pre mode so this branch has prereleases rather than normal releases. If you want to exit prereleases, runchangeset pre exitonmain.Releases
@cscfi/csc-ui@4.0.0-alpha.8
Minor Changes
#260
6f3ac93Thanks @villeerikssoncsc! - Re-derive the twelve chart series slots (--c-chart-1…--c-chart-12) asvivid single hues (ADR-0030, amended).
just above the chroma floor; it read flat, and the dark shades read too
dark. The new set is twelve single hues at a mid lightness (OKLCH L
0.55–0.67 light, 0.58–0.67 dark) with chroma pushed to the sRGB gamut under
per-hue ceilings.
rose, cyan) so charts with up to seven series keep familiar colours; slots
8–12 are new hues (indigo, orchid, olive, violet, aqua). Status hue bands
(reds, oranges, greens) are excluded.
relief slots are gone. The all-pairs safe prefix for scatter/bubble/map
forms stays at slots 1–3.
(light) / 8.7 (dark), normal-vision floor 17.9 / 16.9.
Chart tokens are frozen literals, so this does not interact with
applyTheme; consumers who override--c-chart-*are unaffected.#260
6f3ac93Thanks @villeerikssoncsc! - Make dark mode more vibrant: saturated fills and visible subtle tints, allstill resolved inside each role's own family (ADR-0034).
src/theme/ramp.js) now holds full seed chroma throughsteps 400–300 and tapers only from 200 up (
C_FACTOR400/300/200:0.92/0.78/0.55 → 1.0/1.0/0.72). Step 300 is every family's dark-mode fill
and 200 its hover, and the old taper left low-chroma seeds reading grey —
the dark primary button moves from
#67a2b0to#54a5b7at the samecontrast. Every family's 200–400 steps shift accordingly in both modes
(light-mode hover fills get slightly richer); warning and error are at the
sRGB gamut edge and do not move. Consumer ramps from
applyTheme/themeToCssfollow the same curve.*-400step(hover
*-300, ink*-950). Primary, secondary and link fills stay wherethey are — their next step fails WCAG AA text with any ink.
*-800to*-700(hover*-600) withthe near-white
*-50ink.*-800sat within 1.0–1.6:1 of the slate-800page and read as the page colour.
primary-700, hoverprimary-600)and the active item becomes the brand
primary-500under white ink.Dark mode passes every audited text pair at AA and every non-text pair at
3:1 (
scripts/audit-contrast.mjs --strict); ramp parity(
scripts/check-ramp-parity.mjs) holds.@cscfi/csc-ui-react@4.0.0-alpha.8
Minor Changes
#260
6f3ac93Thanks @villeerikssoncsc! - Re-derive the twelve chart series slots (--c-chart-1…--c-chart-12) asvivid single hues (ADR-0030, amended).
just above the chroma floor; it read flat, and the dark shades read too
dark. The new set is twelve single hues at a mid lightness (OKLCH L
0.55–0.67 light, 0.58–0.67 dark) with chroma pushed to the sRGB gamut under
per-hue ceilings.
rose, cyan) so charts with up to seven series keep familiar colours; slots
8–12 are new hues (indigo, orchid, olive, violet, aqua). Status hue bands
(reds, oranges, greens) are excluded.
relief slots are gone. The all-pairs safe prefix for scatter/bubble/map
forms stays at slots 1–3.
(light) / 8.7 (dark), normal-vision floor 17.9 / 16.9.
Chart tokens are frozen literals, so this does not interact with
applyTheme; consumers who override--c-chart-*are unaffected.#260
6f3ac93Thanks @villeerikssoncsc! - Make dark mode more vibrant: saturated fills and visible subtle tints, allstill resolved inside each role's own family (ADR-0034).
src/theme/ramp.js) now holds full seed chroma throughsteps 400–300 and tapers only from 200 up (
C_FACTOR400/300/200:0.92/0.78/0.55 → 1.0/1.0/0.72). Step 300 is every family's dark-mode fill
and 200 its hover, and the old taper left low-chroma seeds reading grey —
the dark primary button moves from
#67a2b0to#54a5b7at the samecontrast. Every family's 200–400 steps shift accordingly in both modes
(light-mode hover fills get slightly richer); warning and error are at the
sRGB gamut edge and do not move. Consumer ramps from
applyTheme/themeToCssfollow the same curve.*-400step(hover
*-300, ink*-950). Primary, secondary and link fills stay wherethey are — their next step fails WCAG AA text with any ink.
*-800to*-700(hover*-600) withthe near-white
*-50ink.*-800sat within 1.0–1.6:1 of the slate-800page and read as the page colour.
primary-700, hoverprimary-600)and the active item becomes the brand
primary-500under white ink.Dark mode passes every audited text pair at AA and every non-text pair at
3:1 (
scripts/audit-contrast.mjs --strict); ramp parity(
scripts/check-ramp-parity.mjs) holds.Patch Changes
6f3ac93,6f3ac93]: