Home
last modified time | relevance | path

Searched refs:ColorRgb (Results 1 – 21 of 21) sorted by relevance

/plugin/combo/ComboStrap/
H A DSkin.php23 ColorRgb::COLOR => "#0c5460",
28 ColorRgb::COLOR => "#6c6400",
33 ColorRgb::COLOR => "#856404",
38 ColorRgb::COLOR => "#fff",
43 ColorRgb::COLOR => "#fff",
48 ColorRgb::COLOR => "#fff",
53 ColorRgb::COLOR => "#fff",
64 ColorRgb::COLOR => "#fff",
97 … $isBrandingColor = in_array($type, [ColorRgb::PRIMARY_VALUE, ColorRgb::SECONDARY_VALUE]);
116 … $attributes->addStyleDeclarationIfNotSet(ColorRgb::COLOR, $color[ColorRgb::COLOR]);
[all …]
H A DColorRgb.php18 class ColorRgb class
304 return (new ColorRgb())
315 return (new ColorRgb())
329 return (new ColorRgb())
342 return (new ColorRgb())
406 * @param array|string|ColorRgb $color
408 * @return ColorRgb
553 return (new ColorRgb())
663 function tint(int $percentage): ColorRgb
696 * @param ColorRgb $colorRgb
[all …]
H A DSite.php414 PluginUtility::setConf(ColorRgb::PRIMARY_COLOR_CONF, $primaryColorValue);
417 public static function getPrimaryColor($default = null): ?ColorRgb
426 return ColorRgb::createFromString($value);
434 public static function getSecondaryColor($default = null): ?ColorRgb
441 return ColorRgb::createFromString($value);
455 PluginUtility::setConf(ColorRgb::PRIMARY_COLOR_CONF, null);
461 …return PluginUtility::getConfValue(ColorRgb::BRANDING_COLOR_INHERITANCE_ENABLE_CONF, ColorRgb::BRA…
491 …PluginUtility::setConf(ColorRgb::BRANDING_COLOR_INHERITANCE_ENABLE_CONF, ColorRgb::BRANDING_COLOR_…
515 * @return ColorRgb|null
517 public static function getPrimaryColorTextHover(): ?ColorRgb
[all …]
H A DTextColor.php48 case ColorRgb::PRIMARY_VALUE:
55 case ColorRgb::SECONDARY_VALUE:
75 $colorValue = ColorRgb::createFromString($colorValue)->toCssValue();
H A DColorHsl.php73 * @return ColorRgb Reference:
80 function toRgb(): ColorRgb
125 return ColorRgb::createFromRgbChannels(
177 if ($color instanceof ColorRgb) {
H A DBackground.php226 …tionIfNotSet(self::BACKGROUND_IMAGE, 'linear-gradient(to top,#fff 0,' . ColorRgb::createFromString…
231 $colorValue = ColorRgb::createFromString($colorValue)->toCssValue();
334 $tagAttributes->addStyleDeclarationIfNotSet(ColorRgb::COLOR, $patternColor);
H A DPluginUtility.php686 if ($attributes->hasComponentAttribute(ColorRgb::BORDER_COLOR)) {
687 $colorValue = $attributes->getValueAndRemove(ColorRgb::BORDER_COLOR);
688 …$attributes->addStyleDeclarationIfNotSet(ColorRgb::BORDER_COLOR, ColorRgb::createFromString($color…
H A DSvgDocument.php472 $color = $localTagAttributes->getValueAndRemoveIfPresent(ColorRgb::COLOR);
497 $colorValue = ColorRgb::createFromString($color)->toCssValue();
H A DTagAttributes.php71 ColorRgb::PRIMARY_VALUE,
72 ColorRgb::SECONDARY_VALUE,
H A DBrandButton.php432 $attributes[ColorRgb::COLOR] = $textColor;
/plugin/combo/syntax/
H A Dbadge.php6 use ComboStrap\ColorRgb; alias
132 $color = ColorRgb::TIP_COLOR;
134 case ColorRgb::PRIMARY_VALUE:
137 case ColorRgb::SECONDARY_VALUE:
145 $colorObject = ColorRgb::createFromString($color);
157 $backgroundColor = $tagAttributes->getValue(ColorRgb::BACKGROUND_COLOR);
172 … $tagAttributes->addStyleDeclarationIfNotSet(ColorRgb::BACKGROUND_COLOR, $backgroundColor);
174 if (!$tagAttributes->hasComponentAttribute(ColorRgb::BORDER_COLOR)) {
176 … $tagAttributes->addStyleDeclarationIfNotSet(ColorRgb::BORDER_COLOR, $borderColor);
178 if (!$tagAttributes->hasComponentAttribute(ColorRgb::COLOR)) {
[all …]
H A Dhighlightwiki.php3 use ComboStrap\ColorRgb; alias
43 public static function toBackgroundColor(ColorRgb $primaryColor): ColorRgb
65 $tagAttributes->addComponentAttributeValue(ColorRgb::BACKGROUND_COLOR, $colorRgb
H A Dnote.php7 use ComboStrap\ColorRgb; alias
169 if (!$attributes->hasComponentAttribute(ColorRgb::COLOR)) {
170 … $attributes->addComponentAttributeValue(ColorRgb::COLOR, "#6c6400"); // lum - 51
H A Dbackground.php8 use ComboStrap\ColorRgb; alias
51 if (isset($attributes[ColorRgb::COLOR])) {
52 $attributes[Background::BACKGROUND_COLOR] = $attributes[ColorRgb::COLOR];
53 unset($attributes[ColorRgb::COLOR]);
H A Dbutton.php8 use ComboStrap\ColorRgb; alias
162 …$types = [ColorRgb::PRIMARY_VALUE, ColorRgb::SECONDARY_VALUE, "success", "danger", "warning", "inf…
165 TagAttributes::TYPE_KEY => ColorRgb::PRIMARY_VALUE
H A Dbrand.php11 use ComboStrap\ColorRgb; alias
104 $color = $brandAttributes->getValue(ColorRgb::PRIMARY_VALUE);
108 $secondaryColor = $brandAttributes->getValue(ColorRgb::SECONDARY_VALUE);
275 $primary = $openTagAttributes->getValue(ColorRgb::PRIMARY_VALUE);
279 … $actualCall->addAttribute(ColorRgb::COLOR, $brandButton->getTextColor());
H A Dicon.php8 use ComboStrap\ColorRgb; alias
174 $requestedColor = $tagAttributes->getValue(ColorRgb::COLOR);
194 $tagAttributes->setComponentAttributeValue(ColorRgb::COLOR, $color);
/plugin/combo/lang/en/
H A Dsettings.php7 use ComboStrap\ColorRgb; alias
266 $lang[ColorRgb::PRIMARY_COLOR_CONF]= PluginUtility::getDocumentationHyperLink(ColorRgb::BRANDING_CO…
267 $lang[ColorRgb::SECONDARY_COLOR_CONF]= PluginUtility::getDocumentationHyperLink(ColorRgb::BRANDING_…
268 $lang[ColorRgb::BRANDING_COLOR_INHERITANCE_ENABLE_CONF ]= PluginUtility::getDocumentationHyperLink(
/plugin/combo/conf/
H A Dmetadata.php10 use ComboStrap\ColorRgb; alias
341 $meta[ColorRgb::PRIMARY_COLOR_CONF] = array("string");
342 $meta[ColorRgb::SECONDARY_COLOR_CONF] = array("string");
343 $meta[ColorRgb::BRANDING_COLOR_INHERITANCE_ENABLE_CONF] = array("onoff");
/plugin/combo/action/
H A Ddocss.php6 use ComboStrap\ColorRgb; alias
H A Dmanifest.php3 use ComboStrap\ColorRgb; alias