Lines Matching refs:color
114 $color = $skinColors[$type];
117 $attributes->addStyleDeclarationIfNotSet(ColorRgb::COLOR, $color[ColorRgb::COLOR]);
118 $attributes->addStyleDeclarationIfNotSet(BackgroundAttribute::BACKGROUND_COLOR, $color[BackgroundAttribute::BACKGROUND_COLOR]);
119 $attributes->addStyleDeclarationIfNotSet(ColorRgb::BORDER_COLOR, $color[ColorRgb::BORDER_COLOR]);
124 $attributes->addStyleDeclarationIfNotSet(ColorRgb::COLOR, $color[ColorRgb::COLOR]);
125 $attributes->addStyleDeclarationIfNotSet(BackgroundAttribute::BACKGROUND_COLOR, $color[BackgroundAttribute::BACKGROUND_COLOR]);
126 $attributes->addStyleDeclarationIfNotSet(ColorRgb::BORDER_COLOR, $color[ColorRgb::BORDER_COLOR]);
129 $primaryColor = $color[ColorRgb::COLOR];
131 $primaryColor = $color[BackgroundAttribute::BACKGROUND_COLOR];
135 $borderColor = $color[BackgroundAttribute::BACKGROUND_COLOR];
138 // takes precedence in the `border-color` if located afterwards
146 $primaryColor = $color[ColorRgb::COLOR];
148 $primaryColor = $color[BackgroundAttribute::BACKGROUND_COLOR];