All notable changes to this project will be documented in this file.
The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.
- Updated the color of focusRingDefault to match new color by design team
- Small Upper letter spacing was incorrect
- Added export of types
- Added Typescript and types for all tokens
- Updated font to Inter and adjusted font sizes
- Changed package name to
@mx-enabled/mx-design-tokens
- Added Dark, Light, TextColor token for when you need the text to stay dark or light in both light and dark mode
- Added BackgroundColor, TextColor tokens for
ButtonTransparentDestructive
- Added TextColor tokens for
Success
- Added token for
UtilityRowHover
- Updated the Brand and Primary colors to match the new colors from the design team.
- Changed dark mode BoxShadow values from an empty string to 'none' so the CSS is valid
- Updated the Button padding from
Small
toMedium
to fit the design system specifications. This makes the side padding 16px instead of 12px
- Added a
Overlay8
,Overlay9
, andOverlay10
tocore
, then addedTooltip: core.ZIndex.Overlay10
- Updated the dark background for the tooltip to
neutral900
, as per design.
- Fixed the font size token for breadcrumbs
- Added tokens for the Breadcrumbs component
- Added token for the tooltip
boxShadow
to display'none'
when theme is set to dark.
- Added core and BackgroundColor tokens for Category colors
Breaking Change — mx-design-tokens 10.0.0
works in conjunction with @kyper/tokenprovider 3.0.0
or greater.
The following breaking changes have been made to the buildTheme
function...
- Removed the
customColors
andcustomFonts
properties - Added a single
tokenOverrides
property so that all tokens may be customized instead of just colors and fonts- Core token changes will automatically propagate down the tree
- Leaf token changes will take precedent over any core propagations
- New tokens will be appended
- The
Time
token values now appendms
instead ofpx
for.css
and.scss
output
- SCSS output files
- CSS output files
- DOCS output script
- JSON output script
- use the latest babel dev dependencies
- Added Radio token to backgroundColor tokens for use with the radio button after a css refactor.
- Add missing Radio borderColor token
- Added SelectionBoxDisabled borderColor token
- Added new tokens for the SelectionBox component
- BorderColor and BackgroundColor now have an Error token that should be used by most components
- The BoxShadow tokens were updated to the latest ones from Figma
- Added new tokens to support the new Chip component
- Adds a new tokens
MessageBoxBrand
to replaceMessageBoxHelp
.
- Fixes the
MessageBoxHelp
token using brand color instead of primary
- Fix bad publish
- Letter Spacing tokens to core to support uppercase font styles
LetterSpacing.Uppercase
LetterSpacing.Small
LetterSpacing.Tiny
LetterSpacing.XSmall
- Add the Tag primary color and background color tokens
- Rename Tag tokens to Tag Neutral
- Add the Tag text colors and background color tokens
- Add the Chart colors tokens
- Added text color, background color and border color for destructive link button variant
BackgroundColor.ButtonLinkDestructiveHover
BorderColor.ButtonLinkDestructiveHover
TextColor.ButtonLinkDestructive
TextColor.ButtonLinkDestructiveHover
- Added the Primary color tokens back for backwards compatability and usage
- Added MessageBox component tokens
BackgroundColor.MessageBox
BackgroundColor.MessageBoxHelp
BackgroundColor.MessageBoxError
BackgroundColor.MessageBoxSuccess
- Replaces Primary100-500 with Brand100-500 to be used when the colors need to reflect branding.
- Bad publish of 7.1.1
CheckboxLabelMarginLeft
andCheckboxLabelMarginLeft
now useXSmall
spacing to fit design
Font
in the corecustomFonts
argument to buildTheme to override fonts
BorderRadius.XLarge
BorderRadius.CardRounded
BorderRadius.Large
changed to8px
.
BackgroundColor.TabDivider
- Changed InputLabelMarginLeft to
XSmall
spacing becauseSmall
was the incorrect size.
BackgroundColor.TableHover
BackgroundColor.TableFooter
BorderColor.TableHeader
BorderColor.TableCell
Spacing.TableCell
Spacing.TableCellActionMargin
Spacing.TableFooterPaddingTop
Spacing.TableFooterPaddingSide
Warning400
value updated to#E07C02
to meet a 3:1 contrast ratio on white.
- New changes in
6.2.0
weren't compiled correctly. This release fixed the bad release
BackgroundColor.ModalCloseHover
- Organized tokens alphabetically with global tokens at the top of each file.
- Bad publish of 6.1.1
- Add script to maybe prevent this from happening again.
- Corrected typo on
BackgroundColor.DropdownMenuItemActive
.
BackgroundColor.Avatar
TextColor.Avatar
Fix bad publish of 6.0.1
BackgroundColor.RadioChecked
in dark mode is nowNeutral900
- Organizational comments to background-color token file.
BackgroundColor.InputChip
BackgroundColor.InputChipHover
BackgroundColor.ModalClose
BackgroundColor.DropdownMenu
BackgroundColor.DropdownMenuItemHover
BackgroundColor.DropdownMenuItemActive
BorderRadius.DropdownMenu
BorderRadius.DropdownMenuItem
BorderRadius.DropdownChip
TextColor.DropdownMenuItemActive
TextColor.DropdownMenuItemDisabled
TextColor.ModalClose
BorderColor.Dropdown
BorderColor.DropdownHover
BorderColor.DropdownFocus
BorderColor.DropdownError
FontSize.DropdownToggle
FontSize.DropdownItems
Spacing.DropdownToggle
Spacing.DropdownItemPaddingTopBottom
Spacing.DropdownItemPaddingLeftRight
core.Resolution
exports the int version ofcore.MediaQuery
.- Ability to pass in a build
target
to the buildTheme function. - Exports
targets
const for use in other repos. core.LineHeight
accepts theREACT
target to add thepx
definition.core.BoxShadow
acceptstarget
with the current focus beingREACT
. Exploration still required.core.Easing
acceptstarget
. Still exploring non web solutions.InputPaddingTop
InputPaddingRight
InputPaddingBottom
InputPaddingLeft
InputLabelPaddingLeft
InputLabelPaddingRight
- Argument order of
buildTheme
. core.Time.*
is now an int without thems
.core.MediaQuery.*
includespx
as it's implied web values.
- Removed
core.BorderRadius.Rounded
as a circle is created completely differently across the different platforms. - Removed
InputPadding
in favor of individually specified tokens. - Removed
InputLabelPadding
in favor of individually specified tokens. - Removed
BorderRadius.Radio
as it usedRounded
. - Removed
BorderRadius.Switch
as it usedRounded
.
- CHANGELOG.md available. issue
- Makes custom colors available to the core color set.
- Updates incorrect values for input labels.
- Styles for input labels.
- Styles for input labels.
- Neutral colors changed for a11y.
InputLabelMarginBottom
style.