Skip to content

Commit 609b100

Browse files
Marco RomanoElementBot
Marco Romano
and
ElementBot
authored
Fix wrong CompoundColors mapping (#1692)
* Fix wrong CompoundColors mapping Fixes element-hq/compound#262 * Update screenshots --------- Co-authored-by: ElementBot <[email protected]>
1 parent 356a321 commit 609b100

File tree

88 files changed

+176
-176
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

88 files changed

+176
-176
lines changed

libraries/theme/src/main/kotlin/io/element/android/libraries/theme/compound/CompoundColors.kt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ internal val compoundColorsLight = SemanticColors(
3434
textOnSolidPrimary = LightDesignTokens.colorThemeBg,
3535
bgSubtlePrimary = LightDesignTokens.colorGray400,
3636
bgSubtleSecondary = LightDesignTokens.colorBgSubtleSecondaryLevel0,
37-
bgCanvasDefault = LightDesignTokens.colorBgCanvasDefaultLevel1,
37+
bgCanvasDefault = LightDesignTokens.colorThemeBg,
3838
bgCanvasDisabled = LightDesignTokens.colorGray200,
3939
bgActionPrimaryRest = LightDesignTokens.colorGray1400,
4040
bgActionPrimaryHovered = LightDesignTokens.colorGray1200,
@@ -91,7 +91,7 @@ internal val compoundColorsDark = SemanticColors(
9191
bgSubtlePrimary = DarkDesignTokens.colorGray400,
9292
// The value DarkDesignTokens.colorBgSubtleSecondaryLevel0 is defined to colorThemeBg, this is not correct, so override the value here until this is fixed,
9393
bgSubtleSecondary = DarkDesignTokens.colorGray300, // DarkDesignTokens.colorBgSubtleSecondaryLevel0
94-
bgCanvasDefault = DarkDesignTokens.colorBgCanvasDefaultLevel1,
94+
bgCanvasDefault = DarkDesignTokens.colorThemeBg,
9595
bgCanvasDisabled = DarkDesignTokens.colorGray200,
9696
bgActionPrimaryRest = DarkDesignTokens.colorGray1400,
9797
bgActionPrimaryHovered = DarkDesignTokens.colorGray1200,
Lines changed: 2 additions & 2 deletions
Lines changed: 2 additions & 2 deletions
Lines changed: 2 additions & 2 deletions

0 commit comments

Comments
 (0)