You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+29-1Lines changed: 29 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -3,4 +3,32 @@ css-colors
3
3
4
4
Takes in a HEX color and produces variations of that colour for the foreground and background
5
5
6
-
It takes a great php class made by Patrick Fitzgerald in 2004 ( http://www.barelyfitz.com/projects/csscolor/ ) and wraps it in a library for use in your project.
6
+
It takes a great php class made by Patrick Fitzgerald in 2004 ( http://www.barelyfitz.com/projects/csscolor/ ) and wraps it in a library for use in your project.
7
+
8
+
## Installation
9
+
10
+
Install this package through Composer. Add the following to your composer.json file:
11
+
```php
12
+
"require": {
13
+
"soapbox/css-color": "dev-master"
14
+
}
15
+
```
16
+
Next, run composer install
17
+
18
+
Finally, add the service provider and the facade to app/config/app.php.
19
+
```php
20
+
'providers' => array(
21
+
// ...
22
+
23
+
'SoapBox\Csscolor\CsscolorServiceProvider'
24
+
)
25
+
26
+
27
+
Not requred, but you can addd the Csscolor alias if you want.
0 commit comments