From 7381698696c97f23a34569f3867c076aadf15f22 Mon Sep 17 00:00:00 2001 From: Jonathan Reinink Date: Wed, 2 Aug 2017 23:41:31 -0400 Subject: [PATCH 1/8] Rough in skeleton documentation site. --- docs/.gitignore | 4 + docs/bootstrap.php | 4 + docs/composer.json | 5 + docs/composer.lock | 1165 +++++++++++++++++++++++++ docs/config.php | 7 + docs/gulpfile.js | 15 + docs/package.json | 10 + docs/source/_assets/less/main.less | 39 + docs/source/_assets/less/prism.less | 142 +++ docs/source/_layouts/master.blade.php | 44 + docs/source/backgrounds.blade.php | 73 ++ docs/source/borders.blade.php | 7 + docs/source/constrain.blade.php | 7 + docs/source/display.blade.php | 7 + docs/source/flex.blade.php | 7 + docs/source/grid.blade.php | 7 + docs/source/images.blade.php | 7 + docs/source/index.blade.php | 9 + docs/source/installation.blade.php | 11 + docs/source/js/prism.js | 8 + docs/source/position.blade.php | 7 + docs/source/principles.blade.php | 7 + docs/source/spacing.blade.php | 7 + docs/source/text.blade.php | 7 + docs/source/z-index.blade.php | 7 + docs/tasks/bin.js | 18 + 26 files changed, 1631 insertions(+) create mode 100644 docs/.gitignore create mode 100644 docs/bootstrap.php create mode 100644 docs/composer.json create mode 100644 docs/composer.lock create mode 100644 docs/config.php create mode 100644 docs/gulpfile.js create mode 100644 docs/package.json create mode 100644 docs/source/_assets/less/main.less create mode 100644 docs/source/_assets/less/prism.less create mode 100644 docs/source/_layouts/master.blade.php create mode 100644 docs/source/backgrounds.blade.php create mode 100644 docs/source/borders.blade.php create mode 100644 docs/source/constrain.blade.php create mode 100644 docs/source/display.blade.php create mode 100644 docs/source/flex.blade.php create mode 100644 docs/source/grid.blade.php create mode 100644 docs/source/images.blade.php create mode 100644 docs/source/index.blade.php create mode 100644 docs/source/installation.blade.php create mode 100644 docs/source/js/prism.js create mode 100644 docs/source/position.blade.php create mode 100644 docs/source/principles.blade.php create mode 100644 docs/source/spacing.blade.php create mode 100644 docs/source/text.blade.php create mode 100644 docs/source/z-index.blade.php create mode 100644 docs/tasks/bin.js diff --git a/docs/.gitignore b/docs/.gitignore new file mode 100644 index 000000000..6358a50ee --- /dev/null +++ b/docs/.gitignore @@ -0,0 +1,4 @@ +/build_local/ +/node_modules/ +/vendor/ +/source/css/ diff --git a/docs/bootstrap.php b/docs/bootstrap.php new file mode 100644 index 000000000..7fb8d5127 --- /dev/null +++ b/docs/bootstrap.php @@ -0,0 +1,4 @@ +=5.3.0" + }, + "type": "library", + "autoload": { + "psr-0": { + "Parsedown": "" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Emanuil Rusev", + "email": "hello@erusev.com", + "homepage": "http://erusev.com" + } + ], + "description": "Parser for Markdown.", + "homepage": "http://parsedown.org", + "keywords": [ + "markdown", + "parser" + ], + "time": "2017-05-14 14:47:48" + }, + { + "name": "hamcrest/hamcrest-php", + "version": "v1.2.2", + "source": { + "type": "git", + "url": "https://github.com/hamcrest/hamcrest-php.git", + "reference": "b37020aa976fa52d3de9aa904aa2522dc518f79c" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/hamcrest/hamcrest-php/zipball/b37020aa976fa52d3de9aa904aa2522dc518f79c", + "reference": "b37020aa976fa52d3de9aa904aa2522dc518f79c", + "shasum": "" + }, + "require": { + "php": ">=5.3.2" + }, + "replace": { + "cordoval/hamcrest-php": "*", + "davedevelopment/hamcrest-php": "*", + "kodova/hamcrest-php": "*" + }, + "require-dev": { + "phpunit/php-file-iterator": "1.3.3", + "satooshi/php-coveralls": "dev-master" + }, + "type": "library", + "autoload": { + "classmap": [ + "hamcrest" + ], + "files": [ + "hamcrest/Hamcrest.php" + ] + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "BSD" + ], + "description": "This is the PHP port of Hamcrest Matchers", + "keywords": [ + "test" + ], + "time": "2015-05-11 14:41:42" + }, + { + "name": "illuminate/container", + "version": "v5.4.27", + "source": { + "type": "git", + "url": "https://github.com/illuminate/container.git", + "reference": "c5b8a02a34a52c307f16922334c355c5eef725a6" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/illuminate/container/zipball/c5b8a02a34a52c307f16922334c355c5eef725a6", + "reference": "c5b8a02a34a52c307f16922334c355c5eef725a6", + "shasum": "" + }, + "require": { + "illuminate/contracts": "5.4.*", + "php": ">=5.6.4" + }, + "type": "library", + "extra": { + "branch-alias": { + "dev-master": "5.4-dev" + } + }, + "autoload": { + "psr-4": { + "Illuminate\\Container\\": "" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Taylor Otwell", + "email": "taylor@laravel.com" + } + ], + "description": "The Illuminate Container package.", + "homepage": "https://laravel.com", + "time": "2017-05-24 14:15:53" + }, + { + "name": "illuminate/contracts", + "version": "v5.4.27", + "source": { + "type": "git", + "url": "https://github.com/illuminate/contracts.git", + "reference": "31f0193eb14aa3ee07841dc254081425616e79f0" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/illuminate/contracts/zipball/31f0193eb14aa3ee07841dc254081425616e79f0", + "reference": "31f0193eb14aa3ee07841dc254081425616e79f0", + "shasum": "" + }, + "require": { + "php": ">=5.6.4" + }, + "type": "library", + "extra": { + "branch-alias": { + "dev-master": "5.4-dev" + } + }, + "autoload": { + "psr-4": { + "Illuminate\\Contracts\\": "" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Taylor Otwell", + "email": "taylor@laravel.com" + } + ], + "description": "The Illuminate Contracts package.", + "homepage": "https://laravel.com", + "time": "2017-04-19 20:17:43" + }, + { + "name": "illuminate/events", + "version": "v5.4.27", + "source": { + "type": "git", + "url": "https://github.com/illuminate/events.git", + "reference": "ebdca3b0305e9fc954afb9e422c4559482cd11e6" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/illuminate/events/zipball/ebdca3b0305e9fc954afb9e422c4559482cd11e6", + "reference": "ebdca3b0305e9fc954afb9e422c4559482cd11e6", + "shasum": "" + }, + "require": { + "illuminate/container": "5.4.*", + "illuminate/contracts": "5.4.*", + "illuminate/support": "5.4.*", + "php": ">=5.6.4" + }, + "type": "library", + "extra": { + "branch-alias": { + "dev-master": "5.4-dev" + } + }, + "autoload": { + "psr-4": { + "Illuminate\\Events\\": "" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Taylor Otwell", + "email": "taylor@laravel.com" + } + ], + "description": "The Illuminate Events package.", + "homepage": "https://laravel.com", + "time": "2017-05-02 12:57:00" + }, + { + "name": "illuminate/filesystem", + "version": "v5.4.27", + "source": { + "type": "git", + "url": "https://github.com/illuminate/filesystem.git", + "reference": "e0ee832f625fbfadb816a972655b1a66af1a5bda" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/illuminate/filesystem/zipball/e0ee832f625fbfadb816a972655b1a66af1a5bda", + "reference": "e0ee832f625fbfadb816a972655b1a66af1a5bda", + "shasum": "" + }, + "require": { + "illuminate/contracts": "5.4.*", + "illuminate/support": "5.4.*", + "php": ">=5.6.4", + "symfony/finder": "~3.2" + }, + "suggest": { + "league/flysystem": "Required to use the Flysystem local and FTP drivers (~1.0).", + "league/flysystem-aws-s3-v3": "Required to use the Flysystem S3 driver (~1.0).", + "league/flysystem-rackspace": "Required to use the Flysystem Rackspace driver (~1.0)." + }, + "type": "library", + "extra": { + "branch-alias": { + "dev-master": "5.4-dev" + } + }, + "autoload": { + "psr-4": { + "Illuminate\\Filesystem\\": "" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Taylor Otwell", + "email": "taylor@laravel.com" + } + ], + "description": "The Illuminate Filesystem package.", + "homepage": "https://laravel.com", + "time": "2017-05-18 14:37:58" + }, + { + "name": "illuminate/support", + "version": "v5.4.27", + "source": { + "type": "git", + "url": "https://github.com/illuminate/support.git", + "reference": "a42393b56d0ec75f55e760f2a47bcf85a17a278d" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/illuminate/support/zipball/a42393b56d0ec75f55e760f2a47bcf85a17a278d", + "reference": "a42393b56d0ec75f55e760f2a47bcf85a17a278d", + "shasum": "" + }, + "require": { + "doctrine/inflector": "~1.0", + "ext-mbstring": "*", + "illuminate/contracts": "5.4.*", + "paragonie/random_compat": "~1.4|~2.0", + "php": ">=5.6.4" + }, + "replace": { + "tightenco/collect": "self.version" + }, + "suggest": { + "illuminate/filesystem": "Required to use the composer class (5.2.*).", + "symfony/process": "Required to use the composer class (~3.2).", + "symfony/var-dumper": "Required to use the dd function (~3.2)." + }, + "type": "library", + "extra": { + "branch-alias": { + "dev-master": "5.4-dev" + } + }, + "autoload": { + "psr-4": { + "Illuminate\\Support\\": "" + }, + "files": [ + "helpers.php" + ] + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Taylor Otwell", + "email": "taylor@laravel.com" + } + ], + "description": "The Illuminate Support package.", + "homepage": "https://laravel.com", + "time": "2017-06-15 12:35:32" + }, + { + "name": "illuminate/view", + "version": "v5.4.27", + "source": { + "type": "git", + "url": "https://github.com/illuminate/view.git", + "reference": "423652ea1c4c4c2f6494bd6b8cfb6eb943c5ba75" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/illuminate/view/zipball/423652ea1c4c4c2f6494bd6b8cfb6eb943c5ba75", + "reference": "423652ea1c4c4c2f6494bd6b8cfb6eb943c5ba75", + "shasum": "" + }, + "require": { + "illuminate/container": "5.4.*", + "illuminate/contracts": "5.4.*", + "illuminate/events": "5.4.*", + "illuminate/filesystem": "5.4.*", + "illuminate/support": "5.4.*", + "php": ">=5.6.4", + "symfony/debug": "~3.2" + }, + "type": "library", + "extra": { + "branch-alias": { + "dev-master": "5.4-dev" + } + }, + "autoload": { + "psr-4": { + "Illuminate\\View\\": "" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Taylor Otwell", + "email": "taylor@laravel.com" + } + ], + "description": "The Illuminate View package.", + "homepage": "https://laravel.com", + "time": "2017-06-07 13:32:57" + }, + { + "name": "mnapoli/front-yaml", + "version": "1.5.2", + "source": { + "type": "git", + "url": "https://github.com/mnapoli/FrontYAML.git", + "reference": "f10c1dfee1604d15c2b0ab6826eecc1111d65543" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/mnapoli/FrontYAML/zipball/f10c1dfee1604d15c2b0ab6826eecc1111d65543", + "reference": "f10c1dfee1604d15c2b0ab6826eecc1111d65543", + "shasum": "" + }, + "require": { + "erusev/parsedown": "~1.0", + "symfony/yaml": "~2.1|^3.0" + }, + "require-dev": { + "league/commonmark": "~0.7", + "phpunit/phpunit": "~4.5" + }, + "type": "library", + "autoload": { + "psr-4": { + "Mni\\FrontYAML\\": "src/" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "time": "2016-10-01 11:06:51" + }, + { + "name": "mnapoli/silly", + "version": "1.5.1", + "source": { + "type": "git", + "url": "https://github.com/mnapoli/silly.git", + "reference": "807df4a844972ac74d07518c3a0aa9cb575b470b" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/mnapoli/silly/zipball/807df4a844972ac74d07518c3a0aa9cb575b470b", + "reference": "807df4a844972ac74d07518c3a0aa9cb575b470b", + "shasum": "" + }, + "require": { + "container-interop/container-interop": "~1.0", + "php": ">=5.5", + "php-di/invoker": "~1.2", + "symfony/console": "~2.6|~3.0" + }, + "require-dev": { + "mnapoli/phpunit-easymock": "~0.1.0", + "phpunit/phpunit": "~4.5" + }, + "type": "library", + "autoload": { + "psr-4": { + "Silly\\": "src/" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "description": "Silly CLI micro-framework based on Symfony Console", + "keywords": [ + "cli", + "console", + "framework", + "micro-framework", + "silly" + ], + "time": "2016-09-16 11:44:03" + }, + { + "name": "mockery/mockery", + "version": "0.9.9", + "source": { + "type": "git", + "url": "https://github.com/mockery/mockery.git", + "reference": "6fdb61243844dc924071d3404bb23994ea0b6856" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/mockery/mockery/zipball/6fdb61243844dc924071d3404bb23994ea0b6856", + "reference": "6fdb61243844dc924071d3404bb23994ea0b6856", + "shasum": "" + }, + "require": { + "hamcrest/hamcrest-php": "~1.1", + "lib-pcre": ">=7.0", + "php": ">=5.3.2" + }, + "require-dev": { + "phpunit/phpunit": "~4.0" + }, + "type": "library", + "extra": { + "branch-alias": { + "dev-master": "0.9.x-dev" + } + }, + "autoload": { + "psr-0": { + "Mockery": "library/" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "BSD-3-Clause" + ], + "authors": [ + { + "name": "Pádraic Brady", + "email": "padraic.brady@gmail.com", + "homepage": "http://blog.astrumfutura.com" + }, + { + "name": "Dave Marshall", + "email": "dave.marshall@atstsolutions.co.uk", + "homepage": "http://davedevelopment.co.uk" + } + ], + "description": "Mockery is a simple yet flexible PHP mock object framework for use in unit testing with PHPUnit, PHPSpec or any other testing framework. Its core goal is to offer a test double framework with a succinct API capable of clearly defining all possible object operations and interactions using a human readable Domain Specific Language (DSL). Designed as a drop in alternative to PHPUnit's phpunit-mock-objects library, Mockery is easy to integrate with PHPUnit and can operate alongside phpunit-mock-objects without the World ending.", + "homepage": "http://github.com/padraic/mockery", + "keywords": [ + "BDD", + "TDD", + "library", + "mock", + "mock objects", + "mockery", + "stub", + "test", + "test double", + "testing" + ], + "time": "2017-02-28 12:52:32" + }, + { + "name": "paragonie/random_compat", + "version": "v2.0.10", + "source": { + "type": "git", + "url": "https://github.com/paragonie/random_compat.git", + "reference": "634bae8e911eefa89c1abfbf1b66da679ac8f54d" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/paragonie/random_compat/zipball/634bae8e911eefa89c1abfbf1b66da679ac8f54d", + "reference": "634bae8e911eefa89c1abfbf1b66da679ac8f54d", + "shasum": "" + }, + "require": { + "php": ">=5.2.0" + }, + "require-dev": { + "phpunit/phpunit": "4.*|5.*" + }, + "suggest": { + "ext-libsodium": "Provides a modern crypto API that can be used to generate random bytes." + }, + "type": "library", + "autoload": { + "files": [ + "lib/random.php" + ] + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Paragon Initiative Enterprises", + "email": "security@paragonie.com", + "homepage": "https://paragonie.com" + } + ], + "description": "PHP 5.x polyfill for random_bytes() and random_int() from PHP 7", + "keywords": [ + "csprng", + "pseudorandom", + "random" + ], + "time": "2017-03-13 16:27:32" + }, + { + "name": "php-di/invoker", + "version": "1.3.3", + "source": { + "type": "git", + "url": "https://github.com/PHP-DI/Invoker.git", + "reference": "1f4ca63b9abc66109e53b255e465d0ddb5c2e3f7" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/PHP-DI/Invoker/zipball/1f4ca63b9abc66109e53b255e465d0ddb5c2e3f7", + "reference": "1f4ca63b9abc66109e53b255e465d0ddb5c2e3f7", + "shasum": "" + }, + "require": { + "container-interop/container-interop": "~1.1" + }, + "require-dev": { + "athletic/athletic": "~0.1.8", + "phpunit/phpunit": "~4.5" + }, + "type": "library", + "autoload": { + "psr-4": { + "Invoker\\": "src/" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "description": "Generic and extensible callable invoker", + "homepage": "https://github.com/PHP-DI/Invoker", + "keywords": [ + "callable", + "dependency", + "dependency-injection", + "injection", + "invoke", + "invoker" + ], + "time": "2016-07-14 13:09:58" + }, + { + "name": "psr/container", + "version": "1.0.0", + "source": { + "type": "git", + "url": "https://github.com/php-fig/container.git", + "reference": "b7ce3b176482dbbc1245ebf52b181af44c2cf55f" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/php-fig/container/zipball/b7ce3b176482dbbc1245ebf52b181af44c2cf55f", + "reference": "b7ce3b176482dbbc1245ebf52b181af44c2cf55f", + "shasum": "" + }, + "require": { + "php": ">=5.3.0" + }, + "type": "library", + "extra": { + "branch-alias": { + "dev-master": "1.0.x-dev" + } + }, + "autoload": { + "psr-4": { + "Psr\\Container\\": "src/" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "PHP-FIG", + "homepage": "http://www.php-fig.org/" + } + ], + "description": "Common Container Interface (PHP FIG PSR-11)", + "homepage": "https://github.com/php-fig/container", + "keywords": [ + "PSR-11", + "container", + "container-interface", + "container-interop", + "psr" + ], + "time": "2017-02-14 16:28:37" + }, + { + "name": "psr/log", + "version": "1.0.2", + "source": { + "type": "git", + "url": "https://github.com/php-fig/log.git", + "reference": "4ebe3a8bf773a19edfe0a84b6585ba3d401b724d" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/php-fig/log/zipball/4ebe3a8bf773a19edfe0a84b6585ba3d401b724d", + "reference": "4ebe3a8bf773a19edfe0a84b6585ba3d401b724d", + "shasum": "" + }, + "require": { + "php": ">=5.3.0" + }, + "type": "library", + "extra": { + "branch-alias": { + "dev-master": "1.0.x-dev" + } + }, + "autoload": { + "psr-4": { + "Psr\\Log\\": "Psr/Log/" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "PHP-FIG", + "homepage": "http://www.php-fig.org/" + } + ], + "description": "Common interface for logging libraries", + "homepage": "https://github.com/php-fig/log", + "keywords": [ + "log", + "psr", + "psr-3" + ], + "time": "2016-10-10 12:19:37" + }, + { + "name": "symfony/console", + "version": "v3.3.6", + "source": { + "type": "git", + "url": "https://github.com/symfony/console.git", + "reference": "b0878233cb5c4391347e5495089c7af11b8e6201" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/symfony/console/zipball/b0878233cb5c4391347e5495089c7af11b8e6201", + "reference": "b0878233cb5c4391347e5495089c7af11b8e6201", + "shasum": "" + }, + "require": { + "php": ">=5.5.9", + "symfony/debug": "~2.8|~3.0", + "symfony/polyfill-mbstring": "~1.0" + }, + "conflict": { + "symfony/dependency-injection": "<3.3" + }, + "require-dev": { + "psr/log": "~1.0", + "symfony/config": "~3.3", + "symfony/dependency-injection": "~3.3", + "symfony/event-dispatcher": "~2.8|~3.0", + "symfony/filesystem": "~2.8|~3.0", + "symfony/http-kernel": "~2.8|~3.0", + "symfony/process": "~2.8|~3.0" + }, + "suggest": { + "psr/log": "For using the console logger", + "symfony/event-dispatcher": "", + "symfony/filesystem": "", + "symfony/process": "" + }, + "type": "library", + "extra": { + "branch-alias": { + "dev-master": "3.3-dev" + } + }, + "autoload": { + "psr-4": { + "Symfony\\Component\\Console\\": "" + }, + "exclude-from-classmap": [ + "/Tests/" + ] + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Fabien Potencier", + "email": "fabien@symfony.com" + }, + { + "name": "Symfony Community", + "homepage": "https://symfony.com/contributors" + } + ], + "description": "Symfony Console Component", + "homepage": "https://symfony.com", + "time": "2017-07-29 21:27:59" + }, + { + "name": "symfony/debug", + "version": "v3.3.6", + "source": { + "type": "git", + "url": "https://github.com/symfony/debug.git", + "reference": "7c13ae8ce1e2adbbd574fc39de7be498e1284e13" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/symfony/debug/zipball/7c13ae8ce1e2adbbd574fc39de7be498e1284e13", + "reference": "7c13ae8ce1e2adbbd574fc39de7be498e1284e13", + "shasum": "" + }, + "require": { + "php": ">=5.5.9", + "psr/log": "~1.0" + }, + "conflict": { + "symfony/http-kernel": ">=2.3,<2.3.24|~2.4.0|>=2.5,<2.5.9|>=2.6,<2.6.2" + }, + "require-dev": { + "symfony/http-kernel": "~2.8|~3.0" + }, + "type": "library", + "extra": { + "branch-alias": { + "dev-master": "3.3-dev" + } + }, + "autoload": { + "psr-4": { + "Symfony\\Component\\Debug\\": "" + }, + "exclude-from-classmap": [ + "/Tests/" + ] + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Fabien Potencier", + "email": "fabien@symfony.com" + }, + { + "name": "Symfony Community", + "homepage": "https://symfony.com/contributors" + } + ], + "description": "Symfony Debug Component", + "homepage": "https://symfony.com", + "time": "2017-07-28 15:27:31" + }, + { + "name": "symfony/finder", + "version": "v3.3.6", + "source": { + "type": "git", + "url": "https://github.com/symfony/finder.git", + "reference": "baea7f66d30854ad32988c11a09d7ffd485810c4" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/symfony/finder/zipball/baea7f66d30854ad32988c11a09d7ffd485810c4", + "reference": "baea7f66d30854ad32988c11a09d7ffd485810c4", + "shasum": "" + }, + "require": { + "php": ">=5.5.9" + }, + "type": "library", + "extra": { + "branch-alias": { + "dev-master": "3.3-dev" + } + }, + "autoload": { + "psr-4": { + "Symfony\\Component\\Finder\\": "" + }, + "exclude-from-classmap": [ + "/Tests/" + ] + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Fabien Potencier", + "email": "fabien@symfony.com" + }, + { + "name": "Symfony Community", + "homepage": "https://symfony.com/contributors" + } + ], + "description": "Symfony Finder Component", + "homepage": "https://symfony.com", + "time": "2017-06-01 21:01:25" + }, + { + "name": "symfony/polyfill-mbstring", + "version": "v1.4.0", + "source": { + "type": "git", + "url": "https://github.com/symfony/polyfill-mbstring.git", + "reference": "f29dca382a6485c3cbe6379f0c61230167681937" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/symfony/polyfill-mbstring/zipball/f29dca382a6485c3cbe6379f0c61230167681937", + "reference": "f29dca382a6485c3cbe6379f0c61230167681937", + "shasum": "" + }, + "require": { + "php": ">=5.3.3" + }, + "suggest": { + "ext-mbstring": "For best performance" + }, + "type": "library", + "extra": { + "branch-alias": { + "dev-master": "1.4-dev" + } + }, + "autoload": { + "psr-4": { + "Symfony\\Polyfill\\Mbstring\\": "" + }, + "files": [ + "bootstrap.php" + ] + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Nicolas Grekas", + "email": "p@tchwork.com" + }, + { + "name": "Symfony Community", + "homepage": "https://symfony.com/contributors" + } + ], + "description": "Symfony polyfill for the Mbstring extension", + "homepage": "https://symfony.com", + "keywords": [ + "compatibility", + "mbstring", + "polyfill", + "portable", + "shim" + ], + "time": "2017-06-09 14:24:12" + }, + { + "name": "symfony/yaml", + "version": "v3.3.6", + "source": { + "type": "git", + "url": "https://github.com/symfony/yaml.git", + "reference": "ddc23324e6cfe066f3dd34a37ff494fa80b617ed" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/symfony/yaml/zipball/ddc23324e6cfe066f3dd34a37ff494fa80b617ed", + "reference": "ddc23324e6cfe066f3dd34a37ff494fa80b617ed", + "shasum": "" + }, + "require": { + "php": ">=5.5.9" + }, + "require-dev": { + "symfony/console": "~2.8|~3.0" + }, + "suggest": { + "symfony/console": "For validating YAML files using the lint command" + }, + "type": "library", + "extra": { + "branch-alias": { + "dev-master": "3.3-dev" + } + }, + "autoload": { + "psr-4": { + "Symfony\\Component\\Yaml\\": "" + }, + "exclude-from-classmap": [ + "/Tests/" + ] + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Fabien Potencier", + "email": "fabien@symfony.com" + }, + { + "name": "Symfony Community", + "homepage": "https://symfony.com/contributors" + } + ], + "description": "Symfony Yaml Component", + "homepage": "https://symfony.com", + "time": "2017-07-23 12:43:26" + }, + { + "name": "tightenco/jigsaw", + "version": "v1.0.6", + "source": { + "type": "git", + "url": "https://github.com/tightenco/jigsaw.git", + "reference": "3dd714a0d21bc99ee4721b58b4ed2de6c67835e3" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/tightenco/jigsaw/zipball/3dd714a0d21bc99ee4721b58b4ed2de6c67835e3", + "reference": "3dd714a0d21bc99ee4721b58b4ed2de6c67835e3", + "shasum": "" + }, + "require": { + "illuminate/container": "^5.4", + "illuminate/support": "^5.4", + "illuminate/view": "^5.4", + "mnapoli/front-yaml": "^1.5", + "mnapoli/silly": "1.3 - 1.5", + "mockery/mockery": "^0.9.4", + "symfony/console": "^2.5|^3.0" + }, + "require-dev": { + "phpunit/phpunit": "^5.1" + }, + "bin": [ + "jigsaw" + ], + "type": "library", + "autoload": { + "psr-4": { + "TightenCo\\Jigsaw\\": "src" + }, + "files": [ + "src/Support/helpers.php" + ] + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Adam Wathan", + "email": "adam.wathan@gmail.com" + } + ], + "description": "Simple static sites with Laravel's Blade.", + "keywords": [ + "blade", + "generator", + "laravel", + "site", + "static" + ], + "time": "2017-08-01 13:16:57" + } + ], + "packages-dev": [], + "aliases": [], + "minimum-stability": "stable", + "stability-flags": [], + "prefer-stable": false, + "prefer-lowest": false, + "platform": [], + "platform-dev": [] +} diff --git a/docs/config.php b/docs/config.php new file mode 100644 index 000000000..69478b647 --- /dev/null +++ b/docs/config.php @@ -0,0 +1,7 @@ + '', + 'production' => false, + 'collections' => [], +]; diff --git a/docs/gulpfile.js b/docs/gulpfile.js new file mode 100644 index 000000000..f32987dc0 --- /dev/null +++ b/docs/gulpfile.js @@ -0,0 +1,15 @@ +var gulp = require('gulp'); +var elixir = require('laravel-elixir'); +var argv = require('yargs').argv; +var bin = require('./tasks/bin'); + +elixir.config.assetsPath = 'source/_assets'; +elixir.config.publicPath = 'source'; + +elixir(function(mix) { + var env = argv.e || argv.env || 'local'; + + mix.less('main.less') + .exec(bin.path() + ' build ' + env, ['./source/*', './source/**/*', '!./source/_assets/**/*']); +}); + diff --git a/docs/package.json b/docs/package.json new file mode 100644 index 000000000..3e97efce6 --- /dev/null +++ b/docs/package.json @@ -0,0 +1,10 @@ +{ + "private": true, + "devDependencies": { + "gulp": "^3.8.8", + "hasbin": "^1.2.3", + "laravel-elixir": "^6.0.0-15", + "yargs": "^4.6.0", + "tailwindcss": "git+ssh://git@github.com/adamwathan/tailwindcss.git" + } +} diff --git a/docs/source/_assets/less/main.less b/docs/source/_assets/less/main.less new file mode 100644 index 000000000..09dcb5ef5 --- /dev/null +++ b/docs/source/_assets/less/main.less @@ -0,0 +1,39 @@ +@import "../../../node_modules/tailwindcss/src/reset"; +@import "../../../node_modules/tailwindcss/src/utilities"; +@import "prism"; + +a { + color: inherit; + text-decoration: none; +} + +.define-text-color('primary'; + default #3498DB, + 'light' lighten(#3498DB, 25%), + 'dark' #2980B9 +;); + +.define-bg-color('primary'; + default #3498db, + 'light' #a0cfee, + 'dark' #2980b9 +;); + +.title { + .mb-4; + .leading-none; + .text-dark-softer; + .text-thin; + .text-2xl; + .text-primary; +} + +.subtitle { + .mt-8; + .mb-6; + .leading-none; + .text-dark-softer; + .text-thin; + .text-xl; + .text-primary; +} diff --git a/docs/source/_assets/less/prism.less b/docs/source/_assets/less/prism.less new file mode 100644 index 000000000..3d923535a --- /dev/null +++ b/docs/source/_assets/less/prism.less @@ -0,0 +1,142 @@ +/* http://prismjs.com/download.html?themes=prism&languages=markup+css+clike+javascript+less */ +/** + * prism.js default theme for JavaScript, CSS and HTML + * Based on dabblet (http://dabblet.com) + * @author Lea Verou + */ + +code[class*="language-"], +pre[class*="language-"] { + color: black; + background: none; + text-shadow: 0 1px white; + text-align: left; + white-space: pre; + word-spacing: normal; + word-break: normal; + word-wrap: normal; + line-height: 1.4; + + -moz-tab-size: 4; + -o-tab-size: 4; + tab-size: 4; + + -webkit-hyphens: none; + -moz-hyphens: none; + -ms-hyphens: none; + hyphens: none; + + font-size: (13rem / 16rem); +} + +pre[class*="language-"]::-moz-selection, pre[class*="language-"] ::-moz-selection, +code[class*="language-"]::-moz-selection, code[class*="language-"] ::-moz-selection { + text-shadow: none; + background: #b3d4fc; +} + +pre[class*="language-"]::selection, pre[class*="language-"] ::selection, +code[class*="language-"]::selection, code[class*="language-"] ::selection { + text-shadow: none; + background: #b3d4fc; +} + +@media print { + code[class*="language-"], + pre[class*="language-"] { + text-shadow: none; + } +} + +/* Code blocks */ +pre[class*="language-"] { + padding: 0.75em 1em; + margin: .5em 0; + overflow: auto; +} + +:not(pre) > code[class*="language-"], +pre[class*="language-"] { + // background: #f5f2f0; + .border; + .rounded; +} + +/* Inline code */ +:not(pre) > code[class*="language-"] { + padding: .1em; + border-radius: .3em; + white-space: normal; +} + +.token.comment, +.token.prolog, +.token.doctype, +.token.cdata { + color: slategray; +} + +.token.punctuation { + color: #999; +} + +.namespace { + opacity: .7; +} + +.token.property, +.token.tag, +.token.boolean, +.token.number, +.token.constant, +.token.symbol, +.token.deleted { + color: #905; +} + +.token.selector, +.token.attr-name, +.token.string, +.token.char, +.token.builtin, +.token.inserted { + color: #690; +} + +.token.operator, +.token.entity, +.token.url, +.language-css .token.string, +.style .token.string { + color: #a67f59; + background: hsla(0, 0%, 100%, .5); +} + +.token.atrule, +.token.attr-value, +.token.keyword { + color: #07a; +} + +.token.function { + color: #DD4A68; +} + +.token.regex, +.token.important, +.token.variable { + color: #e90; +} + +.token.important, +.token.bold { + font-weight: bold; +} +.token.italic { + font-style: italic; +} + +.token.entity { + cursor: help; +} + diff --git a/docs/source/_layouts/master.blade.php b/docs/source/_layouts/master.blade.php new file mode 100644 index 000000000..a5c5e96bb --- /dev/null +++ b/docs/source/_layouts/master.blade.php @@ -0,0 +1,44 @@ + + + + + + + {{ isset($title) ? $title . ' - Tailwind CSS' : 'Tailwind CSS' }} + + + + +
+
Tailwind CSS
+
A utility-first CSS framework for rapid UI development
+
+
+ +
+ @yield('body') +
+
+ + diff --git a/docs/source/backgrounds.blade.php b/docs/source/backgrounds.blade.php new file mode 100644 index 000000000..01866d8cc --- /dev/null +++ b/docs/source/backgrounds.blade.php @@ -0,0 +1,73 @@ +@extends('_layouts.master', ['title' => 'Backgrounds']) + +@section('body') + +

Backgrounds

+ +

Using the utilities in HTML:

+ +
{{ '
+
+
+
+ +
+
+
+
+ + +
' }}
+ +

Using the utilities in Less:

+ +
div {
+  .bg-light;
+  .bg-light-soft;
+  .bg-light-softer;
+  .bg-light-softest;
+
+  .bg-dark;
+  .bg-dark-soft;
+  .bg-dark-softer;
+  .bg-dark-softest;
+
+  // Responsive example
+  .screen(lg, {
+      .bg-light;
+  });
+}
+ +

Custom backgrounds

+ +

Generate custom background utilities:

+ +
.define-text-color('primary';
+  default #3498db,
+  'light' #a0cfee,
+  'dark'  #2980b9
+;);
+ +

Using custom background utilities in HTML:

+ +
{{ '
+
+
+ + +
' }}
+ +

Using custom background utilities in Less:

+ +
div {
+  .bg-primary;
+  .bg-primary-light;
+  .bg-primary-dark;
+
+  // Responsive example
+  .screen(lg, {
+      .bg-primary;
+  });
+}
+ +@endsection diff --git a/docs/source/borders.blade.php b/docs/source/borders.blade.php new file mode 100644 index 000000000..d0e8fc8ff --- /dev/null +++ b/docs/source/borders.blade.php @@ -0,0 +1,7 @@ +@extends('_layouts.master', ['title' => 'Borders']) + +@section('body') + +

Borders

+ +@endsection diff --git a/docs/source/constrain.blade.php b/docs/source/constrain.blade.php new file mode 100644 index 000000000..32c342eef --- /dev/null +++ b/docs/source/constrain.blade.php @@ -0,0 +1,7 @@ +@extends('_layouts.master', ['title' => 'Constrain']) + +@section('body') + +

Constrain

+ +@endsection diff --git a/docs/source/display.blade.php b/docs/source/display.blade.php new file mode 100644 index 000000000..6275b547e --- /dev/null +++ b/docs/source/display.blade.php @@ -0,0 +1,7 @@ +@extends('_layouts.master', ['title' => 'Display']) + +@section('body') + +

Display

+ +@endsection diff --git a/docs/source/flex.blade.php b/docs/source/flex.blade.php new file mode 100644 index 000000000..ba848b6ec --- /dev/null +++ b/docs/source/flex.blade.php @@ -0,0 +1,7 @@ +@extends('_layouts.master', ['title' => 'Flex']) + +@section('body') + +

Flex

+ +@endsection diff --git a/docs/source/grid.blade.php b/docs/source/grid.blade.php new file mode 100644 index 000000000..f6fe3a4d1 --- /dev/null +++ b/docs/source/grid.blade.php @@ -0,0 +1,7 @@ +@extends('_layouts.master', ['title' => 'Grid']) + +@section('body') + +

Grid

+ +@endsection diff --git a/docs/source/images.blade.php b/docs/source/images.blade.php new file mode 100644 index 000000000..9fb64898b --- /dev/null +++ b/docs/source/images.blade.php @@ -0,0 +1,7 @@ +@extends('_layouts.master', ['title' => 'Images']) + +@section('body') + +

Images

+ +@endsection diff --git a/docs/source/index.blade.php b/docs/source/index.blade.php new file mode 100644 index 000000000..659e64e17 --- /dev/null +++ b/docs/source/index.blade.php @@ -0,0 +1,9 @@ +@extends('_layouts.master') + +@section('body') + +

Welcome

+ +

Welcome to Tailwind CSS! Tailwind is a utility-first CSS framework designed for rapid UI development. Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat.

+ +@endsection diff --git a/docs/source/installation.blade.php b/docs/source/installation.blade.php new file mode 100644 index 000000000..f8eb0601d --- /dev/null +++ b/docs/source/installation.blade.php @@ -0,0 +1,11 @@ +@extends('_layouts.master', ['title' => 'Installation']) + +@section('body') + +

Installation

+ +

Install Tailwind using NPM:

+ +
npm install tailwindcss
+ +@endsection diff --git a/docs/source/js/prism.js b/docs/source/js/prism.js new file mode 100644 index 000000000..9c80cd285 --- /dev/null +++ b/docs/source/js/prism.js @@ -0,0 +1,8 @@ +/* http://prismjs.com/download.html?themes=prism&languages=markup+css+clike+javascript+bash+less */ +var _self="undefined"!=typeof window?window:"undefined"!=typeof WorkerGlobalScope&&self instanceof WorkerGlobalScope?self:{},Prism=function(){var e=/\blang(?:uage)?-(\w+)\b/i,t=0,n=_self.Prism={manual:_self.Prism&&_self.Prism.manual,util:{encode:function(e){return e instanceof a?new a(e.type,n.util.encode(e.content),e.alias):"Array"===n.util.type(e)?e.map(n.util.encode):e.replace(/&/g,"&").replace(/e.length)return;if(!(w instanceof s)){h.lastIndex=0;var _=h.exec(w),P=1;if(!_&&m&&b!=t.length-1){if(h.lastIndex=k,_=h.exec(e),!_)break;for(var A=_.index+(d?_[1].length:0),j=_.index+_[0].length,x=b,O=k,S=t.length;S>x&&(j>O||!t[x].type&&!t[x-1].greedy);++x)O+=t[x].length,A>=O&&(++b,k=O);if(t[b]instanceof s||t[x-1].greedy)continue;P=x-b,w=e.slice(k,O),_.index-=k}if(_){d&&(p=_[1].length);var A=_.index+p,_=_[0].slice(p),j=A+_.length,N=w.slice(0,A),C=w.slice(j),E=[b,P];N&&(++b,k+=N.length,E.push(N));var L=new s(u,f?n.tokenize(_,f):_,y,_,m);if(E.push(L),C&&E.push(C),Array.prototype.splice.apply(t,E),1!=P&&n.matchGrammar(e,t,a,b,k,!0,u),l)break}else if(l)break}}}}},tokenize:function(e,t){var a=[e],r=t.rest;if(r){for(var i in r)t[i]=r[i];delete t.rest}return n.matchGrammar(e,a,t,0,0,!1),a},hooks:{all:{},add:function(e,t){var a=n.hooks.all;a[e]=a[e]||[],a[e].push(t)},run:function(e,t){var a=n.hooks.all[e];if(a&&a.length)for(var r,i=0;r=a[i++];)r(t)}}},a=n.Token=function(e,t,n,a,r){this.type=e,this.content=t,this.alias=n,this.length=0|(a||"").length,this.greedy=!!r};if(a.stringify=function(e,t,r){if("string"==typeof e)return e;if("Array"===n.util.type(e))return e.map(function(n){return a.stringify(n,t,e)}).join("");var i={type:e.type,content:a.stringify(e.content,t,r),tag:"span",classes:["token",e.type],attributes:{},language:t,parent:r};if("comment"==i.type&&(i.attributes.spellcheck="true"),e.alias){var l="Array"===n.util.type(e.alias)?e.alias:[e.alias];Array.prototype.push.apply(i.classes,l)}n.hooks.run("wrap",i);var o=Object.keys(i.attributes).map(function(e){return e+'="'+(i.attributes[e]||"").replace(/"/g,""")+'"'}).join(" ");return"<"+i.tag+' class="'+i.classes.join(" ")+'"'+(o?" "+o:"")+">"+i.content+""},!_self.document)return _self.addEventListener?(_self.addEventListener("message",function(e){var t=JSON.parse(e.data),a=t.language,r=t.code,i=t.immediateClose;_self.postMessage(n.highlight(r,n.languages[a],a)),i&&_self.close()},!1),_self.Prism):_self.Prism;var r=document.currentScript||[].slice.call(document.getElementsByTagName("script")).pop();return r&&(n.filename=r.src,!document.addEventListener||n.manual||r.hasAttribute("data-manual")||("loading"!==document.readyState?window.requestAnimationFrame?window.requestAnimationFrame(n.highlightAll):window.setTimeout(n.highlightAll,16):document.addEventListener("DOMContentLoaded",n.highlightAll))),_self.Prism}();"undefined"!=typeof module&&module.exports&&(module.exports=Prism),"undefined"!=typeof global&&(global.Prism=Prism); +Prism.languages.markup={comment://,prolog:/<\?[\s\S]+?\?>/,doctype://i,cdata://i,tag:{pattern:/<\/?(?!\d)[^\s>\/=$<]+(?:\s+[^\s>\/=]+(?:=(?:("|')(?:\\\1|\\?(?!\1)[\s\S])*\1|[^\s'">=]+))?)*\s*\/?>/i,inside:{tag:{pattern:/^<\/?[^\s>\/]+/i,inside:{punctuation:/^<\/?/,namespace:/^[^\s>\/:]+:/}},"attr-value":{pattern:/=(?:('|")[\s\S]*?(\1)|[^\s>]+)/i,inside:{punctuation:/[=>"']/}},punctuation:/\/?>/,"attr-name":{pattern:/[^\s>\/]+/,inside:{namespace:/^[^\s>\/:]+:/}}}},entity:/&#?[\da-z]{1,8};/i},Prism.languages.markup.tag.inside["attr-value"].inside.entity=Prism.languages.markup.entity,Prism.hooks.add("wrap",function(a){"entity"===a.type&&(a.attributes.title=a.content.replace(/&/,"&"))}),Prism.languages.xml=Prism.languages.markup,Prism.languages.html=Prism.languages.markup,Prism.languages.mathml=Prism.languages.markup,Prism.languages.svg=Prism.languages.markup; +Prism.languages.css={comment:/\/\*[\s\S]*?\*\//,atrule:{pattern:/@[\w-]+?.*?(;|(?=\s*\{))/i,inside:{rule:/@[\w-]+/}},url:/url\((?:(["'])(\\(?:\r\n|[\s\S])|(?!\1)[^\\\r\n])*\1|.*?)\)/i,selector:/[^\{\}\s][^\{\};]*?(?=\s*\{)/,string:{pattern:/("|')(\\(?:\r\n|[\s\S])|(?!\1)[^\\\r\n])*\1/,greedy:!0},property:/(\b|\B)[\w-]+(?=\s*:)/i,important:/\B!important\b/i,"function":/[-a-z0-9]+(?=\()/i,punctuation:/[(){};:]/},Prism.languages.css.atrule.inside.rest=Prism.util.clone(Prism.languages.css),Prism.languages.markup&&(Prism.languages.insertBefore("markup","tag",{style:{pattern:/()[\s\S]*?(?=<\/style>)/i,lookbehind:!0,inside:Prism.languages.css,alias:"language-css"}}),Prism.languages.insertBefore("inside","attr-value",{"style-attr":{pattern:/\s*style=("|').*?\1/i,inside:{"attr-name":{pattern:/^\s*style/i,inside:Prism.languages.markup.tag.inside},punctuation:/^\s*=\s*['"]|['"]\s*$/,"attr-value":{pattern:/.+/i,inside:Prism.languages.css}},alias:"language-css"}},Prism.languages.markup.tag)); +Prism.languages.clike={comment:[{pattern:/(^|[^\\])\/\*[\s\S]*?\*\//,lookbehind:!0},{pattern:/(^|[^\\:])\/\/.*/,lookbehind:!0}],string:{pattern:/(["'])(\\(?:\r\n|[\s\S])|(?!\1)[^\\\r\n])*\1/,greedy:!0},"class-name":{pattern:/((?:\b(?:class|interface|extends|implements|trait|instanceof|new)\s+)|(?:catch\s+\())[a-z0-9_\.\\]+/i,lookbehind:!0,inside:{punctuation:/(\.|\\)/}},keyword:/\b(if|else|while|do|for|return|in|instanceof|function|new|try|throw|catch|finally|null|break|continue)\b/,"boolean":/\b(true|false)\b/,"function":/[a-z0-9_]+(?=\()/i,number:/\b-?(?:0x[\da-f]+|\d*\.?\d+(?:e[+-]?\d+)?)\b/i,operator:/--?|\+\+?|!=?=?|<=?|>=?|==?=?|&&?|\|\|?|\?|\*|\/|~|\^|%/,punctuation:/[{}[\];(),.:]/}; +Prism.languages.javascript=Prism.languages.extend("clike",{keyword:/\b(as|async|await|break|case|catch|class|const|continue|debugger|default|delete|do|else|enum|export|extends|finally|for|from|function|get|if|implements|import|in|instanceof|interface|let|new|null|of|package|private|protected|public|return|set|static|super|switch|this|throw|try|typeof|var|void|while|with|yield)\b/,number:/\b-?(0[xX][\dA-Fa-f]+|0[bB][01]+|0[oO][0-7]+|\d*\.?\d+([Ee][+-]?\d+)?|NaN|Infinity)\b/,"function":/[_$a-zA-Z\xA0-\uFFFF][_$a-zA-Z0-9\xA0-\uFFFF]*(?=\()/i,operator:/-[-=]?|\+[+=]?|!=?=?|<>?>?=?|=(?:==?|>)?|&[&=]?|\|[|=]?|\*\*?=?|\/=?|~|\^=?|%=?|\?|\.{3}/}),Prism.languages.insertBefore("javascript","keyword",{regex:{pattern:/(^|[^\/])\/(?!\/)(\[[^\]\r\n]+]|\\.|[^\/\\\[\r\n])+\/[gimyu]{0,5}(?=\s*($|[\r\n,.;})]))/,lookbehind:!0,greedy:!0}}),Prism.languages.insertBefore("javascript","string",{"template-string":{pattern:/`(?:\\\\|\\?[^\\])*?`/,greedy:!0,inside:{interpolation:{pattern:/\$\{[^}]+\}/,inside:{"interpolation-punctuation":{pattern:/^\$\{|\}$/,alias:"punctuation"},rest:Prism.languages.javascript}},string:/[\s\S]+/}}}),Prism.languages.markup&&Prism.languages.insertBefore("markup","tag",{script:{pattern:/()[\s\S]*?(?=<\/script>)/i,lookbehind:!0,inside:Prism.languages.javascript,alias:"language-javascript"}}),Prism.languages.js=Prism.languages.javascript; +!function(e){var t={variable:[{pattern:/\$?\(\([\s\S]+?\)\)/,inside:{variable:[{pattern:/(^\$\(\([\s\S]+)\)\)/,lookbehind:!0},/^\$\(\(/],number:/\b-?(?:0x[\dA-Fa-f]+|\d*\.?\d+(?:[Ee]-?\d+)?)\b/,operator:/--?|-=|\+\+?|\+=|!=?|~|\*\*?|\*=|\/=?|%=?|<<=?|>>=?|<=?|>=?|==?|&&?|&=|\^=?|\|\|?|\|=|\?|:/,punctuation:/\(\(?|\)\)?|,|;/}},{pattern:/\$\([^)]+\)|`[^`]+`/,inside:{variable:/^\$\(|^`|\)$|`$/}},/\$(?:[a-z0-9_#\?\*!@]+|\{[^}]+\})/i]};e.languages.bash={shebang:{pattern:/^#!\s*\/bin\/bash|^#!\s*\/bin\/sh/,alias:"important"},comment:{pattern:/(^|[^"{\\])#.*/,lookbehind:!0},string:[{pattern:/((?:^|[^<])<<\s*)(?:"|')?(\w+?)(?:"|')?\s*\r?\n(?:[\s\S])*?\r?\n\2/g,lookbehind:!0,greedy:!0,inside:t},{pattern:/(["'])(?:\\\\|\\?[^\\])*?\1/g,greedy:!0,inside:t}],variable:t.variable,"function":{pattern:/(^|\s|;|\||&)(?:alias|apropos|apt-get|aptitude|aspell|awk|basename|bash|bc|bg|builtin|bzip2|cal|cat|cd|cfdisk|chgrp|chmod|chown|chroot|chkconfig|cksum|clear|cmp|comm|command|cp|cron|crontab|csplit|cut|date|dc|dd|ddrescue|df|diff|diff3|dig|dir|dircolors|dirname|dirs|dmesg|du|egrep|eject|enable|env|ethtool|eval|exec|expand|expect|export|expr|fdformat|fdisk|fg|fgrep|file|find|fmt|fold|format|free|fsck|ftp|fuser|gawk|getopts|git|grep|groupadd|groupdel|groupmod|groups|gzip|hash|head|help|hg|history|hostname|htop|iconv|id|ifconfig|ifdown|ifup|import|install|jobs|join|kill|killall|less|link|ln|locate|logname|logout|look|lpc|lpr|lprint|lprintd|lprintq|lprm|ls|lsof|make|man|mkdir|mkfifo|mkisofs|mknod|more|most|mount|mtools|mtr|mv|mmv|nano|netstat|nice|nl|nohup|notify-send|npm|nslookup|open|op|passwd|paste|pathchk|ping|pkill|popd|pr|printcap|printenv|printf|ps|pushd|pv|pwd|quota|quotacheck|quotactl|ram|rar|rcp|read|readarray|readonly|reboot|rename|renice|remsync|rev|rm|rmdir|rsync|screen|scp|sdiff|sed|seq|service|sftp|shift|shopt|shutdown|sleep|slocate|sort|source|split|ssh|stat|strace|su|sudo|sum|suspend|sync|tail|tar|tee|test|time|timeout|times|touch|top|traceroute|trap|tr|tsort|tty|type|ulimit|umask|umount|unalias|uname|unexpand|uniq|units|unrar|unshar|uptime|useradd|userdel|usermod|users|uuencode|uudecode|v|vdir|vi|vmstat|wait|watch|wc|wget|whereis|which|who|whoami|write|xargs|xdg-open|yes|zip)(?=$|\s|;|\||&)/,lookbehind:!0},keyword:{pattern:/(^|\s|;|\||&)(?:let|:|\.|if|then|else|elif|fi|for|break|continue|while|in|case|function|select|do|done|until|echo|exit|return|set|declare)(?=$|\s|;|\||&)/,lookbehind:!0},"boolean":{pattern:/(^|\s|;|\||&)(?:true|false)(?=$|\s|;|\||&)/,lookbehind:!0},operator:/&&?|\|\|?|==?|!=?|<<>|<=?|>=?|=~/,punctuation:/\$?\(\(?|\)\)?|\.\.|[{}[\];]/};var a=t.variable[1].inside;a["function"]=e.languages.bash["function"],a.keyword=e.languages.bash.keyword,a.boolean=e.languages.bash.boolean,a.operator=e.languages.bash.operator,a.punctuation=e.languages.bash.punctuation}(Prism); +Prism.languages.less=Prism.languages.extend("css",{comment:[/\/\*[\s\S]*?\*\//,{pattern:/(^|[^\\])\/\/.*/,lookbehind:!0}],atrule:{pattern:/@[\w-]+?(?:\([^{}]+\)|[^(){};])*?(?=\s*\{)/i,inside:{punctuation:/[:()]/}},selector:{pattern:/(?:@\{[\w-]+\}|[^{};\s@])(?:@\{[\w-]+\}|\([^{}]*\)|[^{};@])*?(?=\s*\{)/,inside:{variable:/@+[\w-]+/}},property:/(?:@\{[\w-]+\}|[\w-])+(?:\+_?)?(?=\s*:)/i,punctuation:/[{}();:,]/,operator:/[+\-*\/]/}),Prism.languages.insertBefore("less","punctuation",{"function":Prism.languages.less.function}),Prism.languages.insertBefore("less","property",{variable:[{pattern:/@[\w-]+\s*:/,inside:{punctuation:/:/}},/@@?[\w-]+/],"mixin-usage":{pattern:/([{;]\s*)[.#](?!\d)[\w-]+.*?(?=[(;])/,lookbehind:!0,alias:"function"}}); diff --git a/docs/source/position.blade.php b/docs/source/position.blade.php new file mode 100644 index 000000000..41df464f8 --- /dev/null +++ b/docs/source/position.blade.php @@ -0,0 +1,7 @@ +@extends('_layouts.master', ['title' => 'Position']) + +@section('body') + +

Position

+ +@endsection diff --git a/docs/source/principles.blade.php b/docs/source/principles.blade.php new file mode 100644 index 000000000..8e9eb3bc5 --- /dev/null +++ b/docs/source/principles.blade.php @@ -0,0 +1,7 @@ +@extends('_layouts.master', ['title' => 'Principles']) + +@section('body') + +

Principles

+ +@endsection diff --git a/docs/source/spacing.blade.php b/docs/source/spacing.blade.php new file mode 100644 index 000000000..6180c866d --- /dev/null +++ b/docs/source/spacing.blade.php @@ -0,0 +1,7 @@ +@extends('_layouts.master', ['title' => 'Spacing']) + +@section('body') + +

Spacing

+ +@endsection diff --git a/docs/source/text.blade.php b/docs/source/text.blade.php new file mode 100644 index 000000000..6a1a50416 --- /dev/null +++ b/docs/source/text.blade.php @@ -0,0 +1,7 @@ +@extends('_layouts.master', ['title' => 'Text']) + +@section('body') + +

Text

+ +@endsection diff --git a/docs/source/z-index.blade.php b/docs/source/z-index.blade.php new file mode 100644 index 000000000..765e4772b --- /dev/null +++ b/docs/source/z-index.blade.php @@ -0,0 +1,7 @@ +@extends('_layouts.master', ['title' => 'Z-Index']) + +@section('body') + +

Z-Index

+ +@endsection diff --git a/docs/tasks/bin.js b/docs/tasks/bin.js new file mode 100644 index 000000000..e6b1d4ca7 --- /dev/null +++ b/docs/tasks/bin.js @@ -0,0 +1,18 @@ +var hasbin = require('hasbin'); +var fs = require('fs'); + +module.exports = { + path: function() { + if (fs.existsSync('./vendor/bin/jigsaw')) { + return '"./vendor/bin/jigsaw"' + } + + if (hasbin.sync('jigsaw')) { + return 'jigsaw'; + } + + console.log('Could not find Jigsaw; please install it via Composer, either locally or globally.'); + + process.exit(); + } +}; From a48bd9c22c655ce4a3e81eb5fb040db748c44af7 Mon Sep 17 00:00:00 2001 From: Jonathan Reinink Date: Thu, 3 Aug 2017 00:03:21 -0400 Subject: [PATCH 2/8] Add constrain documentation. --- docs/source/constrain.blade.php | 47 +++++++++++++++++++++++++++++++++ 1 file changed, 47 insertions(+) diff --git a/docs/source/constrain.blade.php b/docs/source/constrain.blade.php index 32c342eef..7048b16e9 100644 --- a/docs/source/constrain.blade.php +++ b/docs/source/constrain.blade.php @@ -4,4 +4,51 @@

Constrain

+

The constrain utilities are simply max-width helpers designed to constrain content to a desired width.

+ +

Using the utilities in HTML:

+ +
{{ '
Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod +tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, +quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo +consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse +cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non +proident, sunt in culpa qui officia deserunt mollit anim id est laborum.
+ + +
Lorem ipsum dolor...
' }}
+ +

Using the utilities in Less:

+ +
div {
+  .constrain-xs;
+  .constrain-sm;
+  .constrain-md;
+  .constrain-lg;
+  .constrain-xl;
+  .constrain-2xl;
+  .constrain-3xl;
+  .constrain-4xl;
+  .constrain-5xl;
+
+  // Responsive example
+  .screen(md, {
+      .constrain-xl;
+  });
+}
+ +

Customization

+ +

Tailwind exposes the following variables to allow modification of the constrain utilities.

+ +
@constrain-xs:  20rem;
+@constrain-sm:  30rem;
+@constrain-md:  40rem;
+@constrain-lg:  50rem;
+@constrain-xl:  60rem;
+@constrain-2xl: 70rem;
+@constrain-3xl: 80rem;
+@constrain-4xl: 90rem;
+@constrain-5xl: 100rem;
+ @endsection From dd480cf56aebe7bf121216041bbfd4d32fa1ad28 Mon Sep 17 00:00:00 2001 From: Jonathan Reinink Date: Thu, 3 Aug 2017 07:59:40 -0400 Subject: [PATCH 3/8] Add position documentation. --- docs/source/position.blade.php | 38 ++++++++++++++++++++++++++++++++++ 1 file changed, 38 insertions(+) diff --git a/docs/source/position.blade.php b/docs/source/position.blade.php index 41df464f8..d607b1237 100644 --- a/docs/source/position.blade.php +++ b/docs/source/position.blade.php @@ -4,4 +4,42 @@

Position

+

The position utilities are primarily position display property helpers.

+ +

Using the utilities in HTML:

+ +
{{ '
+
+
' }}
+ +

Using the utilities in Less:

+ +
div {
+  .fixed;
+  .absolute;
+  .relative;
+}
+ +

Pinning absolute content

+ +

Tailwind also provides pin utilties, useful for "pinning" absolutely positioned elements using the top, right, bottom and left properties.

+ +

Using the utilities in HTML:

+ +
{{ '
+
+
' }}
+ +

Using the utilities in Less:

+ +
div {
+  .pin-t
+  .pin-r
+  .pin-b
+  .pin-l
+  .pin-y
+  .pin-x
+  .pin
+}
+ @endsection From 48e61a07f786ea4dc22ba6ee20e83129758544ed Mon Sep 17 00:00:00 2001 From: Jonathan Reinink Date: Thu, 3 Aug 2017 08:15:08 -0400 Subject: [PATCH 4/8] Add active state to menu. --- docs/source/_layouts/master.blade.php | 30 +++++++++++++-------------- 1 file changed, 15 insertions(+), 15 deletions(-) diff --git a/docs/source/_layouts/master.blade.php b/docs/source/_layouts/master.blade.php index a5c5e96bb..0d623fab1 100644 --- a/docs/source/_layouts/master.blade.php +++ b/docs/source/_layouts/master.blade.php @@ -14,26 +14,26 @@
A utility-first CSS framework for rapid UI development
-