page_theme.php /** * Parses the style declaration found in the stylesheet to return the type of editable style */ private function getEditableStyleType($value) { // thx yamanoi if (preg_match('/^\s*font\s*:/',$value)) { return PageThemeEditableStyle::TSTYPE_FONT; } if (preg_match('/^\s*([a-z]+-)*color\s*:/',$value)) { return PageThemeEditableStyle::TSTYPE_COLOR; } return PageThemeEditableStyle::TSTYPE_CUSTOM; }
But I should repeat this for newbies.
Remo is the man of concrete5~~!