Lines Matching refs:pattern
53 * https://bansal.io/pattern-css
55 const PATTERN_ATTRIBUTE = "pattern";
56 const PATTERN_CSS_SNIPPET_ID = "pattern.css";
59 const PATTERN_CSS_CLASS_PREFIX = "pattern";
60 const PATTERN_COLOR_ATTRIBUTE = "pattern-color";
80 * use a CSS pattern (because it use the text color as one of painting color)
236 * Process the pattern css
237 * https://bansal.io/pattern-css
294 * Process the `pattern` attribute
296 * https://bansal.io/pattern-css
310 "https://cdn.jsdelivr.net/npm/pattern.css@1.0.0/dist/pattern.min.css",
326 $pattern = $patternValue;
329 $pattern = substr($patternValue, 0, $lastIndexOfMinus);
333 * Does this pattern is a known pattern
335 if (!in_array($pattern, self::PATTERN_NAMES)) {
336 LogUtility::msg("The pattern (" . $pattern . ") is not a known CSS pattern and was ignored.", LogUtility::LVL_MSG_WARNING, self::CANONICAL);
339 $tagAttributes->addClassName(self::PATTERN_CSS_CLASS_PREFIX . "-" . $pattern . "-" . $size);
343 LogUtility::msg("The background color was not set for the background with the (" . $pattern . "). It was set to the default color.", LogUtility::LVL_MSG_INFO, self::CANONICAL);
352 LogUtility::msg("The pattern color was not set for the background with the (" . $pattern . "). It was set to the default color.", LogUtility::LVL_MSG_INFO, self::CANONICAL);