2017-08-02 23:41:31 -04:00
|
|
|
<?php
|
|
|
|
|
|
|
|
|
|
return [
|
|
|
|
|
'baseUrl' => '',
|
|
|
|
|
'production' => false,
|
|
|
|
|
'collections' => [],
|
2017-10-26 19:33:41 -04:00
|
|
|
'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) {
|
2017-10-30 13:26:32 -04:00
|
|
|
$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
|
|
|
];
|