Skip to content
This repository has been archived by the owner on Dec 11, 2020. It is now read-only.

Commit

Permalink
Merge pull request #1559 from juananruiz/master
Browse files Browse the repository at this point in the history
Add Color provider to es_ES locale
  • Loading branch information
fzaninotto authored Oct 17, 2019
2 parents 02f8d17 + 677a820 commit 8f23aa0
Show file tree
Hide file tree
Showing 2 changed files with 96 additions and 23 deletions.
24 changes: 24 additions & 0 deletions src/Faker/Provider/es_ES/Color.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
<?php

namespace Faker\Provider\es_ES;

class Color extends \Faker\Provider\Color
{
protected static $safeColorNames = array(
'amarillo',
'azul marino',
'azul',
'blanco',
'celeste',
'gris',
'lima',
'magenta',
'marrón',
'morado',
'negro',
'plata',
'turquesa',
'verde',
'verde oliva',
);
}
Loading

0 comments on commit 8f23aa0

Please # to comment.