Design Tokens Core Changelog
@cfa/design-tokens-core
2.0.0
Major Changes
-
#2411
b60c8aaThanks @stevegreco! - Replaced selection, action, calendar, and tag tokens with the updated Figma set.- Selection states now use
selectablesemantic tokens (default,hover,selected, andselected-subtle) instead ofsurfacehover, active, and selected backgrounds. - Action colors and button border widths are split by variant (
primary,secondary,tertiary,destructive). The shared--ds-components-button-border-widthtoken is removed. - Calendar day tokens moved from
date-picker-calendar-daytocalendar-calendar-day. Selected days use a solid selected fill and selected content color, andbackground-selected-subtleis the range track. Selected-hover calendar and form-field tokens are removed. - Tag selected styling uses
background-selectedandborder-selected. Active tag tokens are removed. Data viz token names drop thebetasegment (background-data-viz-beta-*→background-data-viz-*).
Update custom styles that reference the old token names.
- Selection states now use
-
#2307
9855ed5Thanks @stevegreco! - Renamed semantic color tokens to clarify brand vs accent usage and foreground/background pairings.*-background-primary→*-background-brand(including-active,-hover,-knockout)*-border-primary→*-border-brand*-background-brand-{color}→*-background-accent-{color}(palette accents)*-content-primary→*-content-on-brand*-content-primary-knockout→*-content-brand- Removed per-accent
*-knockoutbackground tokens andcontent-brand-deprecated-*tokens - Added data viz beta semantic color tokens
Update any custom styles or theme overrides that reference the old token names. Color values are unchanged. This is a naming migration only.
-
#2355
db8fe23Thanks @stevegreco! - Renamed semantic background tokens and Tailwind surface utilities.color.background.defaultis now page gray. White surfaces usecolor.background.surface.- Replace
bg-raised-defaultwithbg-surface,bg-raised-hoverwithbg-surface-hover, andbg-raised-activewithbg-surface-active. - Replace
bg-overlay-backdrop-defaultwithbg-overlay. Overlay panels usebg-surface. - Removed
bg-sunken-defaultand overflow shadow utilities. - React Core components use the new tokens internally. Built-in component appearance is unchanged.
Update custom CSS or Tailwind classes that used the old names. See
packages/react-core/V2-MIGRATION-GUIDE.md.
Minor Changes
-
#2083
862a9e6Thanks @stevegreco! - Added programmatic query APIs and an MCP server so agents can look up CFA components, props, tokens, and icons without reading source.@cfa/design-system-mcpships thecfa-design-system-mcpserver withlist_components,get_component_props,get_component_guidance,search_tokens,suggest_token,search_icons, andget_icon.@cfa/react-core/queryexportslistComponents,getComponentProps, andgetComponentGuidance.@cfa/design-tokens-core/queryexportssearchTokensandsuggestTokens.@cfa/icons/queryexportssearchIconsandgetIcon.
-
#2229
d5e4b85Thanks @stevegreco! - Changed the default design token theme fromcfa-redtoexperimental-red.:rootstyling now usesexperimental-redtokens when nodata-themeattribute is set.- Aligns default styling with v2 component specs (e.g. 1px component border widths).
- Added composite elevation tokens for
experimental-redandexperimental-navythemes.
If you rely on the default theme, review visual output after upgrading.
-
#2260
b669351Thanks @stevegreco! - Added--ds-semantic-size-xsand updated button surface tokens to support v2IconButtonsizing and styling.- Added
--ds-semantic-size-xs(24px) for extra-small interactive targets. - Updated tertiary and secondary button background hover/active tokens in the experimental default themes used by icon button variants.
If you rely on the default theme, review visual output after upgrading.
- Added
-
#2238
0774f0cThanks @stevegreco! - Updated selection and chip design tokens.- Added a semantic background token for selected (non-pressed) states.
- Added switcher background tokens for toggle/switcher UI patterns.
- Renamed chip background tokens from
neutraltogray. If you reference chip background tokens directly, updateneutralpaths togray(for example,--ds-components-chip-color-background-gray-subtle).
Review chip and selection styling after upgrading if you consume these tokens outside react-core.
-
#2327
d9d764aThanks @stevegreco! - Added Tailwind v4 theme and semantic utility CSS to@cfa/design-tokens-core.- Import
@cfa/design-tokens-core/css/tailwind-theme.cssand@cfa/design-tokens-core/css/tailwind-utilities.cssto use CFA tokens as Tailwind classes. Examples:bg-brand,text-default,border-subtle,type-body-default,rounded-lg,shadow-raised. - Colors are custom utilities, not
@themecolors. CFA background, content, and border tokens stay as separate values. They are not one Tailwind color withbg-*,text-*, andborder-*all pointing at the same value. tailwind-theme.cssturns off Tailwind’s default color scale, so classes likebg-blue-500are not available. Importtailwind-utilities.cssas a plain CSS import, not insidelayer(utilities).- Token variables still come from
@cfa/design-tokens-core/css/themes.css, or from@cfa/react-core/index.cssif you already import it.
@import "@cfa/design-tokens-core/css/tailwind-theme.css" layer(theme);@import "@cfa/design-tokens-core/css/tailwind-utilities.css"; - Import
Patch Changes
-
#2269
0c07914Thanks @stevegreco! - Updated the default hover background color to a neutral gray across all themes.--ds-semantic-color-background-default-hovernow resolves to#f8f9f9instead of theme-tinted hover colors.- Affects hover states on components that use the default background hover token across CFA Red, CFA Navy, and experimental themes.
-
#2399
39e5545Thanks @stevegreco! - Refined subtle content color and removed deprecated component tokens from the generated theme output.- Updated
--ds-semantic-color-content-subtlefrom#6c6d6dto#5b6770across all themes. - Removed deprecated Chip bold background tokens (
--ds-components-chip-color-background-*) superseded by the subtle variant tokens. - Removed deprecated IconButton variant tokens (
--ds-components-icon-button-{brand,dark,light}-*) no longer used by v2 components.
If you reference the removed tokens directly in custom styles, switch to the corresponding subtle Chip tokens or semantic button tokens.
- Updated
-
#2406
be66491Thanks @stevegreco! - Restored Tailwind keyword color utilities after the palette reset intailwind-theme.css.bg-transparent,text-current,border-inherit, and related keyword utilities work again after importingtailwind-theme.css.- Tailwind’s default palette classes such as
bg-blue-500remain unavailable. blackandwhiteare not restored.
2.0.0-beta.7
Patch Changes
-
#2399
39e5545Thanks @stevegreco! - Refined subtle content color and removed deprecated component tokens from the generated theme output.- Updated
--ds-semantic-color-content-subtlefrom#6c6d6dto#5b6770across all themes. - Removed deprecated Chip bold background tokens (
--ds-components-chip-color-background-*) superseded by the subtle variant tokens. - Removed deprecated IconButton variant tokens (
--ds-components-icon-button-{brand,dark,light}-*) no longer used by v2 components.
If you reference the removed tokens directly in custom styles, switch to the corresponding subtle Chip tokens or semantic button tokens.
- Updated
-
#2406
be66491Thanks @stevegreco! - Restore Tailwind keyword color utilities after the palette reset intailwind-theme.css.bg-transparent,text-current,border-inherit, and related keyword utilities work again after importingtailwind-theme.css.- Tailwind’s default palette classes such as
bg-blue-500remain unavailable. blackandwhiteare not restored.
2.0.0-beta.6
Major Changes
-
#2355
db8fe23Thanks @stevegreco! - Renamed semantic background tokens and Tailwind surface utilities.color.background.defaultis now page gray. White surfaces usecolor.background.surface.- Replace
bg-raised-defaultwithbg-surface,bg-raised-hoverwithbg-surface-hover, andbg-raised-activewithbg-surface-active. - Replace
bg-overlay-backdrop-defaultwithbg-overlay. Overlay panels usebg-surface. - Removed
bg-sunken-defaultand overflow shadow utilities. - React Core components use the new tokens internally. Built-in component appearance is unchanged.
Update custom CSS or Tailwind classes that used the old names. See
V2-MIGRATION-GUIDE.md.
2.0.0-beta.5
Minor Changes
-
#2083
862a9e6Thanks @stevegreco! - Add programmatic query APIs and an MCP server so agents and tooling can discover CFA components, props, tokens, and icons without reading source.@cfa/design-system-mcp: New MCP server (cfa-design-system-mcp) exposinglist_components,get_component_props,get_component_guidance,search_tokens,suggest_token,search_icons, andget_icon.@cfa/react-core/query:listComponents,getComponentProps, andgetComponentGuidancefor component catalog, prop contracts, and generated usage docs.@cfa/design-tokens-core/query:searchTokensandsuggestTokensfor token lookup and CSS-property-based suggestions.@cfa/icons/query:searchIconsandgetIconfor icon discovery and raw SVG retrieval.
-
#2327
d9d764aThanks @stevegreco! - Add Tailwind v4 theme and semantic utility CSS to@cfa/design-tokens-core.- Import
@cfa/design-tokens-core/css/tailwind-theme.cssand@cfa/design-tokens-core/css/tailwind-utilities.cssto use CFA tokens as Tailwind classes (bg-brand,text-default,border-subtle,type-body-default,rounded-lg,shadow-raised). - Colors are custom utilities, not
@themecolors. CFA background, content, and border tokens are separate values, and Tailwind’s color palette would otherwise generatebg-*,text-*, andborder-*from a single color. tailwind-theme.cssdisables Tailwind’s default color scale, so classes likebg-blue-500are not available. Importtailwind-utilities.cssas a plain CSS import, not insidelayer(utilities).- Token variables still come from
@cfa/design-tokens-core/css/themes.css, or from@cfa/react-core/index.cssif you already import it.
@import "@cfa/design-tokens-core/css/tailwind-theme.css" layer(theme);@import "@cfa/design-tokens-core/css/tailwind-utilities.css"; - Import
1.0.0-beta.3
Major Changes
-
#2307
9855ed5Thanks @stevegreco! - Renamed semantic color tokens to clarify brand vs accent usage and foreground/background pairings.*-background-primary→*-background-brand(including-active,-hover,-knockout)*-border-primary→*-border-brand*-background-brand-{color}→*-background-accent-{color}(palette accents)*-content-primary→*-content-on-brand*-content-primary-knockout→*-content-brand- Removed per-accent
*-knockoutbackground tokens andcontent-brand-deprecated-*tokens - Added data viz beta semantic color tokens
Update any custom styles or theme overrides that reference the old token names. Color values are unchanged — this is a naming migration only.
0.3.0-beta.2
Minor Changes
-
#2260
b669351Thanks @stevegreco! - Added--ds-semantic-size-xsand updated button surface tokens to support v2IconButtonsizing and styling.- Added
--ds-semantic-size-xs(24px) for extra-small interactive targets. - Updated tertiary and secondary button background hover/active tokens in the experimental default themes used by icon button variants.
If you rely on the default theme, review visual output after upgrading.
- Added
Patch Changes
-
#2269
0c07914Thanks @stevegreco! - Updated the default hover background color to a neutral gray across all themes.--ds-semantic-color-background-default-hovernow resolves to#f8f9f9instead of theme-tinted hover colors.- Affects hover states on components that use the default background hover token across CFA Red, CFA Navy, and experimental themes.
0.3.0-beta.1
Minor Changes
-
#2238
0774f0cThanks @stevegreco! - Updated selection and chip design tokens.- Added a semantic background token for selected (non-pressed) states.
- Added switcher background tokens for toggle/switcher UI patterns.
- Renamed chip background tokens from
neutraltogray. If you reference chip background tokens directly, updateneutralpaths togray(for example,--ds-components-chip-color-background-gray-subtle).
Review chip and selection styling after upgrading if you consume these tokens outside react-core.
0.3.0-beta.0
Minor Changes
-
#2229
d5e4b85Thanks @stevegreco! - Changed the default design token theme fromcfa-redtoexperimental-red.:rootstyling now usesexperimental-redtokens when nodata-themeattribute is set.- Aligns default styling with v2 component specs (e.g. 1px component border widths).
- Added composite elevation tokens for
experimental-redandexperimental-navythemes.
If you rely on the default theme, review visual output after upgrading.
0.2.1
Patch Changes
-
#2101
6e7207eThanks @stevegreco! - Corrected chip default background color tokens that were incorrectly set to subtle tints.- Updated default (non-subtle) chip background tokens for blue, light orange, neutral, orange, pink, and purple to their intended brand colors.
- Subtle chip background tokens are unchanged; filled Chip styling in
@cfa/react-coreis unaffected.
0.2.1-beta.0
Patch Changes
-
#2101
6e7207eThanks @stevegreco! - Corrected chip default background color tokens that were incorrectly set to subtle tints.- Updated default (non-subtle) chip background tokens for blue, light orange, neutral, orange, pink, and purple to their intended brand colors.
- Subtle chip background tokens are unchanged; filled Chip styling in
@cfa/react-coreis unaffected.
0.2.0
Minor Changes
- #2010
c93883aThanks @stevegreco! - Synced the latest Figma token export and updated React components to stay aligned with the published token set.- Updated the published token files in
@cfa/design-tokens-coreto match the latest Figma source of truth. - Removed deprecated spacing and button sizing token entries from
@cfa/design-tokens-core; consumers using those token names should migrate to the replacement semantic size and spacing tokens. - Updated
ButtonandPageLoaderin@cfa/react-coreto use the replacement tokens so their default sizing and spacing continue to render correctly after the token sync.
- Updated the published token files in
Patch Changes
- #2025
e1ce933Thanks @stevegreco! - provided experimental themes in beta state
0.2.0-beta.0
Minor Changes
- #2010
c93883aThanks @stevegreco! - Synced the latest Figma token export and updated React components to stay aligned with the published token set.- Updated the published token files in
@cfa/design-tokens-coreto match the latest Figma source of truth. - Removed deprecated spacing and button sizing token entries from
@cfa/design-tokens-core; consumers using those token names should migrate to the replacement semantic size and spacing tokens. - Updated
ButtonandPageLoaderin@cfa/react-coreto use the replacement tokens so their default sizing and spacing continue to render correctly after the token sync.
- Updated the published token files in
Patch Changes
- #2025
e1ce933Thanks @stevegreco! - provided experimental themes in beta state
0.1.0
Minor Changes
- #1950
c291cc2Thanks @stevegreco! - Synced the exported Figma token set and realigned several consumer-facing token contracts across all generated token formats.- Renamed the button component token groups from
filled,outlined, andtexttoprimary,secondary, andtertiary, and added explicit transparent background tokens for the secondary and tertiary variants. - Remapped semantic primary content tokens so
content.primarynow resolves to the on-primary/knockout text color andcontent.primary-knockoutnow resolves to the themed primary brand color. If you reference these semantic tokens directly, verify branded text and accent treatments after upgrading. - Restructured elevation color tokens under explicit
color.backgroundnamespaces, added overlay backdrop, date picker segment focus, and generic track background tokens, and updated the default switch track color. - Deprecated the legacy semantic brand content tokens under
content.brand-deprecated-*and removed several previously exported raw tokens, including primary knockout hover and active variants, transparent background aliases, and the cream knockout border token. Consumers reading token names directly from the CSS, JS, JSON, SCSS, or React Native outputs should update those references before upgrading.
- Renamed the button component token groups from
Patch Changes
-
#1876
ac04fcdThanks @stevegreco! - Synced tokens from Figma- Added new component level
tabletokens
- Added new component level
-
#1919
8f9b50cThanks @stevegreco! - Corrected exported dark green chip background token values across the design token outputs.- Updated the dark green chip background token for the navy theme to use the intended dark green value.
- Updated the dark green subtle chip background token for the red and navy themes.
- These changes flow through the package’s CSS, SCSS, JSON, JS, React Native, and theme exports without requiring adopter code changes.
-
#1898
445af1cThanks @stevegreco! - Synced latest destructive and negative semantic token values from Figma exports.
0.1.0-beta.1
Minor Changes
- #1950
c291cc2Thanks @stevegreco! - Synced the exported Figma token set and realigned several consumer-facing token contracts across all generated token formats.- Renamed the button component token groups from
filled,outlined, andtexttoprimary,secondary, andtertiary, and added explicit transparent background tokens for the secondary and tertiary variants. - Remapped semantic primary content tokens so
content.primarynow resolves to the on-primary/knockout text color andcontent.primary-knockoutnow resolves to the themed primary brand color. If you reference these semantic tokens directly, verify branded text and accent treatments after upgrading. - Restructured elevation color tokens under explicit
color.backgroundnamespaces, added overlay backdrop, date picker segment focus, and generic track background tokens, and updated the default switch track color. - Deprecated the legacy semantic brand content tokens under
content.brand-deprecated-*and removed several previously exported raw tokens, including primary knockout hover and active variants, transparent background aliases, and the cream knockout border token. Consumers reading token names directly from the CSS, JS, JSON, SCSS, or React Native outputs should update those references before upgrading.
- Renamed the button component token groups from
Patch Changes
- #1919
8f9b50cThanks @stevegreco! - Corrected exported dark green chip background token values across the design token outputs.- Updated the dark green chip background token for the navy theme to use the intended dark green value.
- Updated the dark green subtle chip background token for the red and navy themes.
- These changes flow through the package’s CSS, SCSS, JSON, JS, React Native, and theme exports without requiring adopter code changes.
0.0.9-beta.0
Patch Changes
-
#1876
ac04fcdThanks @stevegreco! - Synced tokens from Figma- Added new component level
tabletokens
- Added new component level
-
#1898
445af1cThanks @stevegreco! - Synced latest destructive and negative semantic token values from Figma exports.
0.0.8
Patch Changes
- #1851
2558eebThanks @stevegreco! - Added new script to generate a combined themes.css file that contains both the red and navy themes
0.0.7
Patch Changes
- #1843
34ac035Thanks @stevegreco! - - Updated mobile typography tokens- Added new semantic spacing tokens
- Added tokens for the loading indicator
0.0.6
Patch Changes
- #1791
a33e243Thanks @stevegreco! - Adjusted the tokens for React Native- Removed objects in favor of just return the numbers for spacing related tokens
- Added
pxto the box-shadow tokens - Added composite tokens for box-shadow, this is an experimental feature
0.0.5
Patch Changes
- #1790
ee6bba5Thanks @stevegreco! - Fixed issue with casing for the primitives.font-style-italic token, making it lowercase
0.0.4
Patch Changes
- #1784
aec6bb7Thanks @stevegreco! - Fixed issue with build output
0.0.3
Patch Changes
-
#1780
58a588aThanks @stevegreco! - Fixed issues with exports- Updated
jsonexports to usewithinstead ofassert - Added file extensions to CSS/SCSS/JSON direct exports
- Updated
-
#1783
215db53Thanks @stevegreco! - Updated types for js files to make them literals instead of primitive types
0.0.2
Patch Changes
- #1778
d6c9cdeThanks @stevegreco! - Initial deployment of the beta version of this package