Lines Matching refs:attributes
110 $attributes = TagAttributes::createFromTagMatch($match, $defaultAttributes, $knwonTypes);
113 PluginUtility::ATTRIBUTES => $attributes->toCallStackArray()
155 $attributes = TagAttributes::createFromCallStackArray($data[PluginUtility::ATTRIBUTES], self::TAG);
156 $attributes->addClassName("alert");
157 $type = $attributes->getValue(TagAttributes::TYPE_KEY);
169 $attributes->addClassName("alert-" . $type);
173 if (!$attributes->hasComponentAttribute(ColorRgb::COLOR)) {
174 $attributes->addComponentAttributeValue(ColorRgb::COLOR, "#6c6400"); // lum - 51
176 if (!$attributes->hasComponentAttribute("border-color")) {
177 $attributes->addComponentAttributeValue("border-color", "#FFF78c"); // lum - 186
179 if (!$attributes->hasComponentAttribute(BackgroundAttribute::BACKGROUND_COLOR)) {
180 $attributes->addComponentAttributeValue(BackgroundAttribute::BACKGROUND_COLOR, "#fff79f"); // lum - 195
184 $attributes->addOutputAttributeValue("role", "note");
185 $renderer->doc .= $attributes->toHtmlEnterTag('div');