jacksleight / lazy-logo
Requires
- statamic/cms: ^3.1
README
Lazy Logo
This Statamic addon automatically generates a control panel logo image based on the application name. Useful if you need a quick way to see which site you're editing at a glance. You can also configure the text and styles, allowing you to use different values in different environments for example.
Important: This addon uses Statamic's white labeling feature, which is Pro only. Therefore this addon will only work with the Pro edition.
Installation
Install the addon using Composer:
composer require jacksleight/lazy-logo
Set the custom_logo_url
in config/statamic/cp.php
to /!/lazy-logo.svg
:
'custom_logo_url' => env('STATAMIC_CUSTOM_LOGO_URL', '/!/lazy-logo.svg'),
That's it!
Configuration
By default the text will be the APP_NAME
environment variable, and it'll be styled to match the CP text. If you want to customise it you can publish and edit the config:
php please vendor:publish --tag=lazy-logo-config
Then open config/lazy-logo.php
and make your changes.