Example #1
0
 protected function _init_system_schemes()
 {
     $schemes = parent::_init_system_schemes();
     $additional_schemes = ['joker' => ['items' => [self::COLOR_5 => '#4b4646', self::COLOR_6 => '#e2e2e2']], 'ocean' => ['items' => [self::COLOR_5 => '#154d80', self::COLOR_6 => '#8c8c8c']], 'royal' => ['items' => [self::COLOR_5 => '#ac8e4d', self::COLOR_6 => '#e2cea1']], 'violet' => ['items' => [self::COLOR_5 => '#9c9ea6', self::COLOR_6 => '#c184d0']], 'sweet' => ['items' => [self::COLOR_5 => '#41aab9', self::COLOR_6 => '#ffc72f']], 'urban' => ['items' => [self::COLOR_5 => '#aa4039', self::COLOR_6 => '#94dbaf']], 'earth' => ['items' => [self::COLOR_5 => '#aa6666', self::COLOR_6 => '#efe5d9']], 'river' => ['items' => [self::COLOR_5 => '#7b8c93', self::COLOR_6 => '#eb6d65']], 'pastel' => ['items' => [self::COLOR_5 => '#f5a46c', self::COLOR_6 => '#6e6f71']]];
     $schemes = array_replace_recursive($schemes, $additional_schemes);
     foreach ($schemes as &$scheme) {
         $scheme['items'] += [self::COLOR_7 => '#000', self::COLOR_8 => '#fff'];
     }
     return $schemes;
 }