I hereby claim:
- I am frolki1-dev on github.
- I am frolki1_dev (https://keybase.io/frolki1_dev) on keybase.
- I have a public key ASDN2n3tFjvT3LXwgzPgM7baCu7ELf_9nEeXs84EqRMhEgo
To claim this, I am signing this object:
<?php | |
/** | |
* Get the brightness of the color. | |
* The return value is between 0 and 1. | |
* 0 = light | |
* 1 = dark | |
* | |
* @param string $hex The hex code of the color | |
* @return float|int | |
*/ |
<?php | |
$json = json_decode(file_get_contents('icons.json')); | |
$icons = []; | |
foreach ($json as $class => $icon) { | |
$name = 'fa-' . $class; | |
foreach ($icon->styles as $type) { | |
switch($type) { |
I hereby claim:
To claim this, I am signing this object: