Skip to content

Border Colors

These utility classes set border colors using semantic names for various states and contexts. Use them to ensure consistent border color application across your UI.

Usage

Class NameDescriptionExample Color Token
.mc-border-color-strongStrong border color for high emphasismc-border-mushroom-500
.mc-border-color-supportingSupporting border colormc-border-mushroom-400
.mc-border-color-baseBase border color for default statemc-border-mushroom-300
.mc-border-color-hoverBorder color on hover statemc-border-mushroom-400
.mc-border-color-pressedBorder color on pressed statemc-border-mushroom-500
.mc-border-color-weakWeak border color for subtle separationmc-border-mushroom-200
.mc-border-color-disabledBorder color for disabled elementsmc-border-white-100
.mc-border-color-on-fill-disabledBorder color on disabled filled backgroundsmc-border-white-200
.mc-border-color-brand-baseBrand border color (base state)mc-border-kangkong-700
.mc-border-color-brand-hoverBrand border color (hover state)mc-border-kangkong-800
.mc-border-color-brand-pressedBrand border color (pressed state)mc-border-kangkong-900
.mc-border-color-success-baseSuccess border color (base state)mc-border-kangkong-700
.mc-border-color-success-hoverSuccess border color (hover state)mc-border-kangkong-800
.mc-border-color-success-pressedSuccess border color (pressed state)mc-border-kangkong-900
.mc-border-color-information-baseInformation border color (base state)mc-border-blueberry-700
.mc-border-color-information-hoverInformation border color (hover state)mc-border-blueberry-800
.mc-border-color-information-pressedInformation border color (pressed state)mc-border-blueberry-900
.mc-border-color-danger-baseDanger border color (base state)mc-border-tomato-600
.mc-border-color-danger-hoverDanger border color (hover state)mc-border-tomato-700
.mc-border-color-danger-pressedDanger border color (pressed state)mc-border-tomato-800
.mc-border-color-pending-basePending border color (base state)mc-border-mango-700
.mc-border-color-pending-hoverPending border color (hover state)mc-border-mango-800
.mc-border-color-pending-pressedPending border color (pressed state)mc-border-mango-900
.mc-border-color-caution-baseCaution border color (base state)mc-border-carrot-700
.mc-border-color-caution-hoverCaution border color (hover state)mc-border-carrot-800
.mc-border-color-caution-pressedCaution border color (pressed state)mc-border-carrot-900
.mc-border-color-accent-baseAccent border color (base state)mc-border-wintermelon-700
.mc-border-color-accent-hoverAccent border color (hover state)mc-border-wintermelon-800
.mc-border-color-accent-pressedAccent border color (pressed state)mc-border-wintermelon-900

Between children

Provides utility classes for setting divider (border) colors, Apply the desired class to an element to set its divider color.

Class NameDescriptionExample Color Token
.mc-divide-color-strongStrong divider color for high emphasismc-divide-mushroom-500
.mc-divide-color-supportingSupporting divider colormc-divide-mushroom-400
.mc-divide-color-baseBase divider color for default statemc-divide-mushroom-300
.mc-divide-color-hoverDivider color on hover statemc-divide-mushroom-400
.mc-divide-color-pressedDivider color on pressed statemc-divide-mushroom-500
.mc-divide-color-weakWeak divider color for subtle separationmc-divide-mushroom-200
.mc-divide-color-disabledDivider color for disabled elementsmc-divide-white-100
.mc-divide-color-on-fill-disabledDivider color on disabled filled backgroundsmc-divide-white-200
.mc-divide-color-brand-baseBrand divider color (base state)mc-divide-kangkong-700
.mc-divide-color-brand-hoverBrand divider color (hover state)mc-divide-kangkong-800
.mc-divide-color-brand-pressedBrand divider color (pressed state)mc-divide-kangkong-900
.mc-divide-color-success-baseSuccess divider color (base state)mc-divide-kangkong-700
.mc-divide-color-success-hoverSuccess divider color (hover state)mc-divide-kangkong-800
.mc-divide-color-success-pressedSuccess divider color (pressed state)mc-divide-kangkong-900
.mc-divide-color-information-baseInformation divider color (base state)mc-divide-blueberry-700
.mc-divide-color-information-hoverInformation divider color (hover state)mc-divide-blueberry-800
.mc-divide-color-information-pressedInformation divider color (pressed state)mc-divide-blueberry-900
.mc-divide-color-danger-baseDanger divider color (base state)mc-divide-tomato-600
.mc-divide-color-danger-hoverDanger divider color (hover state)mc-divide-tomato-700
.mc-divide-color-danger-pressedDanger divider color (pressed state)mc-divide-tomato-800
.mc-divide-color-pending-basePending divider color (base state)mc-divide-mango-700
.mc-divide-color-pending-hoverPending divider color (hover state)mc-divide-mango-800
.mc-divide-color-pending-pressedPending divider color (pressed state)mc-divide-mango-900
.mc-divide-color-caution-baseCaution divider color (base state)mc-divide-carrot-700
.mc-divide-color-caution-hoverCaution divider color (hover state)mc-divide-carrot-800
.mc-divide-color-caution-pressedCaution divider color (pressed state)mc-divide-carrot-900
.mc-divide-color-accent-baseAccent divider color (base state)mc-divide-wintermelon-700
.mc-divide-color-accent-hoverAccent divider color (hover state)mc-divide-wintermelon-800
.mc-divide-color-accent-pressedAccent divider color (pressed state)mc-divide-wintermelon-900