diff --git a/app/Config/Routes.php b/app/Config/Routes.php index 077a76aebc7c4a8bd128bdcd0bb4f24f1f9e1068..2ad119d64f8694b40d2c25953190f8de0f4876c3 100644 --- a/app/Config/Routes.php +++ b/app/Config/Routes.php @@ -51,8 +51,8 @@ $routes->addPlaceholder( $routes->get('manifest.webmanifest', 'WebmanifestController', [ 'as' => 'webmanifest', ]); -$routes->get('styles/themes.css', 'ColorsController', [ - 'as' => 'color-themes-css', +$routes->get('themes/colors', 'ColorsController', [ + 'as' => 'themes-colors-css', ]); // We get a performance increase by specifying the default diff --git a/app/Views/errors/html/error_404.php b/app/Views/errors/html/error_404.php index 13cd335791aed89250ff77a8b1b11e96ace9127c..96a7517b257715148b86db9492883e2c0b0230c7 100644 --- a/app/Views/errors/html/error_404.php +++ b/app/Views/errors/html/error_404.php @@ -5,7 +5,7 @@ <head> <meta charset="utf-8"> <title>404 Page Not Found</title> - <link rel='stylesheet' type='text/css' href='<?= route_to('color-themes-css') ?>' /> + <link rel='stylesheet' type='text/css' href='<?= route_to('themes-colors-css') ?>' /> <?= service('vite')->asset('styles/index.css', 'css') ?> </head> diff --git a/app/Views/errors/html/production.php b/app/Views/errors/html/production.php index f51eff00b79001cd16550df832edc711d83ca2cc..8df9690283919a435c07bab27852991eb1a8d79b 100644 --- a/app/Views/errors/html/production.php +++ b/app/Views/errors/html/production.php @@ -7,7 +7,7 @@ <meta name="robots" content="noindex"> <title>Whoops!</title> - <link rel='stylesheet' type='text/css' href='<?= route_to('color-themes-css') ?>' /> + <link rel='stylesheet' type='text/css' href='<?= route_to('themes-colors-css') ?>' /> <?= service('vite')->asset('styles/index.css', 'css') ?> </head> diff --git a/themes/cp_admin/_layout.php b/themes/cp_admin/_layout.php index d98d152f981ba6f352ad5e4c0c9be4af880e550f..621e46fec09278ecd25bdcfac7d5acb1eafb9f5d 100644 --- a/themes/cp_admin/_layout.php +++ b/themes/cp_admin/_layout.php @@ -14,7 +14,7 @@ <link rel="apple-touch-icon" href="<?= service('settings')->get('App.siteIcon')['180'] ?>"> <link rel="manifest" href="<?= route_to('webmanifest') ?>"> - <link rel='stylesheet' type='text/css' href='<?= route_to('color-themes-css') ?>' /> + <link rel='stylesheet' type='text/css' href='<?= route_to('themes-colors-css') ?>' /> <?= service('vite') ->asset('styles/index.css', 'css') ?> <?= service('vite') diff --git a/themes/cp_app/embed.php b/themes/cp_app/embed.php index 55b3da0dc81b5ae3ce8de1df06d755107c73160e..fcc375d2e296e868f402fd0c7cb03f1c5073052d 100644 --- a/themes/cp_app/embed.php +++ b/themes/cp_app/embed.php @@ -12,7 +12,7 @@ <link rel="icon" type="image/x-icon" href="<?= service('settings') ->get('App.siteIcon')['ico'] ?>" /> <link rel="apple-touch-icon" href="<?= service('settings')->get('App.siteIcon')['180'] ?>"> - <link rel='stylesheet' type='text/css' href='<?= route_to('color-themes-css') ?>' /> + <link rel='stylesheet' type='text/css' href='<?= route_to('themes-colors-css') ?>' /> <?= service('vite') ->asset('styles/index.css', 'css') ?> <?= service('vite') diff --git a/themes/cp_app/episode/_layout.php b/themes/cp_app/episode/_layout.php index b757aeca7001c2e7b6adb348bbabfda401e3b1f7..631082e61ede791a3f040efc5215dd01e1032346 100644 --- a/themes/cp_app/episode/_layout.php +++ b/themes/cp_app/episode/_layout.php @@ -24,7 +24,7 @@ <?= $metatags ?> - <link rel='stylesheet' type='text/css' href='<?= route_to('color-themes-css') ?>' /> + <link rel='stylesheet' type='text/css' href='<?= route_to('themes-colors-css') ?>' /> <?= service('vite') ->asset('styles/index.css', 'css') ?> <?= service('vite') diff --git a/themes/cp_app/home.php b/themes/cp_app/home.php index 0fd44330f94042ee5712c16fcf79d35b41dc1070..64f494c39d4da25242b9cec290cdcf934321d677 100644 --- a/themes/cp_app/home.php +++ b/themes/cp_app/home.php @@ -27,7 +27,7 @@ <?= $metatags ?> - <link rel='stylesheet' type='text/css' href='<?= route_to('color-themes-css') ?>' /> + <link rel='stylesheet' type='text/css' href='<?= route_to('themes-colors-css') ?>' /> <?= service('vite') ->asset('styles/index.css', 'css') ?> <?= service('vite') diff --git a/themes/cp_app/pages/_layout.php b/themes/cp_app/pages/_layout.php index 060cbc64b6910540cef3f1b2db712d0d98624fae..839f577f22781f2804a5c5218fcba2cf3020c79a 100644 --- a/themes/cp_app/pages/_layout.php +++ b/themes/cp_app/pages/_layout.php @@ -23,7 +23,7 @@ <?= $metatags ?> - <link rel='stylesheet' type='text/css' href='<?= route_to('color-themes-css') ?>' /> + <link rel='stylesheet' type='text/css' href='<?= route_to('themes-colors-css') ?>' /> <?= service('vite') ->asset('styles/index.css', 'css') ?> <?= service('vite') diff --git a/themes/cp_app/pages/map.php b/themes/cp_app/pages/map.php index a34980098e0f970d78f17c526ae6371942e709a3..83ebf4320d8fb5cd0bc0caae6e9e720b4e3c5775 100644 --- a/themes/cp_app/pages/map.php +++ b/themes/cp_app/pages/map.php @@ -26,7 +26,7 @@ } </script> - <link rel='stylesheet' type='text/css' href='<?= route_to('color-themes-css') ?>' /> + <link rel='stylesheet' type='text/css' href='<?= route_to('themes-colors-css') ?>' /> <?= service('vite') ->asset('styles/index.css', 'css') ?> <?= service('vite') diff --git a/themes/cp_app/podcast/_layout.php b/themes/cp_app/podcast/_layout.php index 5027d2110f06904d776d7e5a4be5585699c9928e..f14d3437ee525311bf96da257b9598e965cb4a49 100644 --- a/themes/cp_app/podcast/_layout.php +++ b/themes/cp_app/podcast/_layout.php @@ -24,7 +24,7 @@ <?= $metatags ?> - <link rel='stylesheet' type='text/css' href='<?= route_to('color-themes-css') ?>' /> + <link rel='stylesheet' type='text/css' href='<?= route_to('themes-colors-css') ?>' /> <?= service('vite') ->asset('styles/index.css', 'css') ?> <?= service('vite') diff --git a/themes/cp_app/podcast/follow.php b/themes/cp_app/podcast/follow.php index e17cbd90d20ea441db83f6390474cd0195e7d10a..71245c7cdac416d085358cfb96bde2ff8a799ac9 100644 --- a/themes/cp_app/podcast/follow.php +++ b/themes/cp_app/podcast/follow.php @@ -24,7 +24,7 @@ <?= $metatags ?> - <link rel='stylesheet' type='text/css' href='<?= route_to('color-themes-css') ?>' /> + <link rel='stylesheet' type='text/css' href='<?= route_to('themes-colors-css') ?>' /> <?= service('vite') ->asset('styles/index.css', 'css') ?> <?= service('vite') diff --git a/themes/cp_app/post/remote_action.php b/themes/cp_app/post/remote_action.php index 6103512d342d9c15a0b90674cf8cfc641fcd5eee..29e2e6a0941f01277b4404976e83a73891efe86c 100644 --- a/themes/cp_app/post/remote_action.php +++ b/themes/cp_app/post/remote_action.php @@ -22,7 +22,7 @@ <?= $metatags ?> - <link rel='stylesheet' type='text/css' href='<?= route_to('color-themes-css') ?>' /> + <link rel='stylesheet' type='text/css' href='<?= route_to('themes-colors-css') ?>' /> <?= service('vite') ->asset('styles/index.css', 'css') ?> <?= service('vite')