Add a Compound hook. (#3979)

* Rename AppHooksProtocol.configure() to .setUp().

* Add a CompoundHook.
This commit is contained in:
Doug
2025-04-04 17:46:31 +01:00
committed by GitHub
parent a318c3918d
commit 806816be8a
5 changed files with 32 additions and 4 deletions
@@ -0,0 +1,16 @@
//
// Copyright 2025 New Vector Ltd.
//
// SPDX-License-Identifier: AGPL-3.0-only OR LicenseRef-Element-Commercial
// Please see LICENSE files in the repository root for full details.
//
import Compound
protocol CompoundHookProtocol {
func override(colors: CompoundColors, uiColors: CompoundUIColors)
}
struct DefaultCompoundHook: CompoundHookProtocol {
func override(colors: CompoundColors, uiColors: CompoundUIColors) { }
}