backend.brand.getPalettePresets

Triggered in Backend\Models\BrandSetting\HasPalettes.

Add or remove backend branding palettes.

The format of the $presets variable can be found in Backend\Models\BrandSetting\HasPalettes::$presets

Example usage:

Event::listen('backend.brand.getPalettePresets', function(&$presets) {
    unset($presets['punch']);
});