class Primer::Classify::FunctionalBorderColors

Border specific functional colors primer-css-git-mkt-color-modes-docs-primer.vercel.app/css/support/v16-migration#border

Constants

DEPRECATED_OPTIONS
FUNCTIONAL_OPTIONS
MAPPINGS
OPTIONS
OPTIONS_WITHOUT_MAPPINGS

Public Class Methods

color(val) click to toggle source
# File lib/primer/classify/functional_border_colors.rb, line 37
def color(val)
  functional_color(
    key: "border",
    value: val,
    mappings: MAPPINGS,
    non_functional_prefix: "border",
    functional_prefix: "color-border",
    number_prefix: "border",
    functional_options: OPTIONS,
    options_without_mappigs: OPTIONS_WITHOUT_MAPPINGS
  )
end