| @@ 269-272 (lines=4) @@ | ||
| 266 | if ($color['rgba']) { |
|
| 267 | $fallback[$key] = $first.$color['hex']; |
|
| 268 | $colors[$key] = $first.$color['rgba']; |
|
| 269 | } else { |
|
| 270 | $fallback[$key] = $first.$color['hex']; |
|
| 271 | $colors[$key] = $first.$color['hex']; |
|
| 272 | } |
|
| 273 | } else { |
|
| 274 | if ($color['rgba']) { |
|
| 275 | $colors[$key] = $first.$color['rgba']; |
|
| @@ 273-279 (lines=7) @@ | ||
| 270 | $fallback[$key] = $first.$color['hex']; |
|
| 271 | $colors[$key] = $first.$color['hex']; |
|
| 272 | } |
|
| 273 | } else { |
|
| 274 | if ($color['rgba']) { |
|
| 275 | $colors[$key] = $first.$color['rgba']; |
|
| 276 | } else { // everything is supported in hex! |
|
| 277 | $colors[$key] = $first.$color['hex']; |
|
| 278 | } |
|
| 279 | } |
|
| 280 | } |
|
| 281 | $colors = implode($colors, ', '); |
|
| 282 | $fallback = implode($fallback, ', '); |
|