src/Theme/Theme.php
private function findPath($directory)
    {
        $path = [];
        $path[] = $this->basePath;
        $path[] = $directory;
        $path[] = 'views';

        return implode(DIRECTORY_SEPARATOR, $path);
    }
private function findPath($directory)
    {
        $path = [];
        $path[] = $this->basePath;
        $path[] = $directory;
        $path[] = 'views';

        return implode(DIRECTORY_SEPARATOR, $path);
    }
Find theme views path

@param $directory
@return string