Move SemanticColorsLightDark to compound module
This commit is contained in:
@@ -0,0 +1,24 @@
|
||||
/*
|
||||
* 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.
|
||||
*/
|
||||
|
||||
package io.element.android.compound.colors
|
||||
|
||||
import io.element.android.compound.tokens.generated.SemanticColors
|
||||
import io.element.android.compound.tokens.generated.compoundColorsDark
|
||||
import io.element.android.compound.tokens.generated.compoundColorsLight
|
||||
|
||||
data class SemanticColorsLightDark(
|
||||
val light: SemanticColors,
|
||||
val dark: SemanticColors,
|
||||
) {
|
||||
companion object {
|
||||
val default = SemanticColorsLightDark(
|
||||
light = compoundColorsLight,
|
||||
dark = compoundColorsDark,
|
||||
)
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user