No Preview

Sorry, but you either have no stories or none are selected somehow.

If the problem persists, check the browser console, or the terminal you've run Storybook from.

Color

Application of the color palette brings a unified and recognizable consistency to MX's products and interfaces. This consistency is grounded by a set of well-defined rules on how to work with the Kyper component library in the context of dark and light themes.

Color families


Brand

The brand family serves as the primary action color across all MX products. Brand colors can be overriden by our clients in some products. If you are working on a product that allows for client overriding it is important to consider what your product will look like with other colors.


Brand 100
#E7F0FE
Brand 200
#69A1FA
Brand 300
#2D64EF
Brand 400
#095ADB
Brand 500
#0749B2


Success

Use success colors to communicate success states or other positive messaging.

Success 100
#DDFDED
Success 200
#0AC295
Success 300
#09A57F
Success 400
#078364
Success 500
#027357


Warning

Use warning colors to draw attention to important elements or encourage the user to act with caution. Note, special care needs to be taken when using warning colors to ensure contrast reqirements are met.

Warning 100
#FEF7B9
Warning 200
#FFDA6C
Warning 300
#FFB400
Warning 400
#FA8902
Warning 500
#C33E01


Error

Use error colors to communicate error states or destructive actions. Error colors should be used sparingly because they strongly pull the users attention.

Error 100
#FCD2CF
Error 200
#F45532
Error 300
#DF320C
Error 400
#C61A0B
Error 500
#AE0A0A


Neutral

Neutral colors are dominant in the light and dark themes, making use of subtle shifts in value to help organize content into distinct zones. MX has carefully selected the neutral colors to help designers achieve an accessible design in light and dark theme.

Neutral White
#FFFFFF
Neutral 100
#F8F9FB
Neutral 200
#EEF1F6
Neutral 300
#E4E8EE
Neutral 400
#CDD3DD
Neutral 500
#A8B1BD
Neutral 600
#6A7381
Neutral 700
#49505A
Neutral 800
#1F2329
Neutral 900
#121417

Common uses & defaults

Typically on light theme default to 300 level colors. For example use the 300 variant of success, error, and brand as a default. On dark theme use 200 level colors. This helps achieve a AA accessibility rating.


Brand

NameLightDark
Brand 100Active state backgroundNone
Brand 200NoneLink and transparent button text
Brand 300Primary actions and clickable elementsPrimary button background
Brand 400Hover color for links and primary buttonsHover color for primary buttons
Brand 500NonePrimary tag background

Neutral

NameLightDark
Neutral whiteCard backgroundText
Neutral 100Alternate card backgroundNone
Neutral 200Disabled backgroundNone
Neutral 300Card stroke and HRNone
Neutral 400Secondary disabled backgroundSecondary text
Neutral 500Disabled textInput stroke
Neutral 600Secondary text and input strokeDisabled text
Neutral 700NoneCard stroke, HR, disabled background
Neutral 800NoneCard background
Neutral 900TextAlternate card background

Resources