caffeinated / themes

:art: Laravel Themes package with support for the Caffeinated Modules package.

Home Page:https://caffeinatedpackages.com

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

[proposal] Current namespace

billmn opened this issue · comments

What about introduce a reserved keyword for @extends, @include, etc. that represents the current theme? So, after you rename the theme, you haven't to replace the name in all views.

An example with a theme named "caffeinated":

// Now
@extends('caffeinated::layout')
@include('caffeinated::layout')

// Proposal
@extends('current::layout')
@include('current::layout')