mirror of
https://github.com/tailwindlabs/tailwindcss.git
synced 2025-12-08 21:36:08 +00:00
17 lines
499 B
PHP
17 lines
499 B
PHP
<?php
|
|
|
|
return [
|
|
'baseUrl' => '',
|
|
'production' => false,
|
|
'collections' => [],
|
|
'config' => json_decode(file_get_contents(__DIR__ . '/tailwind.json'), true),
|
|
'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);
|
|
});
|
|
}
|
|
];
|