diff --git a/README.md b/README.md index 4779fe64..32504b92 100644 --- a/README.md +++ b/README.md @@ -13,6 +13,11 @@ [![License](https://img.shields.io/badge/license-MIT-%230172ad)](https://github.com/picocss/pico/blob/master/LICENSE.md) [![Twitter URL](https://img.shields.io/twitter/url/https/twitter.com/picocss.svg?style=social&label=Follow%20%40picocss)](https://twitter.com/picocss) +## Yohns Updated Version +I'm not sure if the original [Pico CSS](https://github.com/picocss/pico) repository is abandoned or not, but I really liked what they had to offer, and wanted to help not let this awesomely simple and easy to use front end framework disappear, so I merged as many of open pull requests that fixed some issues, and / or enhanced the project that were available at the time. I'll try to help keep it viable and do some bug fixes if any arise, and would alway appreciate anyone elses help to continue keeping this alive! + +You can see the new features I, and many others have created pull requests for by going to [Yohns Pico CSS](https://yohn.github.io/PicoCSS). This page just has the demos of most of the features I have merged, or added to the project. + ## Minimal CSS Framework for Semantic HTML A minimalist and lightweight starter kit that prioritizes semantic syntax, making every HTML element responsive and elegant by default. @@ -38,13 +43,22 @@ With just the right amount of everything, Pico is great starting point for a cle ## Table of contents -- [Quick start](#quick-start) -- [Class-less version](#class-less-version) -- [Limitations](#limitations) -- [Documentation](#documentation) -- [Browser Support](#browser-support) -- [Contributing](#contributing) -- [Copyright and license](#copyright-and-license) +1. [Yohns Updated Version](#yohns-updated-version) +2. [Minimal CSS Framework for Semantic HTML](#minimal-css-framework-for-semantic-html) +3. [What’s new in v2?](#whats-new-in-v2) +4. [A Superpowered HTML Reset](#a-superpowered-html-reset) +5. [Table of contents](#table-of-contents) +6. [Quick start](#quick-start) + 1. [Install manually](#install-manually) + 2. [Usage from CDN](#usage-from-cdn) + 3. [Install with NPM](#install-with-npm) + 4. [Starter HTML template](#starter-html-template) +7. [Class-less version](#class-less-version) +8. [Limitations](#limitations) +9. [Documentation](#documentation) +10. [Browser Support](#browser-support) +11. [Contributing](#contributing) +12. [Copyright and license](#copyright-and-license) ## Quick start @@ -63,20 +77,20 @@ There are 4 ways to get started with pico.css: Alternatively, you can use [jsDelivr CDN](https://www.jsdelivr.com/package/npm/@picocss/pico) to link pico.css. ```html - + ``` ### Install with NPM ```shell -npm install @picocss/pico +npm i @yohns/picocss ``` - + Then, import Pico into your SCSS file with [@use](https://sass-lang.com/documentation/at-rules/use): @@ -84,11 +98,11 @@ Then, import Pico into your SCSS file with [@use](https://sass-lang.com/document @use "pico"; ``` -### Install with Composer + ### Starter HTML template @@ -121,7 +135,7 @@ Use the default `.classless` version if you need centered viewports: ```html ``` @@ -130,7 +144,7 @@ Or use the `.fluid.classless` version if you need a fluid container: ```html ``` @@ -145,7 +159,7 @@ Then just write pure HTML, and it should look great: Hello, world! diff --git a/demo/Moved2Docs.txt b/demo/Moved2Docs.txt new file mode 100644 index 00000000..ab6f4cd0 --- /dev/null +++ b/demo/Moved2Docs.txt @@ -0,0 +1 @@ +Moved to the docs directory so I can put the updated features on github pages. \ No newline at end of file diff --git a/demo/img/aleksandar-jason-a562ZEFKW8I-unsplash-2000x1000.jpg b/demo/img/aleksandar-jason-a562ZEFKW8I-unsplash-2000x1000.jpg deleted file mode 100644 index 3263a312..00000000 Binary files a/demo/img/aleksandar-jason-a562ZEFKW8I-unsplash-2000x1000.jpg and /dev/null differ diff --git a/demo/index.html b/docs/index.html similarity index 91% rename from demo/index.html rename to docs/index.html index 9f1de194..5de18181 100644 --- a/demo/index.html +++ b/docs/index.html @@ -49,6 +49,12 @@
+
+

Yohns PicoCSS Fork

+

I've merged some open pull requests from the original Pico repository, and then added a few more enhancements that I either needed for a project (timeline) or wanted to make the building process of websites easier (:user-valid "validation", using <label> within groups, .row & .row-fluid and the .col-* classes like Bootstrap, .align-* and more.) The demo docs here is the main enhanced that have been added to the Pico CSS 2.0.6 branch, for more docs, refer to the original Pico CSS docs.

+

Some of the demos on this page do require Vanilla JavaScript Files to work the same as the preview here. I may get a build script going to compile the javascript plugins / components later. Let me know if this feature would help you.

+
If this fork has helped you, please Like this fork!
+
@@ -364,18 +370,18 @@ - + - + - + - + - + \ No newline at end of file diff --git a/demo/js/accordion.js b/docs/js/Accordion.js similarity index 100% rename from demo/js/accordion.js rename to docs/js/Accordion.js diff --git a/demo/js/FileValidator.js b/docs/js/FileValidator.js similarity index 100% rename from demo/js/FileValidator.js rename to docs/js/FileValidator.js diff --git a/demo/js/minimal-theme-switcher.js b/docs/js/MinimalThemeSwitcher.js similarity index 100% rename from demo/js/minimal-theme-switcher.js rename to docs/js/MinimalThemeSwitcher.js diff --git a/demo/js/modal.js b/docs/js/Modal.js similarity index 100% rename from demo/js/modal.js rename to docs/js/Modal.js diff --git a/demo/js/notifications.js b/docs/js/Notifications.js similarity index 100% rename from demo/js/notifications.js rename to docs/js/Notifications.js diff --git a/package.json b/package.json index f8741c23..f2d6728d 100644 --- a/package.json +++ b/package.json @@ -1,14 +1,23 @@ { - "name": "@picocss/pico", - "version": "2.0.6", - "description": "Minimal CSS Framework for semantic HTML", - "author": "Lucas Larroche", + "name": "@yohns/picocss", + "version": "2.1.0", + "description": "Minimal CSS Framework for semantic HTML, updated with enhanced capabilities.", + "authors": [ + { + "name": "Lucas Larroche", + "website": "https://github.com/picocss/pico" + }, + { + "name": "John Brittaines", + "website": "https://github.com/Yohn/PicoCSS" + } + ], "main": "css/pico.min.css", "homepage": "https://picocss.com", "license": "MIT", "repository": { "type": "git", - "url": "git+https://github.com/picocss/pico.git" + "url": "git+https://github.com/Yohn/PicoCSS.git" }, "publishConfig": { "tag": "next" @@ -27,7 +36,7 @@ "semantic" ], "bugs": { - "url": "https://github.com/picocss/pico/issues" + "url": "https://github.com/Yohn/PicoCSS/issues" }, "scripts": { "✨": "run-s build", @@ -45,13 +54,13 @@ "build:autoprefix": "postcss --config css --replace css/*.css !css/*.min.css", "build-dev:minify": "cleancss -O1 --with-rebase --batch --batch-suffix .min css/*.css !css/*.min.css", "build:minify": "cleancss -O1 --with-rebase --batch --batch-suffix .min css/*.css !css/*.min.css", - "prelint": "echo '[@picocss/pico] ✨ Lint'", - "prebuild:css": "echo '[@picocss/pico] ✨ Compile'", - "prebuild:themes": "echo '[@picocss/pico] ✨ Compile themes'", - "prebuild:autoprefix": "echo '[@picocss/pico] ✨ Autoprefix'", - "prebuild:minify": "echo '[@picocss/pico] ✨ Minify'", - "start": "echo '\\033[96m[@picocss/pico] ✨ Start\\033[0m'", - "done": "echo '\\033[32m[@picocss/pico] ✨ Done\\033[0m'" + "prelint": "echo '[@Yohn/PicoCSS] ✨ Lint'", + "prebuild:css": "echo '[@Yohn/PicoCSS] ✨ Compile'", + "prebuild:themes": "echo '[@Yohn/PicoCSS] ✨ Compile themes'", + "prebuild:autoprefix": "echo '[@Yohn/PicoCSS] ✨ Autoprefix'", + "prebuild:minify": "echo '[@Yohn/PicoCSS] ✨ Minify'", + "start": "echo '\\033[96m[@Yohn/PicoCSS] ✨ Start\\033[0m'", + "done": "echo '\\033[32m[@Yohn/PicoCSS] ✨ Done\\033[0m'" }, "devDependencies": { "autoprefixer": "^10.4",