class Primer::Classify::FunctionalBackgroundColors
Background specific functional colors primer-css-git-mkt-color-modes-docs-primer.vercel.app/css/support/v16-migration#background
Constants
- DEPRECATED_OPTIONS
- FUNCTIONAL_OPTIONS
- MAPPINGS
- OPTIONS
- OPTIONS_WITHOUT_MAPPINGS
Public Class Methods
color(val)
click to toggle source
# File lib/primer/classify/functional_background_colors.rb, line 48 def color(val) functional_color( key: "background", value: val, mappings: MAPPINGS, non_functional_prefix: "bg", functional_prefix: "color-bg", number_prefix: "bg", functional_options: OPTIONS, options_without_mappigs: OPTIONS_WITHOUT_MAPPINGS ) end