Skip to content

Commit

Permalink
Font awesome
Browse files Browse the repository at this point in the history
  • Loading branch information
bajb committed Feb 28, 2019
1 parent 9979b1d commit c7fe133
Show file tree
Hide file tree
Showing 88 changed files with 106 additions and 344 deletions.
4 changes: 0 additions & 4 deletions assets/css/all.min.css

Large diffs are not rendered by default.

Binary file modified assets/webfonts/fa-brands-400.eot
Binary file not shown.
2 changes: 1 addition & 1 deletion assets/webfonts/fa-brands-400.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified assets/webfonts/fa-brands-400.ttf
Binary file not shown.
Binary file modified assets/webfonts/fa-brands-400.woff
Binary file not shown.
Binary file modified assets/webfonts/fa-brands-400.woff2
Binary file not shown.
Binary file modified assets/webfonts/fa-regular-400.eot
Binary file not shown.
2 changes: 1 addition & 1 deletion assets/webfonts/fa-regular-400.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified assets/webfonts/fa-regular-400.ttf
Binary file not shown.
Binary file modified assets/webfonts/fa-regular-400.woff
Binary file not shown.
Binary file modified assets/webfonts/fa-regular-400.woff2
Binary file not shown.
Binary file modified assets/webfonts/fa-solid-900.eot
Binary file not shown.
2 changes: 1 addition & 1 deletion assets/webfonts/fa-solid-900.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified assets/webfonts/fa-solid-900.ttf
Binary file not shown.
Binary file modified assets/webfonts/fa-solid-900.woff
Binary file not shown.
Binary file modified assets/webfonts/fa-solid-900.woff2
Binary file not shown.
6 changes: 3 additions & 3 deletions composer.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"name": "fortifi/fontawesome",
"name": "packaged-ui/fontawesome",
"description": "Fontawesome icon creation helper",
"license": "MIT",
"require": {
Expand All @@ -15,8 +15,8 @@
},
"autoload": {
"psr-4": {
"Fortifi\\FontAwesome\\": "src/",
"Fortifi\\Tests\\FontAwesome\\": "tests/"
"PackagedUi\\FontAwesome\\": "src/",
"PackagedUi\\Tests\\FontAwesome\\": "tests/"
}
},
"repositories": [
Expand Down
8 changes: 4 additions & 4 deletions generate.php
Original file line number Diff line number Diff line change
Expand Up @@ -132,7 +132,7 @@ function iconsLoop($class, $icons, &$usedIcons, &$reservedWords)
$interfaces[] = $className;

$fileContent = '<?php' . PHP_EOL;
$fileContent .= 'namespace Fortifi\FontAwesome\Interfaces\Icons;' . PHP_EOL . PHP_EOL;
$fileContent .= 'namespace PackagedUi\FontAwesome\Interfaces\Icons;' . PHP_EOL . PHP_EOL;
$fileContent .= 'interface ' . $className . PHP_EOL;
$fileContent .= '{' . PHP_EOL;
$fileContent .= iconsLoop($className, $icons, $usedIcons, $reservedWords);
Expand All @@ -144,7 +144,7 @@ function iconsLoop($class, $icons, &$usedIcons, &$reservedWords)
}

$fileContent = '<?php' . PHP_EOL;
$fileContent .= 'namespace Fortifi\FontAwesome\Interfaces\Icons;' . PHP_EOL . PHP_EOL;
$fileContent .= 'namespace PackagedUi\FontAwesome\Interfaces\Icons;' . PHP_EOL . PHP_EOL;
$fileContent .= 'interface FaBrandIcons' . PHP_EOL;
$fileContent .= '{' . PHP_EOL;
$fileContent .= iconsLoop('FaBrandIcons', $brandIcons, $usedIcons, $reservedWords);
Expand All @@ -159,7 +159,7 @@ function iconsLoop($class, $icons, &$usedIcons, &$reservedWords)
/* Misc Icons */

$fileContent = '<?php' . PHP_EOL;
$fileContent .= 'namespace Fortifi\FontAwesome\Interfaces\Icons;' . PHP_EOL . PHP_EOL;
$fileContent .= 'namespace PackagedUi\FontAwesome\Interfaces\Icons;' . PHP_EOL . PHP_EOL;
$fileContent .= 'interface MiscIcons' . PHP_EOL;
$fileContent .= '{' . PHP_EOL;
$fileContent .= iconsLoop('MiscIcons', array_diff($miscIcons, $usedIcons), $usedIcons, $reservedWords);
Expand All @@ -172,7 +172,7 @@ function iconsLoop($class, $icons, &$usedIcons, &$reservedWords)
/* Wrap All Icons */

$fileContent = '<?php' . PHP_EOL;
$fileContent .= 'namespace Fortifi\FontAwesome\Interfaces\Icons;' . PHP_EOL . PHP_EOL;
$fileContent .= 'namespace PackagedUi\FontAwesome\Interfaces\Icons;' . PHP_EOL . PHP_EOL;
$fileContent .= 'interface FaIcons extends ' . implode(', ', $interfaces) . PHP_EOL;
$fileContent .= '{' . PHP_EOL;
$fileContent .= '}' . PHP_EOL;
Expand Down
2 changes: 1 addition & 1 deletion src/Enums/FaAnimate.php
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<?php
namespace Fortifi\FontAwesome\Enums;
namespace PackagedUi\FontAwesome\Enums;

class FaAnimate extends FaEnum
{
Expand Down
4 changes: 2 additions & 2 deletions src/Enums/FaEnum.php
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
<?php
namespace Fortifi\FontAwesome\Enums;
namespace PackagedUi\FontAwesome\Enums;

use Exception;
use Fortifi\FontAwesome\Interfaces\IEnum;
use PackagedUi\FontAwesome\Interfaces\IEnum;

abstract class FaEnum implements IEnum
{
Expand Down
2 changes: 1 addition & 1 deletion src/Enums/FaPull.php
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<?php
namespace Fortifi\FontAwesome\Enums;
namespace PackagedUi\FontAwesome\Enums;

class FaPull extends FaEnum
{
Expand Down
2 changes: 1 addition & 1 deletion src/Enums/FaRotate.php
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<?php
namespace Fortifi\FontAwesome\Enums;
namespace PackagedUi\FontAwesome\Enums;

class FaRotate extends FaEnum
{
Expand Down
2 changes: 1 addition & 1 deletion src/Enums/FaSizes.php
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<?php
namespace Fortifi\FontAwesome\Enums;
namespace PackagedUi\FontAwesome\Enums;

class FaSizes extends FaEnum
{
Expand Down
2 changes: 1 addition & 1 deletion src/Enums/FaStyle.php
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<?php
namespace Fortifi\FontAwesome\Enums;
namespace PackagedUi\FontAwesome\Enums;

class FaStyle extends FaEnum
{
Expand Down
2 changes: 1 addition & 1 deletion src/Enums/FaTransforms.php
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<?php
namespace Fortifi\FontAwesome\Enums;
namespace PackagedUi\FontAwesome\Enums;

class FaTransforms extends FaEnum
{
Expand Down
Loading

0 comments on commit c7fe133

Please sign in to comment.