Uh oh!
There was an error while loading. Please reload this page.
Chore: version packages (alpha) - #249
Merged
Merged
Conversation
villeerikssoncsc
approved these changes
Aug 26, 2026
Uh oh!
There was an error while loading. Please reload this page.
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 freeto 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.2
Minor Changes
#248
149a53aThanks @villeerikssoncsc! - Recolour c-accordion-item per the MyCSC accordion spec (colours only — nogeometry changes).
primary-subtlefill and gains aprimary-subtle-hoverhairline border plus a hover state on the same tone, so hovering closes
the fill/border gap (teal-tinted header with a lighter teal outline in
dark mode, near-invisible on the light tint).
on-surface(near-white in dark, deep navy-teal inlight — the spec's headings role); the icon slot and chevron use
on-primary-subtle; slotted content useson-surface-mutedinstead ofinheriting the page colour.
#248
149a53aThanks @villeerikssoncsc! - Align c-card and c-card-title with the MyCSC card anatomy.c-cardnow draws a hairlineborder-token outline and a single softdrop shadow (
0 2px 8px rgba(0,0,0,.25)) instead of the heavy two-layershadow — elevation reads from the surface + border, matching the design
spec in both modes.
--_c-card-padding-inlinehost contract (28px at desktop) drives theinline padding of c-card-title / c-card-content / c-card-actions, while
--_c-card-gapkeeps owning block padding and section gaps.c-card-titlefollows the spec's section-title anatomy: 13.5px/700uppercase with 1.2px tracking,
on-surfaceheading colour (the spec'sheadings role), and a 42×3px rounded
primaryaccent bar 8px below.#248
149a53aThanks @villeerikssoncsc! - Retune the dark-mode palette to the approved MyCSC dark theme v2 spec.slateladder now carries the spec's neutral grays: nonear-black surfaces (page canvas
#24272a, cards#2b2f33), softerhairline borders (
#3c4247), and off-white body text (#e9eceeinsteadof pure white). A new
slate-850step (#26292d) backs the inset/mutedsurface tier.
reads from progressively lighter surfaces (
surface-sunkenslate-900→surface/surface-raisedslate-800→surface-overlayslate-700).primaryfills,link,ring) now resolve toaccent-family steps in dark mode — the vivid CSC teal — instead of the
chroma-tapered pre-anchor primary steps that read washed on dark
surfaces. Deep navy-teal fills (nav chrome, subtle fills) stay on primary
steps, one step lighter than before. Re-seed
accentto rebrand the darkinteractive teal;
primarystill drives nav/subtle fills.(
*-subtle-hover: step 900 → 700).mark (
#c2447c) instead of rendering fully white.All dark-mode text pairs pass WCAG AA (body text 11.4:1, secondary text
≥ 4.75:1 on every surface); non-text UI pairs pass 3:1.
@cscfi/csc-ui-react@4.0.0-alpha.2
Minor Changes
#248
149a53aThanks @villeerikssoncsc! - Recolour c-accordion-item per the MyCSC accordion spec (colours only — nogeometry changes).
primary-subtlefill and gains aprimary-subtle-hoverhairline border plus a hover state on the same tone, so hovering closes
the fill/border gap (teal-tinted header with a lighter teal outline in
dark mode, near-invisible on the light tint).
on-surface(near-white in dark, deep navy-teal inlight — the spec's headings role); the icon slot and chevron use
on-primary-subtle; slotted content useson-surface-mutedinstead ofinheriting the page colour.
#248
149a53aThanks @villeerikssoncsc! - Align c-card and c-card-title with the MyCSC card anatomy.c-cardnow draws a hairlineborder-token outline and a single softdrop shadow (
0 2px 8px rgba(0,0,0,.25)) instead of the heavy two-layershadow — elevation reads from the surface + border, matching the design
spec in both modes.
--_c-card-padding-inlinehost contract (28px at desktop) drives theinline padding of c-card-title / c-card-content / c-card-actions, while
--_c-card-gapkeeps owning block padding and section gaps.c-card-titlefollows the spec's section-title anatomy: 13.5px/700uppercase with 1.2px tracking,
on-surfaceheading colour (the spec'sheadings role), and a 42×3px rounded
primaryaccent bar 8px below.#248
149a53aThanks @villeerikssoncsc! - Retune the dark-mode palette to the approved MyCSC dark theme v2 spec.slateladder now carries the spec's neutral grays: nonear-black surfaces (page canvas
#24272a, cards#2b2f33), softerhairline borders (
#3c4247), and off-white body text (#e9eceeinsteadof pure white). A new
slate-850step (#26292d) backs the inset/mutedsurface tier.
reads from progressively lighter surfaces (
surface-sunkenslate-900→surface/surface-raisedslate-800→surface-overlayslate-700).primaryfills,link,ring) now resolve toaccent-family steps in dark mode — the vivid CSC teal — instead of the
chroma-tapered pre-anchor primary steps that read washed on dark
surfaces. Deep navy-teal fills (nav chrome, subtle fills) stay on primary
steps, one step lighter than before. Re-seed
accentto rebrand the darkinteractive teal;
primarystill drives nav/subtle fills.(
*-subtle-hover: step 900 → 700).mark (
#c2447c) instead of rendering fully white.All dark-mode text pairs pass WCAG AA (body text 11.4:1, secondary text
≥ 4.75:1 on every surface); non-text UI pairs pass 3:1.
Patch Changes
149a53a,149a53a,149a53a]: