From 6e326f4caf70de745b425abd2b0232d3aeab46a2 Mon Sep 17 00:00:00 2001 From: vardumper Date: Wed, 26 Jan 2022 11:21:35 +0100 Subject: [PATCH 1/3] added composer.json, added instructions in README.md --- .gitignore | 5 ++++- README.md | 8 +++++++- composer.json | 28 ++++++++++++++++++++++++++++ 3 files changed, 39 insertions(+), 2 deletions(-) create mode 100644 composer.json diff --git a/.gitignore b/.gitignore index af0a1701..8c3ed741 100644 --- a/.gitignore +++ b/.gitignore @@ -2,4 +2,7 @@ node_modules/ tests/ .nvmrc .prettierrc.js -*.DS_Store \ No newline at end of file +*.DS_Store +/.settings/ +/.buildpath +/.project diff --git a/README.md b/README.md index 91979e27..eb152436 100644 --- a/README.md +++ b/README.md @@ -45,7 +45,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** @@ -69,6 +69,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)). diff --git a/composer.json b/composer.json new file mode 100644 index 00000000..8602c779 --- /dev/null +++ b/composer.json @@ -0,0 +1,28 @@ +{ + "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", + "role" : "Lead Developer" + } + ], + "support": { + "issues": "https://github.com/picocss/pico/issues/" + }, + "license": "MIT" +} From 2419597dad15074fe7759162d180449870cf2eb4 Mon Sep 17 00:00:00 2001 From: Lucas Larroche Date: Sun, 22 May 2022 09:52:13 +0700 Subject: [PATCH 2/3] chore: Edit composer.json --- composer.json | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/composer.json b/composer.json index 8602c779..2417f214 100644 --- a/composer.json +++ b/composer.json @@ -18,11 +18,13 @@ "authors": [ { "name": "Lucas Larroche", - "role" : "Lead Developer" + "email": "lucas@larroche.com", + "homepage": "https://lucaslarroche.com", + "role": "Developer" } ], "support": { "issues": "https://github.com/picocss/pico/issues/" }, "license": "MIT" -} +} \ No newline at end of file From f7151d68c5809b9744e0a0fa72a5672930b471fb Mon Sep 17 00:00:00 2001 From: Lucas Larroche Date: Sun, 22 May 2022 09:54:44 +0700 Subject: [PATCH 3/3] chore: Revert .gitignore --- .gitignore | 3 --- 1 file changed, 3 deletions(-) diff --git a/.gitignore b/.gitignore index 8c3ed741..bde7d4c5 100644 --- a/.gitignore +++ b/.gitignore @@ -3,6 +3,3 @@ tests/ .nvmrc .prettierrc.js *.DS_Store -/.settings/ -/.buildpath -/.project