Merge pull request #147 from vardumper/feature/146-improve-support-for-composer

added composer.json, added instructions in README.md
This commit is contained in:
Lucas Larroche 2022-05-22 09:56:30 +07:00 committed by GitHub
commit 5d4e92a6ff
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 38 additions and 2 deletions

2
.gitignore vendored
View file

@ -2,4 +2,4 @@ node_modules/
tests/
.nvmrc
.prettierrc.js
*.DS_Store
*.DS_Store

View file

@ -47,7 +47,7 @@ Shipped with two beautiful color themes, automatically enabled according to the
## Usage
There are 3 ways to get started with pico.css:
There are 4 ways to get started with pico.css:
**Install manually**
@ -71,6 +71,12 @@ Alternatively, you can use [unpkg CDN](https://unpkg.com/@picocss/pico@latest/)
npm install @picocss/pico
```
**Install with Composer**
```shell
composer require picocss/pico
```
## Class-less version
Pico provides a `.classless` version ([example](https://picocss.com/examples/classless)).

30
composer.json Normal file
View file

@ -0,0 +1,30 @@
{
"name": "picocss/pico",
"description": "Minimal CSS Framework for semantic HTML.",
"keywords": [
"css",
"css-framework",
"dark-mode",
"dark-theme",
"lightweight",
"minimal",
"minimalist",
"minimalistic",
"native-html",
"scss-framework",
"semantic"
],
"homepage": "https://picocss.com",
"authors": [
{
"name": "Lucas Larroche",
"email": "lucas@larroche.com",
"homepage": "https://lucaslarroche.com",
"role": "Developer"
}
],
"support": {
"issues": "https://github.com/picocss/pico/issues/"
},
"license": "MIT"
}