tailwindcss/docs/config.php

17 lines
499 B
PHP
Raw Normal View History

2017-08-02 23:41:31 -04:00
<?php
return [
'baseUrl' => '',
'production' => false,
'collections' => [],
'config' => json_decode(file_get_contents(__DIR__ . '/tailwind.json'), true),
2017-10-09 16:25:15 -04:00
'colors' => ['red', 'orange', 'yellow', 'green', 'teal', 'blue', 'indigo', 'purple', 'pink'],
'active' => function ($page, $path) {
$pages = collect(array_wrap($page));
return $pages->contains(function ($page) use ($path) {
return str_contains($page->getPath(), $path);
});
2017-10-09 16:25:15 -04:00
}
2017-08-02 23:41:31 -04:00
];